Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- assets/KM_48690-0002-u.jpg +3 -0
- assets/error_1.png +3 -0
- assets/error_2.png +3 -0
- assets/error_3.png +3 -0
- assets/error_4.png +3 -0
- assets/error_5.png +3 -0
- assets/error_all.png +3 -0
- assets/error_example_1.png +3 -0
- assets/error_example_2.png +3 -0
- assets/error_example_3.png +3 -0
- assets/error_example_4.png +3 -0
- assets/error_example_5.png +3 -0
- assets/error_example_6.png +3 -0
- assets/flow_chart.png +3 -0
- assets/flow_chart_v2.png +3 -0
- assets/flow_chart_v3.png +3 -0
- assets/flow_chart_v4.png +3 -0
- assets/flow_chart_v5.png +3 -0
- assets/flow_chart_v6.png +3 -0
- assets/flow_chart_v7.png +3 -0
- assets/kallini-etal-impossible-paper.bbl +341 -0
- assets/kallini-etal-impossible-paper.tex +948 -0
- assets/loss_graph.png +3 -0
- assets/畫圖.pptx +3 -0
- assets/畫圖_v1.pptx +3 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
assets/畫圖.pptx filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
assets/畫圖_v1.pptx filter=lfs diff=lfs merge=lfs -text
|
assets/KM_48690-0002-u.jpg
ADDED
|
Git LFS Details
|
assets/error_1.png
ADDED
|
Git LFS Details
|
assets/error_2.png
ADDED
|
Git LFS Details
|
assets/error_3.png
ADDED
|
Git LFS Details
|
assets/error_4.png
ADDED
|
Git LFS Details
|
assets/error_5.png
ADDED
|
Git LFS Details
|
assets/error_all.png
ADDED
|
Git LFS Details
|
assets/error_example_1.png
ADDED
|
Git LFS Details
|
assets/error_example_2.png
ADDED
|
Git LFS Details
|
assets/error_example_3.png
ADDED
|
Git LFS Details
|
assets/error_example_4.png
ADDED
|
Git LFS Details
|
assets/error_example_5.png
ADDED
|
Git LFS Details
|
assets/error_example_6.png
ADDED
|
Git LFS Details
|
assets/flow_chart.png
ADDED
|
Git LFS Details
|
assets/flow_chart_v2.png
ADDED
|
Git LFS Details
|
assets/flow_chart_v3.png
ADDED
|
Git LFS Details
|
assets/flow_chart_v4.png
ADDED
|
Git LFS Details
|
assets/flow_chart_v5.png
ADDED
|
Git LFS Details
|
assets/flow_chart_v6.png
ADDED
|
Git LFS Details
|
assets/flow_chart_v7.png
ADDED
|
Git LFS Details
|
assets/kallini-etal-impossible-paper.bbl
ADDED
|
@@ -0,0 +1,341 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{thebibliography}{69}
|
| 2 |
+
\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi
|
| 3 |
+
|
| 4 |
+
\bibitem[{Abdou et~al.(2022)Abdou, Ravishankar, Kulmizev, and S{\o}gaard}]{abdou-etal-2022-word}
|
| 5 |
+
Mostafa Abdou, Vinit Ravishankar, Artur Kulmizev, and Anders S{\o}gaard. 2022.
|
| 6 |
+
\newblock \href {https://doi.org/10.18653/v1/2022.acl-long.476} {Word order does matter and shuffled language models know it}.
|
| 7 |
+
\newblock In \emph{Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)}, pages 6907--6919, Dublin, Ireland. Association for Computational Linguistics.
|
| 8 |
+
|
| 9 |
+
\bibitem[{Alleman et~al.(2021)Alleman, Mamou, A~Del~Rio, Tang, Kim, and Chung}]{alleman-etal-2021-syntactic}
|
| 10 |
+
Matteo Alleman, Jonathan Mamou, Miguel A~Del~Rio, Hanlin Tang, Yoon Kim, and SueYeon Chung. 2021.
|
| 11 |
+
\newblock \href {https://doi.org/10.18653/v1/2021.repl4nlp-1.27} {Syntactic perturbations reveal representational correlates of hierarchical phrase structure in pretrained language models}.
|
| 12 |
+
\newblock In \emph{Proceedings of the 6th Workshop on Representation Learning for NLP (RepL4NLP-2021)}, pages 263--276, Online. Association for Computational Linguistics.
|
| 13 |
+
|
| 14 |
+
\bibitem[{Bolhuis et~al.(2024)Bolhuis, Crain, Fong, and Moro}]{Bolhuis2024}
|
| 15 |
+
Johan~J. Bolhuis, Stephen Crain, Sandiway Fong, and Andrea Moro. 2024.
|
| 16 |
+
\newblock \href {https://doi.org/10.1038/d41586-024-00824-z} {Three reasons why {AI} doesn't model human language}.
|
| 17 |
+
\newblock \emph{Nature}, 627(8004):489–489.
|
| 18 |
+
|
| 19 |
+
\bibitem[{Chomsky(1956)}]{chomsky1956models}
|
| 20 |
+
Noam Chomsky. 1956.
|
| 21 |
+
\newblock \href {https://doi.org/10.1109/TIT.1956.1056813} {Three models for the description of language}.
|
| 22 |
+
\newblock \emph{IRE Transactions on Information Theory}, 2(3):113--124.
|
| 23 |
+
|
| 24 |
+
\bibitem[{Chomsky(1957)}]{chomsky1957syntactic}
|
| 25 |
+
Noam Chomsky. 1957.
|
| 26 |
+
\newblock \href {https://doi.org/doi:10.1515/9783112316009} {\emph{Syntactic Structures}}.
|
| 27 |
+
\newblock De Gruyter Mouton, Berlin, Boston.
|
| 28 |
+
|
| 29 |
+
\bibitem[{Chomsky(1959)}]{chomsky1959certain}
|
| 30 |
+
Noam Chomsky. 1959.
|
| 31 |
+
\newblock \href {https://doi.org/https://doi.org/10.1016/S0019-9958(59)90362-6} {On certain formal properties of grammars}.
|
| 32 |
+
\newblock \emph{Information and Control}, 2(2):137--167.
|
| 33 |
+
|
| 34 |
+
\bibitem[{Chomsky(1965)}]{chomsky1965aspects}
|
| 35 |
+
Noam Chomsky. 1965.
|
| 36 |
+
\newblock \emph{Aspects of the Theory of Syntax}.
|
| 37 |
+
\newblock The MIT Press.
|
| 38 |
+
|
| 39 |
+
\bibitem[{Chomsky(2002)}]{chomsky2002nature}
|
| 40 |
+
Noam Chomsky. 2002.
|
| 41 |
+
\newblock \href {https://doi.org/10.1017/CBO9780511613876} {\emph{On Nature and Language}}.
|
| 42 |
+
\newblock Cambridge University Press.
|
| 43 |
+
|
| 44 |
+
\bibitem[{Chomsky(2023)}]{chomsky2023cowen}
|
| 45 |
+
Noam Chomsky. 2023.
|
| 46 |
+
\newblock \href {https://conversationswithtyler.com/episodes/noam-chomsky/} {Conversations with {Tyler}: {Noam} {Chomsky}}.
|
| 47 |
+
\newblock Conversations with {Tyler} Podcast.
|
| 48 |
+
|
| 49 |
+
\bibitem[{Chomsky et~al.(2023)Chomsky, Roberts, and Watumull}]{chomsky2023nyt}
|
| 50 |
+
Noam Chomsky, Ian Roberts, and Jeffrey Watumull. 2023.
|
| 51 |
+
\newblock \href {https://www.nytimes.com/2023/03/08/opinion/noam-chomsky-chatgpt-ai.html} {Noam {Chomsky}: The false promise of {ChatGPT}}.
|
| 52 |
+
\newblock \emph{The New York Times}.
|
| 53 |
+
|
| 54 |
+
\bibitem[{Comrie(1989)}]{comrie1989language}
|
| 55 |
+
Bernard Comrie. 1989.
|
| 56 |
+
\newblock \emph{Language universals and linguistic typology: Syntax and morphology}.
|
| 57 |
+
\newblock University of Chicago press.
|
| 58 |
+
|
| 59 |
+
\bibitem[{Deletang et~al.(2023)Deletang, Ruoss, Grau-Moya, Genewein, Wenliang, Catt, Cundy, Hutter, Legg, Veness, and Ortega}]{deletang2023neural}
|
| 60 |
+
Gregoire Deletang, Anian Ruoss, Jordi Grau-Moya, Tim Genewein, Li~Kevin Wenliang, Elliot Catt, Chris Cundy, Marcus Hutter, Shane Legg, Joel Veness, and Pedro~A Ortega. 2023.
|
| 61 |
+
\newblock \href {https://openreview.net/forum?id=WbxHAzkeQcn} {Neural networks and the {Chomsky} hierarchy}.
|
| 62 |
+
\newblock In \emph{The Eleventh International Conference on Learning Representations}.
|
| 63 |
+
|
| 64 |
+
\bibitem[{Devlin et~al.(2019)Devlin, Chang, Lee, and Toutanova}]{devlin-etal-2019-bert}
|
| 65 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019.
|
| 66 |
+
\newblock \href {https://doi.org/10.18653/v1/N19-1423} {{BERT}: Pre-training of deep bidirectional transformers for language understanding}.
|
| 67 |
+
\newblock In \emph{Proceedings of the 2019 Conference of the North {A}merican Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)}, pages 4171--4186, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 68 |
+
|
| 69 |
+
\bibitem[{Ebrahimi et~al.(2020)Ebrahimi, Gelda, and Zhang}]{ebrahimi-etal-2020-self}
|
| 70 |
+
Javid Ebrahimi, Dhruv Gelda, and Wei Zhang. 2020.
|
| 71 |
+
\newblock \href {https://doi.org/10.18653/v1/2020.findings-emnlp.384} {How can self-attention networks recognize {D}yck-n languages?}
|
| 72 |
+
\newblock In \emph{Findings of the Association for Computational Linguistics: EMNLP 2020}, pages 4301--4306, Online. Association for Computational Linguistics.
|
| 73 |
+
|
| 74 |
+
\bibitem[{Elman(1990)}]{elman1990finding}
|
| 75 |
+
Jeffrey~L. Elman. 1990.
|
| 76 |
+
\newblock \href {https://doi.org/https://doi.org/10.1016/0364-0213(90)90002-E} {Finding structure in time}.
|
| 77 |
+
\newblock \emph{Cognitive Science}, 14(2):179--211.
|
| 78 |
+
|
| 79 |
+
\bibitem[{Evans and Levinson(2009)}]{evans2009myth}
|
| 80 |
+
Nicholas Evans and Stephen~C Levinson. 2009.
|
| 81 |
+
\newblock The myth of language universals: Language diversity and its importance for cognitive science.
|
| 82 |
+
\newblock \emph{Behavioral and brain sciences}, 32(5):429--448.
|
| 83 |
+
|
| 84 |
+
\bibitem[{Everett(2012)}]{everett2012piraha}
|
| 85 |
+
Daniel~L. Everett. 2012.
|
| 86 |
+
\newblock \href {https://doi.org/https://doi.org/10.1002/wcs.1195} {What does {Pirahã} grammar have to teach us about human language and the mind?}
|
| 87 |
+
\newblock \emph{WIREs Cognitive Science}, 3(6):555--563.
|
| 88 |
+
|
| 89 |
+
\bibitem[{Futrell(2019)}]{futrell-2019-information}
|
| 90 |
+
Richard Futrell. 2019.
|
| 91 |
+
\newblock \href {https://doi.org/10.18653/v1/W19-7902} {Information-theoretic locality properties of natural language}.
|
| 92 |
+
\newblock In \emph{Proceedings of the First Workshop on Quantitative Syntax (Quasy, SyntaxFest 2019)}, pages 2--15, Paris, France. Association for Computational Linguistics.
|
| 93 |
+
|
| 94 |
+
\bibitem[{Futrell and Hahn(2022)}]{futrell2022information}
|
| 95 |
+
Richard Futrell and Michael Hahn. 2022.
|
| 96 |
+
\newblock \href {https://doi.org/10.3389/fcomm.2022.657725} {Information theory as a bridge between language function and language form}.
|
| 97 |
+
\newblock \emph{Frontiers in Communication}, 7.
|
| 98 |
+
|
| 99 |
+
\bibitem[{Futrell et~al.(2019)Futrell, Wilcox, Morita, Qian, Ballesteros, and Levy}]{futrell-etal-2019-neural}
|
| 100 |
+
Richard Futrell, Ethan Wilcox, Takashi Morita, Peng Qian, Miguel Ballesteros, and Roger Levy. 2019.
|
| 101 |
+
\newblock \href {https://doi.org/10.18653/v1/N19-1004} {Neural language models as psycholinguistic subjects: Representations of syntactic state}.
|
| 102 |
+
\newblock In \emph{Proceedings of the 2019 Conference of the North {A}merican Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)}, pages 32--42, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 103 |
+
|
| 104 |
+
\bibitem[{Galke et~al.(2023)Galke, Ram, and Raviv}]{galke2023makes}
|
| 105 |
+
Lukas Galke, Yoav Ram, and Limor Raviv. 2023.
|
| 106 |
+
\newblock \href {http://arxiv.org/abs/2302.12239} {What makes a language easy to deep-learn?}
|
| 107 |
+
|
| 108 |
+
\bibitem[{Geiger et~al.(2021)Geiger, Lu, Icard, and Potts}]{geiger2021causal}
|
| 109 |
+
Atticus Geiger, Hanson Lu, Thomas Icard, and Christopher Potts. 2021.
|
| 110 |
+
\newblock \href {https://proceedings.neurips.cc/paper_files/paper/2021/file/4f5c422f4d49a5a807eda27434231040-Paper.pdf} {Causal abstractions of neural networks}.
|
| 111 |
+
\newblock In \emph{Advances in Neural Information Processing Systems}, volume~34, pages 9574--9586. Curran Associates, Inc.
|
| 112 |
+
|
| 113 |
+
\bibitem[{Geiger et~al.(2020)Geiger, Richardson, and Potts}]{geiger-etal-2020-neural}
|
| 114 |
+
Atticus Geiger, Kyle Richardson, and Christopher Potts. 2020.
|
| 115 |
+
\newblock \href {https://doi.org/10.18653/v1/2020.blackboxnlp-1.16} {Neural natural language inference models partially embed theories of lexical entailment and negation}.
|
| 116 |
+
\newblock In \emph{Proceedings of the Third BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP}, pages 163--173, Online. Association for Computational Linguistics.
|
| 117 |
+
|
| 118 |
+
\bibitem[{Geiger et~al.(2023)Geiger, Wu, Potts, Icard, and Goodman}]{geiger2023finding}
|
| 119 |
+
Atticus Geiger, Zhengxuan Wu, Christopher Potts, Thomas Icard, and Noah~D. Goodman. 2023.
|
| 120 |
+
\newblock Finding alignments between interpretable causal variables and distributed neural representations.
|
| 121 |
+
\newblock In \emph{Proceedings of Causal Learning and Reasoning 2024.}
|
| 122 |
+
|
| 123 |
+
\bibitem[{Greenberg(1963)}]{greenberg1963universals}
|
| 124 |
+
Joseph Greenberg. 1963.
|
| 125 |
+
\newblock \href {https://doi.org/https://doi.org/10.1002/wcs.1195} {Some universals of grammar with particular reference to the order of meaningful elements}.
|
| 126 |
+
\newblock \emph{Universals of Language}, pages 73--113.
|
| 127 |
+
|
| 128 |
+
\bibitem[{Hahn(2020)}]{hahn2020theoretical}
|
| 129 |
+
Michael Hahn. 2020.
|
| 130 |
+
\newblock \href {https://doi.org/10.1162/tacl_a_00306} {Theoretical limitations of self-attention in neural sequence models}.
|
| 131 |
+
\newblock \emph{Transactions of the Association for Computational Linguistics}, 8:156--171.
|
| 132 |
+
|
| 133 |
+
\bibitem[{Hahn et~al.(2021)Hahn, Degen, and Futrell}]{Hahn2021}
|
| 134 |
+
Michael Hahn, Judith Degen, and Richard Futrell. 2021.
|
| 135 |
+
\newblock \href {https://doi.org/10.1037/rev0000269} {Modeling word and morpheme order in natural language as an efficient trade-off of memory and surprisal.}
|
| 136 |
+
\newblock \emph{Psychological Review}, 128(4):726–756.
|
| 137 |
+
|
| 138 |
+
\bibitem[{Hahn et~al.(2020)Hahn, Jurafsky, and Futrell}]{hahnetal2020universals}
|
| 139 |
+
Michael Hahn, Dan Jurafsky, and Richard Futrell. 2020.
|
| 140 |
+
\newblock \href {https://doi.org/10.1073/pnas.1910923117} {Universals of word order reflect optimization of grammars for efficient communication}.
|
| 141 |
+
\newblock \emph{Proceedings of the National Academy of Sciences}, 117(5):2347--2353.
|
| 142 |
+
|
| 143 |
+
\bibitem[{Hale(2001)}]{hale-2001-probabilistic}
|
| 144 |
+
John Hale. 2001.
|
| 145 |
+
\newblock \href {https://aclanthology.org/N01-1021} {A probabilistic {E}arley parser as a psycholinguistic model}.
|
| 146 |
+
\newblock In \emph{Second Meeting of the North {A}merican Chapter of the Association for Computational Linguistics}.
|
| 147 |
+
|
| 148 |
+
\bibitem[{Hao et~al.(2018)Hao, Merrill, Angluin, Frank, Amsel, Benz, and Mendelsohn}]{hao-etal-2018-context}
|
| 149 |
+
Yiding Hao, William Merrill, Dana Angluin, Robert Frank, Noah Amsel, Andrew Benz, and Simon Mendelsohn. 2018.
|
| 150 |
+
\newblock \href {https://doi.org/10.18653/v1/W18-5433} {Context-free transductions with neural stacks}.
|
| 151 |
+
\newblock In \emph{Proceedings of the 2018 {EMNLP} Workshop {B}lackbox{NLP}: Analyzing and Interpreting Neural Networks for {NLP}}, pages 306--315, Brussels, Belgium. Association for Computational Linguistics.
|
| 152 |
+
|
| 153 |
+
\bibitem[{Hauser et~al.(2002)Hauser, Chomsky, and Fitch}]{hauser2002faculty}
|
| 154 |
+
Marc~D. Hauser, Noam Chomsky, and W.~Tecumseh Fitch. 2002.
|
| 155 |
+
\newblock \href {https://doi.org/10.1126/science.298.5598.1569} {The faculty of language: What is it, who has it, and how did it evolve?}
|
| 156 |
+
\newblock \emph{Science}, 298(5598):1569--1579.
|
| 157 |
+
|
| 158 |
+
\bibitem[{Hessel and Schofield(2021)}]{hessel-schofield-2021-effective}
|
| 159 |
+
Jack Hessel and Alexandra Schofield. 2021.
|
| 160 |
+
\newblock \href {https://doi.org/10.18653/v1/2021.acl-short.27} {How effective is {BERT} without word ordering? implications for language understanding and data privacy}.
|
| 161 |
+
\newblock In \emph{Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers)}, pages 204--211, Online. Association for Computational Linguistics.
|
| 162 |
+
|
| 163 |
+
\bibitem[{Hewitt et~al.(2020)Hewitt, Hahn, Ganguli, Liang, and Manning}]{hewitt-etal-2020-rnns}
|
| 164 |
+
John Hewitt, Michael Hahn, Surya Ganguli, Percy Liang, and Christopher~D. Manning. 2020.
|
| 165 |
+
\newblock \href {https://doi.org/10.18653/v1/2020.emnlp-main.156} {{RNN}s can generate bounded hierarchical languages with optimal memory}.
|
| 166 |
+
\newblock In \emph{Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)}, pages 1978--2010, Online. Association for Computational Linguistics.
|
| 167 |
+
|
| 168 |
+
\bibitem[{Hu et~al.(2020)Hu, Gauthier, Qian, Wilcox, and Levy}]{hu-etal-2020-systematic}
|
| 169 |
+
Jennifer Hu, Jon Gauthier, Peng Qian, Ethan Wilcox, and Roger Levy. 2020.
|
| 170 |
+
\newblock \href {https://doi.org/10.18653/v1/2020.acl-main.158} {A systematic assessment of syntactic generalization in neural language models}.
|
| 171 |
+
\newblock In \emph{Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics}, pages 1725--1744, Online. Association for Computational Linguistics.
|
| 172 |
+
|
| 173 |
+
\bibitem[{Huang et~al.(2023)Huang, Zelikman, Chen, Wu, Valiant, and Liang}]{huang2023lexinvariant}
|
| 174 |
+
Qian Huang, Eric Zelikman, Sarah~Li Chen, Yuhuai Wu, Gregory Valiant, and Percy Liang. 2023.
|
| 175 |
+
\newblock \href {http://arxiv.org/abs/2305.16349} {Lexinvariant language models}.
|
| 176 |
+
|
| 177 |
+
\bibitem[{Jin et~al.(2018)Jin, Doshi-Velez, Miller, Schuler, and Schwartz}]{jin-etal-2018-depth}
|
| 178 |
+
Lifeng Jin, Finale Doshi-Velez, Timothy Miller, William Schuler, and Lane Schwartz. 2018.
|
| 179 |
+
\newblock \href {https://doi.org/10.18653/v1/D18-1292} {Depth-bounding is effective: Improvements and evaluation of unsupervised {PCFG} induction}.
|
| 180 |
+
\newblock In \emph{Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing}, pages 2721--2731, Brussels, Belgium. Association for Computational Linguistics.
|
| 181 |
+
|
| 182 |
+
\bibitem[{Joshi(1985)}]{joshi1985TAG}
|
| 183 |
+
Aravind~K. Joshi. 1985.
|
| 184 |
+
\newblock \href {https://doi.org/10.1017/CBO9780511597855.007} {\emph{Tree adjoining grammars: How much context-sensitivity is required to provide reasonable structural descriptions?}}, Studies in Natural Language Processing, page 206–250. Cambridge University Press.
|
| 185 |
+
|
| 186 |
+
\bibitem[{Karamcheti et~al.(2021)Karamcheti, Orr, Bolton, Zhang, Goel, Narayan, Bommasani, Narayanan, Hashimoto, Jurafsky, Manning, Potts, Ré, and Liang}]{Mistral}
|
| 187 |
+
Siddharth* Karamcheti, Laurel* Orr, Jason Bolton, Tianyi Zhang, Karan Goel, Avanika Narayan, Rishi Bommasani, Deepak Narayanan, Tatsunori Hashimoto, Dan Jurafsky, Christopher~D. Manning, Christopher Potts, Christopher Ré, and Percy Liang. 2021.
|
| 188 |
+
\newblock \href {https://github.com/stanford-crfm/mistral} {Mistral - a journey towards reproducible language model training}.
|
| 189 |
+
|
| 190 |
+
\bibitem[{Karlsson(2007)}]{karlsson2007constraints}
|
| 191 |
+
Fred Karlsson. 2007.
|
| 192 |
+
\newblock \href {https://doi.org/10.1017/S0022226707004616} {Constraints on multiple center-embedding of clauses}.
|
| 193 |
+
\newblock \emph{Journal of Linguistics}, 43(2):365–392.
|
| 194 |
+
|
| 195 |
+
\bibitem[{Kazemnejad et~al.(2023)Kazemnejad, Padhi, Ramamurthy, Das, and Reddy}]{kazemnejad2023impact}
|
| 196 |
+
Amirhossein Kazemnejad, Inkit Padhi, Karthikeyan~Natesan Ramamurthy, Payel Das, and Siva Reddy. 2023.
|
| 197 |
+
\newblock The impact of positional encoding on length generalization in transformers.
|
| 198 |
+
\newblock \emph{arXiv preprint arXiv:2305.19466}.
|
| 199 |
+
|
| 200 |
+
\bibitem[{Levy(2008)}]{levy2008expectation}
|
| 201 |
+
Roger Levy. 2008.
|
| 202 |
+
\newblock \href {https://doi.org/https://doi.org/10.1016/j.cognition.2007.05.006} {Expectation-based syntactic comprehension}.
|
| 203 |
+
\newblock \emph{Cognition}, 106(3):1126--1177.
|
| 204 |
+
|
| 205 |
+
\bibitem[{Mansfield and Kemp(2023)}]{mansfield2023emergence}
|
| 206 |
+
John Mansfield and Charles Kemp. 2023.
|
| 207 |
+
\newblock The emergence of grammatical structure from inter-predictability.
|
| 208 |
+
|
| 209 |
+
\bibitem[{Marvin and Linzen(2018)}]{marvin-linzen-2018-targeted}
|
| 210 |
+
Rebecca Marvin and Tal Linzen. 2018.
|
| 211 |
+
\newblock \href {https://doi.org/10.18653/v1/D18-1151} {Targeted syntactic evaluation of language models}.
|
| 212 |
+
\newblock In \emph{Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing}, pages 1192--1202, Brussels, Belgium. Association for Computational Linguistics.
|
| 213 |
+
|
| 214 |
+
\bibitem[{Merrill(2019)}]{merrill-2019-sequential}
|
| 215 |
+
William Merrill. 2019.
|
| 216 |
+
\newblock \href {https://doi.org/10.18653/v1/W19-3901} {Sequential neural networks as automata}.
|
| 217 |
+
\newblock In \emph{Proceedings of the Workshop on Deep Learning and Formal Languages: Building Bridges}, pages 1--13, Florence. Association for Computational Linguistics.
|
| 218 |
+
|
| 219 |
+
\bibitem[{Merrill et~al.(2020)Merrill, Weiss, Goldberg, Schwartz, Smith, and Yahav}]{merrill-etal-2020-formal}
|
| 220 |
+
William Merrill, Gail Weiss, Yoav Goldberg, Roy Schwartz, Noah~A. Smith, and Eran Yahav. 2020.
|
| 221 |
+
\newblock \href {https://doi.org/10.18653/v1/2020.acl-main.43} {A formal hierarchy of {RNN} architectures}.
|
| 222 |
+
\newblock In \emph{Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics}, pages 443--459, Online. Association for Computational Linguistics.
|
| 223 |
+
|
| 224 |
+
\bibitem[{Mitchell and Bowers(2020)}]{mitchell-bowers-2020-priorless}
|
| 225 |
+
Jeff Mitchell and Jeffrey Bowers. 2020.
|
| 226 |
+
\newblock \href {https://doi.org/10.18653/v1/2020.coling-main.451} {Priorless recurrent networks learn curiously}.
|
| 227 |
+
\newblock In \emph{Proceedings of the 28th International Conference on Computational Linguistics}, pages 5147--5158, Barcelona, Spain (Online). International Committee on Computational Linguistics.
|
| 228 |
+
|
| 229 |
+
\bibitem[{Moro et~al.(2023)Moro, Greco, and Cappa}]{moro2023impossible}
|
| 230 |
+
Andrea Moro, Matteo Greco, and Stefano~F. Cappa. 2023.
|
| 231 |
+
\newblock \href {https://doi.org/https://doi.org/10.1016/j.cortex.2023.07.003} {Large languages, impossible languages and human brains}.
|
| 232 |
+
\newblock \emph{Cortex}, 167:82--85.
|
| 233 |
+
|
| 234 |
+
\bibitem[{Murty et~al.(2023)Murty, Sharma, Andreas, and Manning}]{murty2023pushdown}
|
| 235 |
+
Shikhar Murty, Pratyusha Sharma, Jacob Andreas, and Christopher~D. Manning. 2023.
|
| 236 |
+
\newblock \href {http://arxiv.org/abs/2310.19089} {Pushdown layers: Encoding recursive structure in transformer language models}.
|
| 237 |
+
|
| 238 |
+
\bibitem[{Musso et~al.(2003)Musso, Moro, Glauche, Rijntjes, Reichenbach, B{\"u}chel, and Weiller}]{musso2003broca}
|
| 239 |
+
Mariacristina Musso, Andrea Moro, Volkmar Glauche, Michel Rijntjes, J{\"u}rgen Reichenbach, Christian B{\"u}chel, and Cornelius Weiller. 2003.
|
| 240 |
+
\newblock Broca's area and the language instinct.
|
| 241 |
+
\newblock \emph{Nature Neuroscience}, 6(7):774--781.
|
| 242 |
+
|
| 243 |
+
\bibitem[{Nefdt(2024)}]{Nefdt_2024}
|
| 244 |
+
Ryan~M. Nefdt. 2024.
|
| 245 |
+
\newblock \emph{The Philosophy of Theoretical Linguistics: A Contemporary Outlook}.
|
| 246 |
+
\newblock Cambridge University Press.
|
| 247 |
+
|
| 248 |
+
\bibitem[{Papadimitriou et~al.(2022)Papadimitriou, Futrell, and Mahowald}]{papadimitriou-etal-2022-classifying-grammatical}
|
| 249 |
+
Isabel Papadimitriou, Richard Futrell, and Kyle Mahowald. 2022.
|
| 250 |
+
\newblock \href {https://doi.org/10.18653/v1/2022.acl-short.71} {When classifying grammatical role, {BERT} doesn{'}t care about word order... except when it matters}.
|
| 251 |
+
\newblock In \emph{Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)}, pages 636--643, Dublin, Ireland. Association for Computational Linguistics.
|
| 252 |
+
|
| 253 |
+
\bibitem[{Papadimitriou and Jurafsky(2023)}]{papadimitriou2023injecting}
|
| 254 |
+
Isabel Papadimitriou and Dan Jurafsky. 2023.
|
| 255 |
+
\newblock \href {http://arxiv.org/abs/2304.13060} {Injecting structural hints: Using language models to study inductive biases in language learning}.
|
| 256 |
+
|
| 257 |
+
\bibitem[{Pham et~al.(2021)Pham, Bui, Mai, and Nguyen}]{pham-etal-2021-order}
|
| 258 |
+
Thang Pham, Trung Bui, Long Mai, and Anh Nguyen. 2021.
|
| 259 |
+
\newblock \href {https://doi.org/10.18653/v1/2021.findings-acl.98} {Out of order: How important is the sequential order of words in a sentence in natural language understanding tasks?}
|
| 260 |
+
\newblock In \emph{Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021}, pages 1145--1160, Online. Association for Computational Linguistics.
|
| 261 |
+
|
| 262 |
+
\bibitem[{Prasad et~al.(2019)Prasad, van Schijndel, and Linzen}]{prasad-etal-2019-using}
|
| 263 |
+
Grusha Prasad, Marten van Schijndel, and Tal Linzen. 2019.
|
| 264 |
+
\newblock \href {https://doi.org/10.18653/v1/K19-1007} {Using priming to uncover the organization of syntactic representations in neural language models}.
|
| 265 |
+
\newblock In \emph{Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL)}, pages 66--76, Hong Kong, China. Association for Computational Linguistics.
|
| 266 |
+
|
| 267 |
+
\bibitem[{Pérez et~al.(2021)Pérez, Barceló, and Marinkovic}]{perez2021attention}
|
| 268 |
+
Jorge Pérez, Pablo Barceló, and Javier Marinkovic. 2021.
|
| 269 |
+
\newblock \href {http://jmlr.org/papers/v22/20-302.html} {Attention is {T}uring-complete}.
|
| 270 |
+
\newblock \emph{Journal of Machine Learning Research}, 22(75):1--35.
|
| 271 |
+
|
| 272 |
+
\bibitem[{Qi et~al.(2020)Qi, Zhang, Zhang, Bolton, and Manning}]{qi2020stanza}
|
| 273 |
+
Peng Qi, Yuhao Zhang, Yuhui Zhang, Jason Bolton, and Christopher~D. Manning. 2020.
|
| 274 |
+
\newblock Stanza: A {Python} natural language processing toolkit for many human languages.
|
| 275 |
+
\newblock In \emph{Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations}.
|
| 276 |
+
|
| 277 |
+
\bibitem[{Radford et~al.(2018)Radford, Narasimhan, Salimans, and Sutskever}]{radford2018improving}
|
| 278 |
+
Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. 2018.
|
| 279 |
+
\newblock \href {https://openai.com/blog/language-unsupervised/} {Improving language understanding by generative pre-training}.
|
| 280 |
+
\newblock Ms, OpenAI.
|
| 281 |
+
|
| 282 |
+
\bibitem[{Radford et~al.(2019)Radford, Wu, Child, Luan, Amodei, and Sutskever}]{radford2019languagemodels}
|
| 283 |
+
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019.
|
| 284 |
+
\newblock Language models are unsupervised multitask learners.
|
| 285 |
+
\newblock Ms, OpenAI.
|
| 286 |
+
|
| 287 |
+
\bibitem[{Shieber(1985)}]{shieber1985evidence}
|
| 288 |
+
Stuart~M. Shieber. 1985.
|
| 289 |
+
\newblock Evidence against the context-freeness of natural language.
|
| 290 |
+
\newblock \emph{Linguistics and Philosophy}, 8(3):333--343.
|
| 291 |
+
|
| 292 |
+
\bibitem[{Sinha et~al.(2021)Sinha, Jia, Hupkes, Pineau, Williams, and Kiela}]{sinha-etal-2021-masked}
|
| 293 |
+
Koustuv Sinha, Robin Jia, Dieuwke Hupkes, Joelle Pineau, Adina Williams, and Douwe Kiela. 2021.
|
| 294 |
+
\newblock \href {https://doi.org/10.18653/v1/2021.emnlp-main.230} {Masked language modeling and the distributional hypothesis: Order word matters pre-training for little}.
|
| 295 |
+
\newblock In \emph{Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing}, pages 2888--2913, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
|
| 296 |
+
|
| 297 |
+
\bibitem[{Tenney et~al.(2019)Tenney, Xia, Chen, Wang, Poliak, McCoy, Kim, Durme, Bowman, Das, and Pavlick}]{tenney2019probing}
|
| 298 |
+
Ian Tenney, Patrick Xia, Berlin Chen, Alex Wang, Adam Poliak, R.~Thomas McCoy, Najoung Kim, Benjamin~Van Durme, Samuel~R. Bowman, Dipanjan Das, and Ellie Pavlick. 2019.
|
| 299 |
+
\newblock \href {https://openreview.net/forum?id=SJzSgnRcKX} {What do you learn from context? {Probing} for sentence structure in contextualized word representations}.
|
| 300 |
+
\newblock In \emph{International Conference on Learning Representations}.
|
| 301 |
+
|
| 302 |
+
\bibitem[{Vaswani et~al.(2017)Vaswani, Shazeer, Parmar, Uszkoreit, Jones, Gomez, Kaiser, and Polosukhin}]{vaswani2017attention}
|
| 303 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan~N Gomez, \L~ukasz Kaiser, and Illia Polosukhin. 2017.
|
| 304 |
+
\newblock \href {https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf} {Attention is all you need}.
|
| 305 |
+
\newblock In \emph{Advances in Neural Information Processing Systems}, volume~30. Curran Associates, Inc.
|
| 306 |
+
|
| 307 |
+
\bibitem[{Warstadt et~al.(2023)Warstadt, Choshen, Mueller, Williams, Wilcox, and Zhuang}]{warstadt2023papers}
|
| 308 |
+
Alex Warstadt, Leshem Choshen, Aaron Mueller, Adina Williams, Ethan Wilcox, and Chengxu Zhuang. 2023.
|
| 309 |
+
\newblock \href {http://arxiv.org/abs/2301.11796} {Call for papers -- the {BabyLM} challenge: Sample-efficient pretraining on a developmentally plausible corpus}.
|
| 310 |
+
|
| 311 |
+
\bibitem[{Weiss et~al.(2018)Weiss, Goldberg, and Yahav}]{weiss-etal-2018-practical}
|
| 312 |
+
Gail Weiss, Yoav Goldberg, and Eran Yahav. 2018.
|
| 313 |
+
\newblock \href {https://doi.org/10.18653/v1/P18-2117} {On the practical computational power of finite precision {RNN}s for language recognition}.
|
| 314 |
+
\newblock In \emph{Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)}, pages 740--745, Melbourne, Australia. Association for Computational Linguistics.
|
| 315 |
+
|
| 316 |
+
\bibitem[{Wilcox et~al.(2018)Wilcox, Levy, Morita, and Futrell}]{wilcox-etal-2018-rnn}
|
| 317 |
+
Ethan Wilcox, Roger Levy, Takashi Morita, and Richard Futrell. 2018.
|
| 318 |
+
\newblock \href {https://doi.org/10.18653/v1/W18-5423} {What do {RNN} language models learn about filler{--}gap dependencies?}
|
| 319 |
+
\newblock In \emph{Proceedings of the 2018 {EMNLP} Workshop {B}lackbox{NLP}: Analyzing and Interpreting Neural Networks for {NLP}}, pages 211--221, Brussels, Belgium. Association for Computational Linguistics.
|
| 320 |
+
|
| 321 |
+
\bibitem[{Wilcox et~al.(2023)Wilcox, Futrell, and Levy}]{wilcox2023syntactic}
|
| 322 |
+
Ethan~Gotlieb Wilcox, Richard Futrell, and Roger Levy. 2023.
|
| 323 |
+
\newblock \href {https://doi.org/10.1162/ling_a_00491} {Using computational models to test syntactic learnability}.
|
| 324 |
+
\newblock \emph{Linguistic Inquiry}, pages 1--44.
|
| 325 |
+
|
| 326 |
+
\bibitem[{Wu et~al.(2023{\natexlab{a}})Wu, D'Oosterlinck, Geiger, Zur, and Potts}]{pmlr-v202-wu23b}
|
| 327 |
+
Zhengxuan Wu, Karel D'Oosterlinck, Atticus Geiger, Amir Zur, and Christopher Potts. 2023{\natexlab{a}}.
|
| 328 |
+
\newblock \href {https://proceedings.mlr.press/v202/wu23b.html} {Causal proxy models for concept-based model explanations}.
|
| 329 |
+
\newblock In \emph{Proceedings of the 40th International Conference on Machine Learning}, volume 202 of \emph{Proceedings of Machine Learning Research}, pages 37313--37334. PMLR.
|
| 330 |
+
|
| 331 |
+
\bibitem[{Wu et~al.(2023{\natexlab{b}})Wu, Geiger, Icard, Potts, and Goodman}]{wu-etal-2023-Boundless-DAS}
|
| 332 |
+
Zhengxuan Wu, Atticus Geiger, Thomas Icard, Christopher Potts, and Noah Goodman. 2023{\natexlab{b}}.
|
| 333 |
+
\newblock \href {https://proceedings.neurips.cc/paper_files/paper/2023/file/f6a8b109d4d4fd64c75e94aaf85d9697-Paper-Conference.pdf} {Interpretability at scale: Identifying causal mechanisms in {Alpaca}}.
|
| 334 |
+
\newblock In \emph{Advances in Neural Information Processing Systems}, volume~36, pages 78205--78226. Curran Associates, Inc.
|
| 335 |
+
|
| 336 |
+
\bibitem[{Wu et~al.(2022)Wu, Geiger, Rozner, Kreiss, Lu, Icard, Potts, and Goodman}]{wu-etal-2022-causal}
|
| 337 |
+
Zhengxuan Wu, Atticus Geiger, Joshua Rozner, Elisa Kreiss, Hanson Lu, Thomas Icard, Christopher Potts, and Noah Goodman. 2022.
|
| 338 |
+
\newblock \href {https://doi.org/10.18653/v1/2022.naacl-main.318} {Causal distillation for language models}.
|
| 339 |
+
\newblock In \emph{Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies}, pages 4288--4295, Seattle, United States. Association for Computational Linguistics.
|
| 340 |
+
|
| 341 |
+
\end{thebibliography}
|
assets/kallini-etal-impossible-paper.tex
ADDED
|
@@ -0,0 +1,948 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\pdfoutput=1
|
| 2 |
+
|
| 3 |
+
\documentclass[11pt]{article}
|
| 4 |
+
|
| 5 |
+
\usepackage{ACL2023}
|
| 6 |
+
|
| 7 |
+
\usepackage{times}
|
| 8 |
+
\usepackage{latexsym}
|
| 9 |
+
|
| 10 |
+
\usepackage[T1]{fontenc}
|
| 11 |
+
|
| 12 |
+
\usepackage[utf8]{inputenc}
|
| 13 |
+
|
| 14 |
+
\usepackage{microtype}
|
| 15 |
+
|
| 16 |
+
\usepackage{inconsolata}
|
| 17 |
+
|
| 18 |
+
\usepackage{xcolor} %
|
| 19 |
+
\usepackage{soul} %
|
| 20 |
+
|
| 21 |
+
\usepackage{multirow} %
|
| 22 |
+
\usepackage{booktabs}
|
| 23 |
+
\usepackage{adjustbox}
|
| 24 |
+
|
| 25 |
+
\usepackage{linguex}
|
| 26 |
+
\usepackage{relsize}
|
| 27 |
+
|
| 28 |
+
\usepackage{caption}
|
| 29 |
+
\usepackage{subcaption}
|
| 30 |
+
|
| 31 |
+
\usepackage{todonotes}
|
| 32 |
+
|
| 33 |
+
\usepackage[]{titlesec}
|
| 34 |
+
\titlespacing*{\paragraph}{0pt}{1ex}{1ex}
|
| 35 |
+
\usepackage{enumitem}
|
| 36 |
+
|
| 37 |
+
\makeatletter
|
| 38 |
+
\newcommand*\iftodonotes{\if@todonotes@disabled\expandafter\@secondoftwo\else\expandafter\@firstoftwo\fi} %
|
| 39 |
+
\makeatother
|
| 40 |
+
|
| 41 |
+
\newcommand{\noindentaftertodo}{\iftodonotes{\noindent}{}}
|
| 42 |
+
|
| 43 |
+
\newcommand{\fixme}[2][]{\todo[color=yellow,size=\scriptsize,fancyline,caption={},#1]{#2}} %
|
| 44 |
+
|
| 45 |
+
\newcommand{\note}[4][]{\todo[author=#2,color=#3,size=\scriptsize,fancyline,caption={},#1]{#4}} %
|
| 46 |
+
|
| 47 |
+
\newcommand{\response}[1]{\vspace{3pt}\hrule\vspace{3pt}\textbf{#1:} } %
|
| 48 |
+
\newcommand{\km}[2][]{\note[#1]{Kyle}{teal!40}{#2}}
|
| 49 |
+
\newcommand{\ip}[2][]{\note[#1]{Isabel}{orange!40}{#2}}
|
| 50 |
+
\newcommand{\jk}[2][]{\note[#1]{Julie}{magenta!40}{#2}}
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
\newcommand{\todocite}[1]{\textcolor{red}{[TODO: cite #1]}}
|
| 54 |
+
\newcommand{\isabel}[1]{\textcolor{orange}{[Isabel: #1]}}
|
| 55 |
+
\newcommand{\kyle}[1]{\textcolor{teal}{[Kyle: #1]}}
|
| 56 |
+
\newcommand{\richard}[1]{\textcolor{blue}{[Richard: #1]}}
|
| 57 |
+
\newcommand{\julie}[1]{\textcolor{magenta}{[Julie: #1]}}
|
| 58 |
+
\newcommand{\chris}[1]{\textcolor{violet}{[Chris: #1]}}
|
| 59 |
+
|
| 60 |
+
\definecolor{controlshuf}{HTML}{606060}
|
| 61 |
+
\definecolor{nondetshuf}{HTML}{E8384F}
|
| 62 |
+
\definecolor{detshuf21}{HTML}{FFB000}
|
| 63 |
+
\definecolor{detshuf57}{HTML}{8db000}
|
| 64 |
+
\definecolor{detshuf84}{HTML}{62BB35}
|
| 65 |
+
\definecolor{locshuf3}{HTML}{208EA3}
|
| 66 |
+
\definecolor{locshuf5}{HTML}{4178BC}
|
| 67 |
+
\definecolor{locshuf10}{HTML}{AA71FF}
|
| 68 |
+
\definecolor{evenodd}{HTML}{E37CFF}
|
| 69 |
+
|
| 70 |
+
\definecolor{controlrev}{HTML}{606060}
|
| 71 |
+
\definecolor{partialrev}{HTML}{E5A836}
|
| 72 |
+
\definecolor{fullrev}{HTML}{A348A6}
|
| 73 |
+
|
| 74 |
+
\definecolor{NoHop}{HTML}{606060}
|
| 75 |
+
\definecolor{tokenhop}{HTML}{fa8128}
|
| 76 |
+
\definecolor{wordhop}{HTML}{03a0ff}
|
| 77 |
+
|
| 78 |
+
\newcommand{\singularmarker}{%
|
| 79 |
+
\setlength{\fboxsep}{1pt}%
|
| 80 |
+
\fbox{\texttt{S}}%
|
| 81 |
+
}
|
| 82 |
+
\newcommand{\pluralmarker}{%
|
| 83 |
+
\setlength{\fboxsep}{1pt}%
|
| 84 |
+
\fbox{\texttt{P}}%
|
| 85 |
+
}
|
| 86 |
+
\newcommand{\revmarker}{%
|
| 87 |
+
\setlength{\fboxsep}{1pt}%
|
| 88 |
+
\fbox{\texttt{R}}%
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
\newcommand{\highlight}[2]{%
|
| 92 |
+
\begingroup
|
| 93 |
+
\definecolor{hlcolor}{HTML}{#1}%
|
| 94 |
+
\sethlcolor{hlcolor}%
|
| 95 |
+
\hl{#2}%
|
| 96 |
+
\endgroup
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
\newcommand{\tokenHe}{%
|
| 100 |
+
\highlight{FDFD95}{He}%
|
| 101 |
+
}
|
| 102 |
+
\newcommand{\tokenThey}{%
|
| 103 |
+
\highlight{FDFD95}{They}%
|
| 104 |
+
}
|
| 105 |
+
\newcommand{\tokencleans}{%
|
| 106 |
+
\highlight{FDE4CF}{ cleans}%
|
| 107 |
+
}
|
| 108 |
+
\newcommand{\tokenclean}{%
|
| 109 |
+
\highlight{FDE4CF}{ clean}%
|
| 110 |
+
}
|
| 111 |
+
\newcommand{\tokenhis}{%
|
| 112 |
+
\highlight{FFCFD2}{ his}%
|
| 113 |
+
}
|
| 114 |
+
\newcommand{\tokenvery}{%
|
| 115 |
+
\highlight{F1C0E8}{ very}%
|
| 116 |
+
}
|
| 117 |
+
\newcommand{\tokenmessy}{%
|
| 118 |
+
\highlight{CFBAF0}{ messy}%
|
| 119 |
+
}
|
| 120 |
+
\newcommand{\tokenbooks}{%
|
| 121 |
+
\highlight{A3C4F3}{ books}%
|
| 122 |
+
}
|
| 123 |
+
\newcommand{\tokenhe}{%
|
| 124 |
+
\highlight{90DBF4}{he}%
|
| 125 |
+
}
|
| 126 |
+
\newcommand{\tokenlf}{%
|
| 127 |
+
\highlight{98F5E1}{lf}%
|
| 128 |
+
}
|
| 129 |
+
\newcommand{\tokenperiod}{%
|
| 130 |
+
\highlight{B9FBC0}{.}%
|
| 131 |
+
}
|
| 132 |
+
\newcommand{\tokensing}{%
|
| 133 |
+
\highlight{FF77E6}{\singularmarker}%
|
| 134 |
+
}
|
| 135 |
+
\newcommand{\tokenplur}{%
|
| 136 |
+
\highlight{3EC8FF}{\pluralmarker}%
|
| 137 |
+
}
|
| 138 |
+
\newcommand{\tokenrev}{%
|
| 139 |
+
\highlight{8DE969}{\revmarker}%
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
\title{
|
| 144 |
+
Mission: Impossible Language Models
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
\newcommand{\authorspace}{\hspace{1pt}}
|
| 149 |
+
|
| 150 |
+
\author{Julie Kallini$^{1}$,
|
| 151 |
+
Isabel Papadimitriou$^{1}$,
|
| 152 |
+
Richard Futrell$^{2}$, \\
|
| 153 |
+
\textbf{Kyle Mahowald}$^{3}$\textbf{,}
|
| 154 |
+
\textbf{Christopher Potts}$^{1}$ \\[1ex]
|
| 155 |
+
${}^{1}$Stanford University; ${}^{2}$University of California, Irvine; ${}^{3}$University of Texas, Austin \\[1ex]
|
| 156 |
+
\texttt{kallini@stanford.edu}
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
\usepackage[nameinlink,capitalize]{cleveref}
|
| 161 |
+
|
| 162 |
+
\begin{document}
|
| 163 |
+
|
| 164 |
+
\setlength{\Exlabelwidth}{1em}
|
| 165 |
+
\setlength{\Exlabelsep}{0.7em}
|
| 166 |
+
\setlength{\SubExleftmargin}{1.3em}
|
| 167 |
+
\setlength{\Extopsep}{2pt}
|
| 168 |
+
|
| 169 |
+
\maketitle
|
| 170 |
+
|
| 171 |
+
\begin{abstract}
|
| 172 |
+
Chomsky and others have very directly claimed that large language models (LLMs) are equally capable of learning languages that are possible and impossible for humans to learn. However, there is very little published experimental evidence to support such a claim. Here, we develop a set of synthetic \emph{impossible languages} of differing complexity, each designed by systematically altering English data with unnatural word orders and grammar rules. These languages lie on an impossibility continuum: at one end are languages that are inherently impossible, such as random and irreversible shuffles of English words, and on the other, languages that may not be intuitively impossible but are often considered so in linguistics, particularly those with rules based on counting word positions. We report on a wide range of evaluations to assess the capacity of GPT-2 small models to learn these uncontroversially impossible languages, and crucially, we perform these assessments at various stages throughout training to compare the learning process for each language. Our core finding is that GPT-2 struggles to learn impossible languages when compared to English as a control, challenging the core claim. More importantly, we hope our approach opens up a productive line of inquiry in which different LLM architectures are tested on a variety of impossible languages in an effort to learn more about how LLMs can be used as tools for these cognitive and typological investigations.
|
| 173 |
+
\end{abstract}
|
| 174 |
+
|
| 175 |
+
\section{Introduction}
|
| 176 |
+
|
| 177 |
+
\begin{figure}[ht]
|
| 178 |
+
\centering
|
| 179 |
+
\includegraphics[width=0.45\textwidth]{diagrams/language-continuum.pdf}
|
| 180 |
+
\caption{Partial impossibility continuum of languages based on complexity. We assess the learnability of languages at different points in the continuum and push the (currently unclear) boundary between possible and impossible.}
|
| 181 |
+
\label{fig:language-continuum}
|
| 182 |
+
\end{figure}
|
| 183 |
+
|
| 184 |
+
\citet{chomsky2023cowen}, \citet{chomsky2023nyt}, \citet{moro2023impossible}, and \citet{Bolhuis2024} make very broad claims to the effect that large language models (LLMs) are equally capable of learning possible and impossible human languages. For these authors, it follows from this claim that LLMs cannot teach us anything about language, and so the claim (if true) would have significant consequences for linguistic methodology and potentially also for the viability of LLMs as the basis for robust language capabilities.
|
| 185 |
+
|
| 186 |
+
These authors state this claim in absolute terms. For example, \citet{chomsky2023nyt} flatly assert that LLMs ``are incapable of distinguishing the possible from the impossible,'' \citet{chomsky2023cowen} says this property ``can't be modified,'' and \citet{moro2023impossible} write that ``the distinction between possible versus impossible languages cannot be formulated by definition for LLM.'' \citet{Bolhuis2024} go so far as to claim that ``LLMs can produce ‘impossible’ languages [...] just as well as (if not better than) natural language output.''
|
| 187 |
+
One might expect such strong claims to be supported by extensive formal analysis and/or experimental evidence. However, as far as we are aware, this is not the case. The sole experimental paper cited by the above authors is \citealt{mitchell-bowers-2020-priorless}---an important and inspiring paper but not one that can resolve these questions on its own. In addition, linguists themselves do not even have an agreed upon notion of what defines the possible or the impossible languages, to say nothing of having formal results with respect to LLMs.
|
| 188 |
+
|
| 189 |
+
Here we provide extensive new experimental evidence to inform the claim that LLMs are equally capable of learning possible and impossible languages in the human sense. Arguably, the central challenge for such work is the fact that there is no agreed-upon way of distinguishing these two groups. We do not feel positioned ourselves to assert such a definition, so we instead offer some examples of impossible languages on a continuum of intuitive complexity (\Cref{fig:language-continuum}).
|
| 190 |
+
Some of these examples seem intuitively impossible, such as random sentence-level shuffling of English words. Others operationalize less obvious but common claims in the linguistics literature about rules that are impossible, like those that depend on counting words.
|
| 191 |
+
|
| 192 |
+
All of our examples are, we take it, uncontroversial instances of impossible languages. Thus, our experiments can inform the core hypotheses as follows: if LLMs learn these languages as well as they learn natural languages, then the claims of Chomsky and others are supported (for the specific class of LLMs tested). Conversely, if LLMs do not learn these languages as well as the possible ones, it would call into question those assertions. In that case, proponents of those claims ought to provide examples of impossible languages that they find more informative, which we can then evaluate using our approach to further advance the discussion.
|
| 193 |
+
|
| 194 |
+
Our experiments use GPT-2 small models \cite{radford2018improving, radford2019languagemodels},
|
| 195 |
+
and our base training corpus is the BabyLM dataset \cite{warstadt2023papers}, which we modify in various ways to implement our impossible languages.
|
| 196 |
+
What we find is that these models indeed struggle to learn impossible languages, shown through three core experiments:
|
| 197 |
+
|
| 198 |
+
\begin{itemize}[topsep=2pt, itemsep=0pt, leftmargin=12pt]
|
| 199 |
+
\item In \textbf{Experiment 1}, we train GPT-2 models on our set of defined possible and impossible languages, measuring their learning efficiency through test set perplexities. We find that \emph{models trained on possible languages learn more efficiently}, evident from lower perplexities achieved in fewer training steps.
|
| 200 |
+
\item In \textbf{Experiment 2}, we more closely examine a set of languages that exhibit count-based verb marking rules, using surprisal comparisons to target the relevant patterns. We find that \mbox{GPT-2s} trained on possible languages are more surprised by ungrammatical constructions, indicating that \emph{models disprefer agreement rules involving counting}.
|
| 201 |
+
\item In \textbf{Experiment 3}, we dive deeper into the internal mechanisms that models may develop to learn such count-based grammar rules using causal abstraction analysis. We find that \emph{models develop natural, modular solutions to unnatural grammatical patterns}.
|
| 202 |
+
\end{itemize}
|
| 203 |
+
|
| 204 |
+
Overall, our experimental results strongly challenge the claims of Chomsky and others given above, and we believe they pave the way for even deeper discussions of LLMs as models of language learning. At the same time, we recognize that models and humans exhibit fundamental differences, but the extent to which models favor or disfavor natural languages can be influenced by specific architectural decisions (as demonstrated by our findings on tokenization and positional encodings). We hope this paper initiates a new line of work that explores how different model architectures can distinguish between the possible and impossible languages.\footnote{The code for this paper is available at \url{https://github.com/jkallini/mission-impossible-language-models}.}
|
| 205 |
+
|
| 206 |
+
|
| 207 |
+
\section{Background and Related Work}
|
| 208 |
+
|
| 209 |
+
\subsection{Impossible Human Languages and Language Universals}
|
| 210 |
+
|
| 211 |
+
|
| 212 |
+
The notion of an impossible human language is elusive and difficult to define, in part due to a lack of consensus on which properties are universal in human language and which properties are ``impossible'' \citep{comrie1989language, evans2009myth, Nefdt_2024}.
|
| 213 |
+
For instance, \emph{recursion}, or the principle that all languages produce hierarchical syntactic structures via recursive procedures, has been claimed to be a universal property of human language \citep{chomsky1957syntactic, chomsky1965aspects, chomsky2002nature, hauser2002faculty}.
|
| 214 |
+
However, the motivations for recursion have been questioned, with empirical limits on the maximum depth of nested phrases \cite{karlsson2007constraints, jin-etal-2018-depth} and counterevidence from at least one natural language that seems to lack embedded structures \cite{everett2012piraha}. Still, if we grant that possible languages are defined by hierarchical, recursive rules, what defines the impossible languages? \citet{moro2023impossible} claim that the class of impossible languages would use the ``opposite'' type of rules: those based on the linear order of words. \citet{musso2003broca} provide a few concrete examples that involve counting word positions to mark features like negation and agreement, and we include languages with similar rules in our set of tested impossible languages.
|
| 215 |
+
|
| 216 |
+
It is important to also distinguish what is impossible from what is merely typologically marked, such as the word order patterns listed in \citeposs{greenberg1963universals} language universals. Previous work has shown that such word order universals can arise through a language's optimization of communication efficiency, achieved by balancing complexity and ambiguity \cite{hahnetal2020universals, futrell2022information}.
|
| 217 |
+
While our current exploration does not encompass attested languages, various impossible languages can similarly differ in their information-theoretic complexity, informing the patterns that lie at the boundary between possible and impossible.
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
|
| 222 |
+
\subsection{Training Language Models with Unnatural Word Orders}
|
| 223 |
+
|
| 224 |
+
The only work cited by Chomsky that investigates neural language models' ability to learn impossible languages is \citealt{mitchell-bowers-2020-priorless}, which finds that recurrent neural networks (RNNs; \citealp{elman1990finding}) trained on various unnatural language constructs, such as reversed sentences and randomized vocabularies, achieve high accuracy on a subject--verb number agreement task.
|
| 225 |
+
Other work turns to more recent Transformer-based language models \cite{vaswani2017attention}, observing their sensitivity to word order and phrase structure \cite{alleman-etal-2021-syntactic, galke2023makes} as well as their surprising ability to learn from syntactic information alone \cite{huang2023lexinvariant}.
|
| 226 |
+
Studies by \citet{sinha-etal-2021-masked} and \citet{abdou-etal-2022-word} debate the impact of tokenization, pretraining adjustments, and positional encodings in recovering word order information from shuffled languages.
|
| 227 |
+
Further investigations into BERT's \cite{devlin-etal-2019-bert} reliance on word order for grammatical role classification suggest that lexical cues alone may not always be sufficient for good performance (\citealp{papadimitriou-etal-2022-classifying-grammatical}; see also \citealp{hessel-schofield-2021-effective, pham-etal-2021-order}).
|
| 228 |
+
|
| 229 |
+
\subsection{Language Models and Formal Languages}
|
| 230 |
+
|
| 231 |
+
A related line of research examines the abilities of neural language models to express formal languages, as defined by the \emph{Chomsky hierarchy}
|
| 232 |
+
\cite{chomsky1956models,chomsky1959certain}. Human language is considered to be slightly more expressive than context-free languages due to certain syntactic phenomena that interleave constituents \cite{shieber1985evidence,joshi1985TAG}.
|
| 233 |
+
Previous work has shown that RNNs or related models can represent variants of counter and \textsc{Dyck} languages, which are context-free \cite{weiss-etal-2018-practical, merrill-2019-sequential, merrill-etal-2020-formal, hewitt-etal-2020-rnns}.\footnote{Though counter and \textsc{Dyck} languages are context-free, some of the variants in the cited work are regular.}
|
| 234 |
+
Similar work on Transformer architectures has shown that, while they are theoretically Turing-complete provided arbitrary precision and decoder steps \cite{perez2021attention}, they cannot empirically model many regular and non-regular languages \cite{hahn2020theoretical, ebrahimi-etal-2020-self, deletang2023neural}.
|
| 235 |
+
|
| 236 |
+
The inability of Transformer-based language models to learn more complex languages in the Chomsky hierarchy seems surprising, given their impressive performance on natural language. This could be interpreted as evidence that theoretically weak computational models are sufficient for expressing human language. Alternatively, Transformer-based models can be augmented to have inductive biases for nested, hierarchical structures through architecture changes, like the addition of a stack component \cite{hao-etal-2018-context, murty2023pushdown}, or data-centered approaches, like structural pretraining \cite{papadimitriou2023injecting}.
|
| 237 |
+
|
| 238 |
+
\section{Impossible Languages} \label{sec:impossible-languages}
|
| 239 |
+
|
| 240 |
+
\begin{table*}
|
| 241 |
+
\centering
|
| 242 |
+
\resizebox{1.0\textwidth}{!}{%
|
| 243 |
+
\begin{tabular}{l|l|l|l}
|
| 244 |
+
\toprule
|
| 245 |
+
\textbf{Class} & \textbf{Language} & \textbf{Example 1} & \textbf{Example 2} \\ \bottomrule
|
| 246 |
+
& & & \\[-1em]
|
| 247 |
+
\multirow{12}{*}{\textsc{*Shuffle}} & \textcolor{controlshuf}{\textsc{NoShuffle}} &
|
| 248 |
+
\texttt{\tokenHe\,\tokencleans\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenperiod} & \texttt{\tokenThey\,\tokenclean\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenperiod} \\[3pt] \cline{2-4}
|
| 249 |
+
& & & \\[-1em]
|
| 250 |
+
& \textcolor{nondetshuf}{\textsc{NondeterministicShuffle}} & \texttt{\tokenmessy\,\tokenbooks\,\tokenhis\,\tokenhe\,\tokenvery\,\tokenperiod\,\tokenlf\,\tokenHe\,\tokencleans} & \texttt{\tokenhis\,\tokenperiod\,\tokenvery\,\tokenhe\,\tokenThey\,\tokenmessy\,\tokenlf\,\tokenbooks\,\tokenclean} \\[3pt] \cline{2-4}
|
| 251 |
+
& & & \\[-1em]
|
| 252 |
+
& \textcolor{detshuf21}{\textsc{DeterministicShuffle}$(s=21)$} & \texttt{\tokencleans\,\tokenHe\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenvery\,\tokenperiod\,\tokenhis} & \texttt{\tokenclean\,\tokenThey\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenvery\,\tokenperiod\,\tokenhis} \\[3pt] \cline{2-4}
|
| 253 |
+
& & & \\[-1em]
|
| 254 |
+
& \textcolor{detshuf57}{\textsc{DeterministicShuffle}$(s=57)$} & \texttt{\tokencleans\,\tokenhis\,\tokenHe\,\tokenmessy\,\tokenperiod\,\tokenhe\,\tokenvery\,\tokenlf\,\tokenbooks} & \texttt{\tokenclean\,\tokenhis\,\tokenThey\,\tokenmessy\,\tokenperiod\,\tokenhe\,\tokenvery\,\tokenlf\,\tokenbooks} \\[3pt] \cline{2-4}
|
| 255 |
+
& & & \\[-1em]
|
| 256 |
+
& \textcolor{detshuf84}{\textsc{DeterministicShuffle}$(s=84)$} & \texttt{\tokenHe\,\tokenmessy\,\tokenperiod\,\tokenlf\,\tokenhis\,\tokenvery\,\tokenbooks\,\tokencleans\,\tokenhe} & \texttt{\tokenThey\,\tokenmessy\,\tokenperiod\,\tokenlf\,\tokenhis\,\tokenvery\,\tokenbooks\,\tokenclean\,\tokenhe} \\[3pt] \cline{2-4}
|
| 257 |
+
& & & \\[-1em]
|
| 258 |
+
& \textcolor{locshuf3}{\textsc{LocalShuffle}$(w=3)$} & \texttt{\tokenhis\,\tokenHe\,\tokencleans\,\tokenbooks\,\tokenvery\,\tokenmessy\,\tokenperiod\,\tokenhe\,\tokenlf} & \texttt{\tokenhis\,\tokenThey\,\tokenclean\,\tokenbooks\,\tokenvery\,\tokenmessy\,\tokenperiod\,\tokenhe\,\tokenlf} \\[3pt] \cline{2-4}
|
| 259 |
+
& & & \\[-1em]
|
| 260 |
+
& \textcolor{locshuf5}{\textsc{LocalShuffle}$(w=5)$} & \texttt{\tokenhis\,\tokenmessy\,\tokenvery\,\tokenHe\,\tokencleans\,\tokenlf\,\tokenbooks\,\tokenhe\,\tokenperiod} & \texttt{\tokenhis\,\tokenmessy\,\tokenvery\,\tokenThey\,\tokenclean\,\tokenlf\,\tokenbooks\,\tokenhe\,\tokenperiod} \\[3pt] \cline{2-4}
|
| 261 |
+
& & & \\[-1em]
|
| 262 |
+
& \textcolor{locshuf10}{\textsc{LocalShuffle}$(w=10)$} & \texttt{\tokenmessy\,\tokenbooks\,\tokenhis\,\tokenhe\,\tokenvery\,\tokenperiod\,\tokenlf\,\tokenHe\,\tokencleans} & \texttt{\tokenmessy\,\tokenbooks\,\tokenhis\,\tokenhe\,\tokenvery\,\tokenperiod\,\tokenlf\,\tokenThey\,\tokenclean} \\[3pt] \cline{2-4}
|
| 263 |
+
& & & \\[-1em]
|
| 264 |
+
& \textcolor{evenodd}{\textsc{EvenOddShuffle}} & \texttt{\tokenHe\,\tokenhis\,\tokenmessy\,\tokenhe\,\tokenperiod\,\tokencleans\,\tokenvery\,\tokenbooks\,\tokenlf} & \texttt{\tokenThey\,\tokenhis\,\tokenmessy\,\tokenhe\,\tokenperiod\,\tokenclean\,\tokenvery\,\tokenbooks\,\tokenlf} \\[3pt]
|
| 265 |
+
\hline
|
| 266 |
+
& & & \\[-1em]
|
| 267 |
+
\multirow{4}{*}{\textsc{*Reverse}} & \textcolor{controlrev}{\textsc{NoReverse}} & \texttt{\tokenHe\,\tokencleans\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenrev\,\tokenhe\,\tokenlf\,\tokenperiod} & \texttt{\tokenThey\,\tokenclean\,\tokenhis\,\tokenrev\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenperiod} \\[3pt] \cline{2-4}
|
| 268 |
+
& & & \\[-1em]
|
| 269 |
+
& \textcolor{partialrev}{\textsc{PartialReverse}} & \texttt{\tokenHe\,\tokencleans\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenrev\,\tokenperiod\,\tokenlf\,\tokenhe} & \texttt{\tokenThey\,\tokenclean\,\tokenhis\,\tokenrev\,\tokenperiod\,\tokenlf\,\tokenhe\,\tokenbooks\,\tokenmessy\,\tokenvery} \\[3pt] \cline{2-4}
|
| 270 |
+
& & & \\[-1em]
|
| 271 |
+
& \textcolor{fullrev}{\textsc{FullReverse}} & \texttt{\tokenperiod\,\tokenlf\,\tokenhe\,\tokenrev\,\tokenbooks\,\tokenmessy\,\tokenvery\,\tokenhis\,\tokencleans\,\tokenHe} & \texttt{\tokenperiod\,\tokenlf\,\tokenhe\,\tokenbooks\,\tokenmessy\,\tokenvery\,\tokenrev\,\tokenhis\,\tokenclean\,\tokenThey} \\[3pt] \hline
|
| 272 |
+
& & & \\[-1em]
|
| 273 |
+
\multirow{4}{*}{\textsc{*Hop}} & \textcolor{NoHop}{\textsc{NoHop}} & \texttt{\tokenHe\,\tokenclean\,\tokensing\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenperiod} & \texttt{\tokenThey\,\tokenclean\,\tokenplur\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenperiod} \\[3pt] \cline{2-4}
|
| 274 |
+
& & & \\[-1em]
|
| 275 |
+
& \textcolor{tokenhop}{\textsc{TokenHop}} & \texttt{\tokenHe\,\tokenclean\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokensing\,\tokenhe\,\tokenlf\,\tokenperiod} & \texttt{\tokenThey\,\tokenclean\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenplur\,\tokenhe\,\tokenlf\,\tokenperiod} \\[3pt] \cline{2-4}
|
| 276 |
+
& & & \\[-1em]
|
| 277 |
+
& \textcolor{wordhop}{\textsc{WordHop}} & \texttt{\tokenHe\,\tokenclean\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokensing\,\tokenperiod} & \texttt{\tokenThey\,\tokenclean\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenplur\,\tokenperiod} \\[3pt]
|
| 278 |
+
\toprule
|
| 279 |
+
\end{tabular}
|
| 280 |
+
}
|
| 281 |
+
\caption{List of impossible languages with examples. Control (`\textsc{No*}') languages have patterns that resemble English. Differently colored
|
| 282 |
+
blocks represent different GPT-2 tokens. }
|
| 283 |
+
\label{tab:perturbations}
|
| 284 |
+
\end{table*}
|
| 285 |
+
|
| 286 |
+
Core to our experiments are the set of \emph{impossible languages} we synthesize. In constructing these artificial counterfactual languages, we consider their information-theoretic attributes relevant to machine learning, such as entropy rate, as well as their formal linguistic characteristics, such as adherence to hierarchical grammatical structures. We believe that our choice of languages broadly spans the impossibility continuum hypothesized in \Cref{fig:language-continuum}.
|
| 287 |
+
|
| 288 |
+
Concretely, we specify impossible languages by defining \emph{perturbation functions} of English sentences. These perturbation functions map English input sentences to sequences of tokens. We categorize our languages into three classes: \textsc{*Shuffle}, \textsc{*Reverse}, and \textsc{*Hop}, defined in the next subsections. Each class has one control language that represents unaltered English, or a pattern that is very similar to English. \Cref{tab:perturbations} provides examples of perturbed sentences in each language.
|
| 289 |
+
|
| 290 |
+
\subsection{\textsc{*Shuffle} Languages.}
|
| 291 |
+
|
| 292 |
+
The first set of impossible languages, which we call the \textsc{*Shuffle} languages, involve different shuffles of tokenized English sentences.
|
| 293 |
+
|
| 294 |
+
\begin{enumerate}
|
| 295 |
+
\item \textbf{\textcolor{controlshuf}{\textsc{NoShuffle}}}: The input sentence is tokenized, and the token sequence is unaltered. This language is simply English, used for comparison with other \textsc{*Shuffle} languages.
|
| 296 |
+
|
| 297 |
+
\item \textbf{\textcolor{nondetshuf}{\textsc{NondeterministicShuffle}}}: The tokenized input sentence is randomly shuffled. A different random shuffle is used for each input sentence, with no consistency across inputs.
|
| 298 |
+
|
| 299 |
+
\item \textbf{\textcolor{detshuf57}{\textsc{DeterministicShuffle}($s$)}}: The tokenized input sentence is deterministically shuffled based on the length of the token sequence. For example, all token sequences of length~5 are shuffled in the same order. We create several languages by varying the random seed~$s$ that produces the shuffle.
|
| 300 |
+
|
| 301 |
+
\item \textbf{\textcolor{locshuf5}{\textsc{LocalShuffle}($w$)}}: The tokenized input sentence is deterministically shuffled in local windows of a fixed size $w$. We create several languages by varying $w$.
|
| 302 |
+
|
| 303 |
+
\item \textbf{\textcolor{evenodd}{\textsc{EvenOddShuffle}}}: The tokenized input sentence is reordered such that all even-indexed tokens appear first, followed by all odd-indexed tokens.
|
| 304 |
+
|
| 305 |
+
\end{enumerate}
|
| 306 |
+
|
| 307 |
+
\vspace{6pt}
|
| 308 |
+
\noindent
|
| 309 |
+
The random shuffling function that generates the \textsc{NondeterministicShuffle} language is irreversible, resulting in sentences that are purely bags of words---any structural information in the original linguistic signal is irretrievable.
|
| 310 |
+
While the \textsc{DeterministicShuffle} languages are created using a reversible perturbation function, this function operates in an entirely non-linguistic manner; words are ordered based solely on the random seed and sentence length, without considerations for linguistic features or \emph{information locality}---the property that, when parts of text predict each other, they are often close together \citep{futrell-2019-information,mansfield2023emergence}. This method is arguably even less humanly feasible than \textsc{NondeterministicShuffle}, as it relies on an arbitrarily complex yet consistent rule to determine word order.\footnote{Even in the imaginable case of a language with completely free word order, it seems extremely unlikely that this freedom would be totally insensitive to any clause boundaries while the language otherwise looks morphologically like English does. It thus seems very safe to assume that our \textsc{NondeterministicShuffle} language counts as impossible.}
|
| 311 |
+
The question of ranking these two families of languages in the impossibility continuum probes at the definition of impossibility and whether reversibility to an attested language like English is a relevant quantity.
|
| 312 |
+
|
| 313 |
+
The \textsc{LocalShuffle} languages offer a finer-grained testbed for the importance of information locality, since we can observe the effects of different window sizes. Finally, \textsc{EvenOddShuffle} also manipulates locality, but interestingly preserves part of the linear word order of English while introducing new long-distance dependencies.
|
| 314 |
+
|
| 315 |
+
\subsection{\textsc{*Reverse} Languages.}
|
| 316 |
+
|
| 317 |
+
The \textsc{*Reverse} impossible languages involve reversals of all or part of input sentences.
|
| 318 |
+
|
| 319 |
+
\begin{enumerate}
|
| 320 |
+
\item \textbf{\textcolor{controlrev}{\textsc{NoReverse}}}: The input sentence is tokenized, and a special marker token \revmarker\space is inserted at a random position in the token list. Like \textsc{NoShuffle}, this language is most similar to English. We use it for comparison with other \textsc{*Reverse} languages.
|
| 321 |
+
|
| 322 |
+
\item \textbf{\textcolor{partialrev}{\textsc{PartialReverse}}}: The input sentence is tokenized, a special marker token \revmarker\space is inserted at a random position in the list of tokens, and the following tokens are reversed.
|
| 323 |
+
|
| 324 |
+
\item \textbf{\textcolor{fullrev}{\textsc{FullReverse}}}: The input sentence is tokenized, a special marker token \revmarker\space is inserted at a random position in the token list, and \emph{all} tokens are reversed.
|
| 325 |
+
|
| 326 |
+
\end{enumerate}
|
| 327 |
+
|
| 328 |
+
\vspace{6pt}
|
| 329 |
+
\noindent
|
| 330 |
+
The \textsc{PartialReverse} language is inspired by the experiments of \citet{mitchell-bowers-2020-priorless} on partially reversed English data, though our experiments are not a direct replication, since we use a different model architecture and dataset. \textsc{FullReverse} may seem like a plausible language syntactically, but higher-level linguistic concepts like anaphora would be highly disrupted.
|
| 331 |
+
The \revmarker\space tokens are placed at the same positions across the data in all \textsc{*Reverse} languages to control for the entropy introduced by their random placement.
|
| 332 |
+
|
| 333 |
+
\subsection{\textsc{*Hop} Languages.}
|
| 334 |
+
|
| 335 |
+
The \textsc{*Hop} languages perturb verb inflection with counting rules.
|
| 336 |
+
|
| 337 |
+
\begin{enumerate}
|
| 338 |
+
\item \textbf{\textcolor{NoHop}{\textsc{NoHop}}}: All 3rd-person present tense verbs in the input sentence are lemmatized, and the sentence is tokenized. For each 3rd-person present tense verb, a special marker representing the verb's number and tense is placed right after the lemmatized verb. Singular verbs are marked with a special token \singularmarker, and plural verbs are marked with \pluralmarker. Like the other control languages, \textsc{NoHop} has a pattern that is most similar to English.
|
| 339 |
+
|
| 340 |
+
\item \textbf{\textcolor{tokenhop}{\textsc{TokenHop}}}: Identical transformation to \textsc{NoHop}, but the special number/tense markers are placed 4 tokens after the verb.
|
| 341 |
+
|
| 342 |
+
\item \textbf{\textcolor{wordhop}{\textsc{WordHop}}}: Identical transformation to \textsc{NoHop} and \textsc{TokenHop}, but the special number/tense markers are placed 4 \emph{words} after the verb, skipping punctuation.
|
| 343 |
+
|
| 344 |
+
\end{enumerate}
|
| 345 |
+
|
| 346 |
+
\vspace{6pt}
|
| 347 |
+
\noindent
|
| 348 |
+
These languages specifically investigate GPT-2's ability to learn grammar rules that involve counting the positions of words or tokens.
|
| 349 |
+
|
| 350 |
+
\section{Experiments}
|
| 351 |
+
|
| 352 |
+
\begin{figure*}
|
| 353 |
+
\centering
|
| 354 |
+
\includegraphics[width=1.0\textwidth]{perplexity_figures/perplexities.pdf}
|
| 355 |
+
\caption{Perplexities on a sample of 10K test sentences for each
|
| 356 |
+
impossible language model over training steps. Error bars indicate 95\% confidence intervals across 5 training runs initialized with different random seeds and evaluated on different test samples.}
|
| 357 |
+
\label{fig:perplexities}
|
| 358 |
+
\end{figure*}
|
| 359 |
+
|
| 360 |
+
We run several experiments to assess GPT-2's learning of our impossible languages. Our first experiment (\Cref{sec:perplexities}) uses perplexities as a general evaluation to compare how well each impossible language model has learned its own perturbed language and see whether this reflects the hypothesized impossibility continuum. In our second and third experiments, we conduct a closer examination of the \textsc{*Hop} languages. Given that their count-based verb marking rules appear to be the least clearly implausible among our proposed languages, we focus on examining these rules specifically through targeted assessments using surprisal theory (\Cref{sec:surprisals}). Finally, we dive deeper into the mechanisms each \textsc{*Hop} model uses to predict their respective verb marking rules using causal abstraction analysis (\Cref{sec:causal-abstractions}). For all evaluations, we run tests on several model checkpoints to observe the learning process over intervals of training steps.\footnote{
|
| 361 |
+
We also conduct a constituency probing experiment to test effects on GPT-2's implicit understanding of syntax, with minimal observed differences among models (see \Cref{sec:appendix-probing}).}
|
| 362 |
+
|
| 363 |
+
\subsection{Implementation Details}
|
| 364 |
+
|
| 365 |
+
For each impossible language, we apply its perturbation function to each sentence of the BabyLM dataset \cite{warstadt2023papers} to create a transformed dataset.
|
| 366 |
+
\Cref{sec:appendix-dataset-filters} provides details on preprocessing and formatting, and describes the language-specific filtering needed to achieve the criteria that define each language.
|
| 367 |
+
|
| 368 |
+
|
| 369 |
+
|
| 370 |
+
|
| 371 |
+
We train standard GPT-2 small models \cite{radford2018improving, radford2019languagemodels} on each impossible language. To produce confidence intervals for our experiments, we train 5 sets of models for each language using different random seeds, which affect the model parameter initialization and dataset shuffling during training. Training and model hyperparameter choices are detailed in \Cref{sec:appendix-hyperparameters}.
|
| 372 |
+
The primary set of GPT-2 models we train have absolute positional encodings. We also train a set of GPT-2 small models with an architecture in which the positional encodings are removed, so that the models' only notion of word order is derived from \mbox{GPT-2's} causal language modeling learning objective \cite{kazemnejad2023impact}. Results for these additional experiments supported our main findings on the unaltered GPT-2 architecture. These results are provided in \Cref{sec:appendix-no-pos-encoding}.
|
| 373 |
+
|
| 374 |
+
|
| 375 |
+
\subsection{Experiment 1: Language Models Reflect the Impossibility Continuum}
|
| 376 |
+
\label{sec:perplexities}
|
| 377 |
+
|
| 378 |
+
We train GPT-2 models on all of the languages described in \Cref{tab:perturbations}, and evaluate each model's perplexities on a test set over the course of training. Test perplexities provide a general metric for the extent to which a model has learned a language.
|
| 379 |
+
|
| 380 |
+
|
| 381 |
+
|
| 382 |
+
\paragraph{Setup.}
|
| 383 |
+
We sample 10K sentences from the BabyLM test set and perturb this sample for each impossible language. For a given impossible language model, we report the geometric mean of the individual sentence perplexities in the corresponding test sample.
|
| 384 |
+
|
| 385 |
+
\paragraph{Hypothesis.} Models trained on possible languages will achieve lower average perplexities more quickly (as measured in training steps) than those trained on impossible languages.
|
| 386 |
+
|
| 387 |
+
\paragraph{Results.} Our results are in \Cref{fig:perplexities}.
|
| 388 |
+
There are clear distinctions between model perplexities after about 500 training steps. First considering the \textsc{*Shuffle} models, the \textsc{NondeterministicShuffle} model has the highest perplexities, followed by the three \textsc{DeterministicShuffle} models, indicating that GPT-2 is better at learning shuffling patterns when they are deterministic, invertible functions.\footnote{This result is also supported by separate evaluations of each \textsc{DeterministicShuffle} model on test data from other shuffles (see \Cref{sec:appendix-deterministic-shuffle}). Each model has lower perplexities on its own deterministic shuffle.}
|
| 389 |
+
The prevalence of certain sentence lengths in the corpus could also limit the variety of sentence shuffles in the \textsc{DeterministicShuffle} languages, potentially resulting in similarly functioning words frequently occupying the same token positions, thus increasing their predictability.
|
| 390 |
+
|
| 391 |
+
Following the sentence-level shuffles, the next models in the order of decreasing perplexity are the three \textsc{LocalShuffle} models, with smaller window sizes having lower perplexities. \textsc{LocalShuffle}$(w=3)$ and \textsc{EvenOddShuffle} have perplexities closest to the \textsc{NoShuffle} model (which represents unaltered English), but \textsc{NoShuffle} consistently has the lowest perplexities throughout the training process.
|
| 392 |
+
|
| 393 |
+
Compared to the \textsc{*Shuffle} models, the experimental \textsc{*Reverse} models have perplexities that are much closer to the \textsc{NoReverse} model, and \textsc{PartialReverse} is slightly better than \textsc{FullReverse}. For the \textsc{*Hop} languages, their respective control model again has the lowest perplexities, although differences among the models are quite minimal.
|
| 394 |
+
This warrants our deep-dive into the particular verb marking patterns for this set of models.
|
| 395 |
+
|
| 396 |
+
\subsection{Experiment 2: Language Models Disprefer Counting Rules} \label{sec:surprisals}
|
| 397 |
+
|
| 398 |
+
\begin{figure*}
|
| 399 |
+
\centering
|
| 400 |
+
\begin{subfigure}[t]{0.48\textwidth}
|
| 401 |
+
\centering
|
| 402 |
+
\includegraphics[width=1.0\linewidth]{surprisal_figures/hop_marker_surprisals.pdf}
|
| 403 |
+
\caption{Test 1: mean surprisals of the verb marker token (\singularmarker
|
| 404 |
+
\space or \pluralmarker) for each \textsc{*Hop} model. }
|
| 405 |
+
\label{fig:surprisals}
|
| 406 |
+
\end{subfigure}\hfill
|
| 407 |
+
\begin{subfigure}[t]{0.48\textwidth}
|
| 408 |
+
\centering
|
| 409 |
+
\includegraphics[width=1.0\linewidth]{surprisal_figures/hop_surprisal_differences.pdf}
|
| 410 |
+
\caption{Test 2: mean surprisal difference between the verb marker token (\singularmarker
|
| 411 |
+
\space or \pluralmarker) and the following token for each \textsc{*Hop} model.}
|
| 412 |
+
\label{fig:surprisal_differences}
|
| 413 |
+
\end{subfigure}
|
| 414 |
+
\caption{Surprisal tests for each \textsc{*Hop} model over training steps. Error bars indicate 95\% confidence intervals across 5 training runs initialized with different random seeds and evaluated on different test samples.}
|
| 415 |
+
\label{fig:surprisal_results}
|
| 416 |
+
\end{figure*}
|
| 417 |
+
|
| 418 |
+
In Experiment 1, we show that impossible languages are harder for GPT-2 to learn. However, perplexity is a coarse-grained metric of language learning, and the question remains: do language models learn natural grammatical structures better than impossible grammars?
|
| 419 |
+
|
| 420 |
+
The structure of the \textsc{*Hop} languages invites a
|
| 421 |
+
finer-grained evaluation of their verb marking rules. We use \emph{surprisals} to measure how well each \textsc{*Hop} model can predict the placement of its
|
| 422 |
+
verb marker tokens, \singularmarker \space and \pluralmarker. The surprisal
|
| 423 |
+
$S(w_i)$ of a word $w_i$ is the negative log probability of $w_i$ given
|
| 424 |
+
the context words $w_1, \ldots, w_{i-1}$ that precede it:
|
| 425 |
+
$S(w_i) = -\log_2 p(w_i|w_1, \ldots,w_{i-1})$.
|
| 426 |
+
Surprisals have been used as acceptability judgments from neural language models to probe for their processing of syntactic information
|
| 427 |
+
\cite{wilcox-etal-2018-rnn, futrell-etal-2019-neural, hu-etal-2020-systematic,
|
| 428 |
+
wilcox2023syntactic} and have been shown to correlate with human sentence processing difficulty
|
| 429 |
+
\cite{hale-2001-probabilistic, levy2008expectation}.
|
| 430 |
+
|
| 431 |
+
\paragraph{Setup.}
|
| 432 |
+
To test the \textsc{*Hop} models' sensitivity to marker placement, we conduct two tests on a sample of 10K sentences extracted from the BabyLM dataset containing the verb marker tokens (\singularmarker \space or \pluralmarker).
|
| 433 |
+
As an example, consider the following pair of sentences for the \textsc{NoHop} language shown in~\ref{ex:control_hop_pair}.
|
| 434 |
+
|
| 435 |
+
\ex. \label{ex:control_hop_pair}
|
| 436 |
+
\a. \textsmaller[1]{\texttt{\tokenHe\,\tokenclean\,\tokensing\,\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenperiod}} \label{ex:control_hop_a}
|
| 437 |
+
\b. *\textsmaller[1]{\texttt{\tokenHe\,\tokenclean}\_\_\texttt{\tokenhis\,\tokenvery\,\tokenmessy\,\tokenbooks\,\tokenhe\,\tokenlf\,\tokenperiod}} \label{ex:control_hop_b}
|
| 438 |
+
|
| 439 |
+
Sentence~\ref{ex:control_hop_a} is an example in the \textsc{NoHop} language, and \ref{ex:control_hop_b} is an ungrammatical counterfactual in which the marker token does not appear.
|
| 440 |
+
|
| 441 |
+
In the first test, we compare the average surprisals of the marker tokens across the three \textsc{*Hop} languages, using grammatical examples like~\ref{ex:control_hop_a}.
|
| 442 |
+
In the case of~\ref{ex:control_hop_a}, the marker is singular, and its surprisal $S(\texttt{\,\tokensing\,})$ is defined as:
|
| 443 |
+
$$S(\texttt{\,\tokensing\,}) = -\log_2p(\texttt{\,\tokensing\,$|$\,\tokenHe\,\tokenclean\,})$$
|
| 444 |
+
We average this surprisal value for instances of \singularmarker \space or \pluralmarker \space in the test sample.
|
| 445 |
+
|
| 446 |
+
In the second test, we construct minimal pairs from the example sentences in which the marker token appears and does not appear, and then compare the surprisal of the marker token to the surprisal of the token that follows it, both conditioned on the same context.
|
| 447 |
+
In example~\ref{ex:control_hop_b}, the surprisal of the following token $S(\texttt{\,\tokenhis\,})$ is defined as:
|
| 448 |
+
$$S(\texttt{\,\tokenhis\,}) = -\log_2p(\texttt{\,\tokenhis\,$|$\,\tokenHe\,\tokenclean\,})$$
|
| 449 |
+
We expect $S(\texttt{\,\tokenhis\,}) - S(\texttt{\,\tokensing\,})$
|
| 450 |
+
to be a large positive value.
|
| 451 |
+
We average such surprisal differences over instances of the marker tokens in the test sample and similarly define marker surprisals and minimal pair configurations for the other \textsc{*Hop} languages.
|
| 452 |
+
|
| 453 |
+
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
|
| 457 |
+
\paragraph{Hypothesis.}
|
| 458 |
+
For the first surprisal test, our hypothesis is that the mean surprisal of the marker tokens across test examples will be smaller for the control language than for the impossible languages.
|
| 459 |
+
For the second test, our hypothesis is that the mean surprisal difference across all test pairs will be larger for possible languages than for impossible ones.
|
| 460 |
+
|
| 461 |
+
|
| 462 |
+
|
| 463 |
+
\paragraph{Results.}
|
| 464 |
+
|
| 465 |
+
Our results are presented in \Cref{fig:surprisal_results}. The \textsc{NoHop} model, which has the verb marking pattern most similar to English, consistently has the lowest mean marker surprisal across training steps in test 1 (\Cref{fig:surprisals}). The \textsc{NoHop} model also has the highest mean surprisal difference across training steps in test 2 (\Cref{fig:surprisal_differences}). Both of these results indicate that GPT-2 has learned to expect the marker tokens when they follow a more natural grammatical pattern and was very surprised when they did not appear at the correct positions.
|
| 466 |
+
|
| 467 |
+
GPT-2 learns to expect marker tokens at the right locations in the other \textsc{*Hop} models, just not as well as the control. \textsc{TokenHop} tends to have a lower marker surprisal and a higher mean surprisal difference compared to \textsc{WordHop} across training steps, indicating that GPT-2 is better at learning the verb marking rule when the units being counted are tokens instead of words.
|
| 468 |
+
|
| 469 |
+
|
| 470 |
+
\subsection{Experiment 3: Language Models Develop Natural Solutions to Unnatural Patterns} \label{sec:causal-abstractions}
|
| 471 |
+
|
| 472 |
+
Experiment 2 demonstrates that, while GPT-2 favors natural grammar rules, it is also capable of acquiring count-based grammar rules like those seen in the verb marking patterns of our \textsc{*Hop} languages. But what sorts of internal mechanisms does it implement to learn such grammar rules, and how do these mechanisms compare to the more natural control? To address this, we conduct a final experiment using \emph{causal abstraction analysis}, which offers an interpretability framework for identifying and examining causal mechanisms within neural models \cite{geiger-etal-2020-neural, geiger2021causal, wu-etal-2022-causal, pmlr-v202-wu23b, wu-etal-2023-Boundless-DAS, geiger2023finding}. We employ the \emph{interchange intervention} technique on our \textsc{*Hop} models. To perform a basic interchange intervention on a neural model $M$, we create two instances of $M$ that are provided two different inputs, the base input $b$ and the source input~$s$. Then, we interchange representations created while processing~$b$ with representations created while processing~$s$ and observe the effect on the output of~$M$. Such interventions allow us to piece together a causal understanding of how the model processes inputs.
|
| 473 |
+
|
| 474 |
+
\paragraph{Setup.}
|
| 475 |
+
|
| 476 |
+
\begin{figure}
|
| 477 |
+
\centering
|
| 478 |
+
\includegraphics[width=0.4\textwidth]{diagrams/hop-intervention.pdf}
|
| 479 |
+
\caption{An \emph{interchange intervention} on the \textsc{NoHop} model with base input $b = \texttt{The man be}$ and source input $s = \texttt{The men be}$. The intervention is performed at the second layer and second token position, causing a change in prediction from \tokensing \space to \tokenplur.}
|
| 480 |
+
\label{fig:hop-intervention}
|
| 481 |
+
\end{figure}
|
| 482 |
+
|
| 483 |
+
\begin{figure*}[ht]
|
| 484 |
+
\centering
|
| 485 |
+
\includegraphics[width=0.329\textwidth]{intervention_figures/IIA_hop_control_ckpts.pdf}
|
| 486 |
+
\includegraphics[width=0.329\textwidth]{intervention_figures/IIA_hop_tokens4_ckpts.pdf}
|
| 487 |
+
\includegraphics[width=0.329\textwidth]{intervention_figures/IIA_hop_words4_ckpts.pdf}
|
| 488 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for each
|
| 489 |
+
\textsc{*Hop} model over training steps. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention. $t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and verb, respectively. $t_1 \dots t_4$ represent the four tokens/words between the verb and its marker for \textsc{TokenHop} and \textsc{WordHop}.
|
| 490 |
+
IIA values are averaged over results from 5 models initialized on different random seeds. See \Cref{sec:intervention_confidence_intervals} for confidence intervals.
|
| 491 |
+
}
|
| 492 |
+
\label{fig:iia_hop_models}
|
| 493 |
+
\end{figure*}
|
| 494 |
+
|
| 495 |
+
We use interchange interventions to identify representations in our \textsc{*Hop} models
|
| 496 |
+
that have causal effects on their output behaviors on a subject--verb agreement task. In
|
| 497 |
+
our experimental setup, $b$ is a sentence prefix with a singular subject and $s$ is
|
| 498 |
+
an identical prefix with the plural form of the subject. These prefixes include all
|
| 499 |
+
tokens up to but not including the markers (\singularmarker \space and \pluralmarker).
|
| 500 |
+
We interchange the GPT-2 block outputs from processing~$b$ with GPT-2 block outputs
|
| 501 |
+
from processing~$s$ and observe %
|
| 502 |
+
whether the probability of plural marker~\pluralmarker \space is higher than the probability
|
| 503 |
+
of singular marker~\singularmarker \space after the intervention. This is
|
| 504 |
+
shown more concretely in \Cref{fig:hop-intervention}.
|
| 505 |
+
|
| 506 |
+
We run such interventions at each GPT-2 layer and token position to see which
|
| 507 |
+
parts of the model cause a change in the marker prediction. We run all of these
|
| 508 |
+
interventions over several test examples and report the \emph{interchange intervention
|
| 509 |
+
accuracy} (IIA), a metric that represents the subject--verb agreement accuracy if the
|
| 510 |
+
counterfactual (i.e.\ plural) were the ground truth. The test examples for each \textsc{*Hop} model are extracted from their respective versions of the BabyLM test set, and minimally-different counterfactual examples are created by changing the singular subjects to plural subjects.
|
| 511 |
+
To ensure that interventions on different examples are analogous, we use regular expressions to locate examples that follow the same structure (i.e.\ subjects and verbs at the same positions).
|
| 512 |
+
|
| 513 |
+
\paragraph{Results.}
|
| 514 |
+
|
| 515 |
+
Our results are presented in \Cref{fig:iia_hop_models}. The IIA graphs
|
| 516 |
+
demonstrate how information about the marker tokens flows through the models.
|
| 517 |
+
We can see that, in all three \textsc{*Hop} models, IIA is high at the token position
|
| 518 |
+
of the subject up until about layer 3; then there is a transition to the position of
|
| 519 |
+
the last token in the prefix, preceding the location where the marker should be predicted.
|
| 520 |
+
All models develop the same modular solution to the task by tracking
|
| 521 |
+
agreement through the representations at the relevant positions, but the
|
| 522 |
+
\textsc{NoHop} model obtains nearly 100\% IIA earlier during training, at about
|
| 523 |
+
1,500 training steps, supporting the previous surprisal results.
|
| 524 |
+
|
| 525 |
+
\section{Discussion and Conclusion}
|
| 526 |
+
|
| 527 |
+
|
| 528 |
+
Contra claims by Chomsky and others that LLMs cannot possibly inform our understanding of human language, we argue there is great value in treating LLMs as a comparative system for human language and in understanding what systems like LLMs can and cannot learn.
|
| 529 |
+
Prior explorations of neural language models have already been fruitful for understanding the generalization of syntactic principles from data \cite{wilcox-etal-2018-rnn, marvin-linzen-2018-targeted, futrell-etal-2019-neural, prasad-etal-2019-using, hu-etal-2020-systematic}. Our paper complements this line of work.
|
| 530 |
+
We have shown that GPT-2 models do not master our set of synthetic impossible languages as well as natural ones, challenging the unfounded assertions stated previously.
|
| 531 |
+
|
| 532 |
+
Even in the absence of a clear definition of what constitutes a possible or impossible language, we believe that our investigations advance this debate regarding LLMs. The lack of a definition does not hinder inquiry into this topic; in fact, it beckons further explorations of the boundary between the possible and impossible languages, as shown in our hypothesized continuum in \Cref{fig:language-continuum}. We believe that the \textsc{*Hop} languages we propose closely approach this boundary.
|
| 533 |
+
|
| 534 |
+
At the same time, conclusions about LLMs' linguistic competence and preferences for natural languages should be informed by an understanding of the ways that models fundamentally differ from humans. For instance, we saw that models can perform operations that involve counting tokens because LLMs rely on tokens as basic units. While humans are sensitive to morpheme boundaries and word boundaries, it is unlikely humans rely on atomic tokens in the way that LLMs do.
|
| 535 |
+
This does not mean that LLMs can fundamentally tell us nothing about human language.
|
| 536 |
+
Rather, as we did here, it is valuable to consider and control for this difference before making generalizations.
|
| 537 |
+
|
| 538 |
+
Since at least the 1950s, a major line of linguistic inquiry has focused on what aspects of syntactic structure can be learned just from data, without domain-specific innate priors (e.g.~a \emph{Universal Grammar}).
|
| 539 |
+
LLMs lack strong in-built linguistic priors, yet they can learn complex syntactic structures.
|
| 540 |
+
While many LLMs are trained with vastly more data than children see, there is increasing evidence that even systems trained on smaller amounts of data can learn interesting linguistic information \citep{warstadt2023papers}.
|
| 541 |
+
The current paper raises further questions along similar lines. Since we do find that real languages are more learnable by GPT-2, this leads us to wonder what inductive bias of GPT language models matches natural language.
|
| 542 |
+
We believe that this inductive bias is related to information locality, the tendency for statistical correlations in text to be short range.
|
| 543 |
+
Information locality arises in GPTs due to their autoregressive training objective and has been argued to arise in humans due to the incremental nature of real-time language processing \citep{futrell-2019-information,Hahn2021}.
|
| 544 |
+
|
| 545 |
+
Since LLMs have been shown to learn the complex structures of human language and have a preference for learning such structures over unnatural counterfactuals, it follows that they are clearly relevant to investigations and claims about the necessary innate priors for language learning.
|
| 546 |
+
Arguments that they are ``by design, unlimited in what they can `learn''' and ``incapable of distinguishing the possible from the impossible'' \citep{chomsky2023nyt} do not offer convincing evidence otherwise.
|
| 547 |
+
|
| 548 |
+
|
| 549 |
+
\section{Acknowledgments}
|
| 550 |
+
|
| 551 |
+
The authors would like to thank Aryaman Arora, Christiane Fellbaum, Roger Levy, Tristan Thrush, and Diyi Yang for helpful comments on the project. We would also like to thank the members of the Stanford NLP Group, the MIT Computational Psycholinguistics Lab, and the anonymous reviewers for useful discussions. Julie Kallini is supported by a National Science Foundation Graduate Research Fellowship under grant number DGE-2146755.
|
| 552 |
+
|
| 553 |
+
\section{Limitations}
|
| 554 |
+
|
| 555 |
+
Due to resource constraints, we exclusively use the GPT-2 architecture to train models on our various synthetic impossible languages. Each of our experiments involves training a GPT-2 model from scratch on a different language dataset, and for every such language, we train multiple GPT-2 models to establish confidence intervals for our evaluation metrics. Applying this approach to several different model architectures would be quite resource-intensive, so we opted to choose a single architecture in this paper. Future work could apply our methodology to models trained with different architectures or training objectives.
|
| 556 |
+
|
| 557 |
+
Our impossible languages are derived by manipulating an English dataset. While we do not conduct experiments that use other natural languages as a starting point, our experimental choices (i.e.\ the synthetic languages we design) are informed by linguistic diversity and typology, distinguishing our impossible languages from those that are rare but attested. However, future work might involve deriving impossible languages from base languages other than English and include more morphological manipulations.
|
| 558 |
+
|
| 559 |
+
\section{Ethics Statement}
|
| 560 |
+
|
| 561 |
+
While this work makes the case for language models as useful tools for cognitive science and linguistics research, these models learn and generate language through processes that are fundamentally different from those employed by humans. Making direct claims about human language learning based on the results of this paper could pose potential risks and harms. This research merely aims to explore the learnability of different languages (specifically, those languages that \emph{cannot} be acquired by humans and are not representative of any known human language) through the lens of neural models.
|
| 562 |
+
|
| 563 |
+
\bibliography{anthology,custom}
|
| 564 |
+
\bibliographystyle{acl_natbib}
|
| 565 |
+
|
| 566 |
+
\newpage
|
| 567 |
+
|
| 568 |
+
\appendix
|
| 569 |
+
|
| 570 |
+
\section*{Supplementary Materials}
|
| 571 |
+
|
| 572 |
+
\section{Dataset Filters} \label{sec:appendix-dataset-filters}
|
| 573 |
+
|
| 574 |
+
The BabyLM dataset \cite{warstadt2023papers} is an English-language dataset of
|
| 575 |
+
about 100 million words intended to approximate the
|
| 576 |
+
amount of linguistic data available to an English-speaking child.
|
| 577 |
+
To create a dataset for an impossible language, we first pre-process the BabyLM dataset using Stanza \cite{qi2020stanza}. We perform sentence segmentation on each dataset file and then extract part-of-speech (POS) and morphological feature tags for all the sentences, which are required for the \textsc{*Hop} transformations. We transform each tagged sentence in the original BabyLM dataset using the impossible language's rule-based perturbation function, as described in \Cref{sec:impossible-languages}.
|
| 578 |
+
Depending on the class of the impossible language and the specific features of the input sentence, perturbed sentences may be included or excluded from the final dataset used for model training (see below %
|
| 579 |
+
for details on this filtering). Since we apply these filters, the language classes have datasets of slightly different sizes. The \textsc{*Shuffle} and \textsc{*Reverse} languages have training sets of about 9.69 million sentences, and the \textsc{*Hop} languages have training sets of about 8.43 million sentences.
|
| 580 |
+
|
| 581 |
+
\paragraph{\textsc{*Shuffle Filters}}
|
| 582 |
+
For the \textsc{*Shuffle} languages, we filter sentences from the BabyLM dataset such that the set of token sequence lengths seen in the validation and test sets are also seen in the training set. This ensures that any shuffles for the \textsc{DeterministicShuffle} perturbation (which are determined by the token sequence length) in the test set have also occurred at least once in the training set. We apply these filters for all \textsc{*Shuffle} languages such that their datasets are comprised of the same subset of original sentences.
|
| 583 |
+
|
| 584 |
+
\paragraph{\textsc{*Reverse Filters}}
|
| 585 |
+
For the \textsc{*Reverse} languages, we do not apply any sentence filtering, so their models are trained on the entire BabyLM dataset.
|
| 586 |
+
|
| 587 |
+
\paragraph{\textsc{*Hop Filters}}
|
| 588 |
+
|
| 589 |
+
For the \textsc{*Hop} languages, we filter out sentences from the BabyLM dataset that would not allow the special markers to fully complete 4 hops in the \textsc{TokenHop} or \textsc{WordHop} perturbations, i.e.\ sentences in which a 3rd-person present tense verb is too close to the end of the sentence. We again filter out these sentences from all perturbations, so \textsc{TokenHop}, \textsc{WordHop}, and \textsc{NoHop} are comprised of the same subset of original sentences from the BabyLM dataset.
|
| 590 |
+
|
| 591 |
+
\section{GPT-2 Training Details and Hyperparameters} \label{sec:appendix-hyperparameters}
|
| 592 |
+
|
| 593 |
+
We train GPT-2 small models with a standard training regime \cite{radford2018improving, radford2019languagemodels} using the library of \citet{Mistral}. We mostly use the default GPT-2 small hyperparameters to train our models (context length of 1024, batch size of 512, etc.). We only change the total number of training steps and the number of warm-up steps. We train with a learning rate that linearly warms up from 0 to 6e-4 over 300 steps. While 10\% of steps for warm-up is typical for LLM training, we acknowledge that the best warm-up may be different when using a small pretraining dataset, so we also tried 1,000 warm-up steps and 4,000 warm-up steps. (4,000 steps is the GPT-2 default. Since we only train for 3,000 steps, this effectively means we have a learning-rate that linearly warms up from 0 to \mbox{4.5e-4}.) Using a different warm-up did not change the ranking of impossible language model perplexities.
|
| 594 |
+
|
| 595 |
+
We train the models for 3,000 training steps, which equates to about 11.03 epochs for the \textsc{*Shuffle} languages, 10.05 epochs for the \textsc{*Reverse} languages, and 12.04 epochs for the \textsc{*Hop} languages. The vocabulary set also varies based on the language. The \textsc{*Shuffle} languages use the standard GPT-2 vocabulary containing 50,257 tokens; the \textsc{*Reverse} languages add one special token \revmarker, for a vocabulary size of 50,258; and the \textsc{*Hop} languages add two special tokens \singularmarker\space and \pluralmarker\space for verb inflection, for a vocabulary size of 50,259. We train on NVIDIA RTX 3090 (24GB) GPUs and NVIDIA RTX A6000 (48GB) GPUs. The runtime for each pretraining experiment was $\sim$24 hours (for one language and one random seed), for a total experiment runtime of $\sim$1800 hours.
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
|
| 599 |
+
|
| 600 |
+
|
| 601 |
+
\section{Results for Models without Positional Encodings} \label{sec:appendix-no-pos-encoding}
|
| 602 |
+
|
| 603 |
+
Here, we present results for each of our experiments using GPT-2 models we trained without positional encodings. All other aspects of the experiments are the same, including the impossible language datasets and training hyperparameters. We again train 5 sets of models initialized using different random seeds. \Cref{fig:perplexities-no-pos-encodings} presents the perplexity results; \Cref{fig:surprisals_no_pos_encodings} presents the surprisal results; and \Cref{fig:iia_hop_models_no_pos_encodings} presents the causal intervention results.
|
| 604 |
+
|
| 605 |
+
\begin{figure*}[ht]
|
| 606 |
+
\centering
|
| 607 |
+
\centering
|
| 608 |
+
\includegraphics[width=0.95\textwidth]{perplexity_figures/perplexities_no_pos_encodings.pdf}
|
| 609 |
+
\caption{Perplexities on a sample of 10K test sentences for each
|
| 610 |
+
impossible language model trained \emph{without positional encodings}. Error bars indicate 95\% confidence intervals across 5 training runs initialized with different random seeds and evaluated on different test samples.}
|
| 611 |
+
\label{fig:perplexities-no-pos-encodings}
|
| 612 |
+
|
| 613 |
+
\bigskip
|
| 614 |
+
\centering
|
| 615 |
+
\begin{subfigure}[t]{0.49\textwidth}
|
| 616 |
+
\centering
|
| 617 |
+
\includegraphics[width=0.95\linewidth]{surprisal_figures/hop_marker_surprisals_no_pos_encodings.pdf}
|
| 618 |
+
\caption{Mean surprisals of the verb marker token (\singularmarker
|
| 619 |
+
\space or \pluralmarker) for each \textsc{*Hop} model. }
|
| 620 |
+
\end{subfigure}\hfill
|
| 621 |
+
\begin{subfigure}[t]{0.49\textwidth}
|
| 622 |
+
\centering
|
| 623 |
+
\includegraphics[width=0.95\linewidth]{surprisal_figures/hop_surprisal_differences_no_pos_encodings.pdf}
|
| 624 |
+
\caption{Mean surprisal difference between the verb marker token (\singularmarker
|
| 625 |
+
\space or \pluralmarker) and the following token for each \textsc{*Hop} model.}
|
| 626 |
+
\end{subfigure}
|
| 627 |
+
\caption{Surprisal tests for each \textsc{*Hop} model over training steps (trained \emph{without positional encodings}). Error bars indicate 95\% confidence intervals across 5 training runs initialized with different random seeds and evaluated on different test samples.}
|
| 628 |
+
\label{fig:surprisals_no_pos_encodings}
|
| 629 |
+
|
| 630 |
+
\bigskip
|
| 631 |
+
\centering
|
| 632 |
+
\includegraphics[width=0.329\textwidth]{intervention_figures/IIA_hop_control_ckpts_no_pos_encodings.pdf}
|
| 633 |
+
\includegraphics[width=0.329\textwidth]{intervention_figures/IIA_hop_tokens4_ckpts_no_pos_encodings.pdf}
|
| 634 |
+
\includegraphics[width=0.329\textwidth]{intervention_figures/IIA_hop_words4_ckpts_no_pos_encodings.pdf}
|
| 635 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for each
|
| 636 |
+
\textsc{*Hop} model trained \emph{without positional encodings}. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention.
|
| 637 |
+
$t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and
|
| 638 |
+
verb, respectively. $t_1 \dots t_4$ represent the four tokens/words between the
|
| 639 |
+
verb and its marker for \textsc{TokenHop} and \textsc{WordHop}.
|
| 640 |
+
IIA values are averaged over results from 5 models initialized on different random seeds. See Figures~\ref{fig:iia_ci_hop_control_no_pos_encodings},~\ref{fig:iia_ci_hop_tokens4_no_pos_encodings}, and~\ref{fig:iia_ci_hop_words4_no_pos_encodings} for confidence intervals.
|
| 641 |
+
}
|
| 642 |
+
\label{fig:iia_hop_models_no_pos_encodings}
|
| 643 |
+
\end{figure*}
|
| 644 |
+
|
| 645 |
+
\section{Constituency Probing Evaluation} \label{sec:appendix-probing}
|
| 646 |
+
We also test how perturbations might influence latent linguistic properties in sentences that are seemingly \emph{unaffected} by the perturbations. For this, we develop a constituency probing experiment to examine whether the contextual representations generated by different models are effective in classifying a sequence of tokens with an appropriate constituent label, similar to the edge probing experiments of \citealt{tenney2019probing}. For example, if the input sentence is ``I enjoy strawberry ice cream'' and the span of tokens in question represents the constituent ``strawberry ice cream,'' the span should be labeled as a noun phrase (NP).
|
| 647 |
+
|
| 648 |
+
\paragraph{Setup.}
|
| 649 |
+
We conduct these experiments for \textsc{*Reverse} and \textsc{*Hop} languages, since these languages have constituents in contiguous token sequences. For \textsc{NoReverse} and \textsc{PartialReverse}, we take a sample of unaltered BabyLM test sentences and omit the reversal token \revmarker. For \textsc{FullReverse}, we use the same sample sentences, but reverse the tokens. For the \textsc{*Hop} languages, we use a sample of BabyLM test sentences that are unaffected by the perturbation, which are sentences that do not contain 3rd-person present tense verbs. To extract constituents for testing, we parse the sample sentences using Stanza's BERT-based consituency parser. We include noun phrases (NP), verb phrases (VP), adjective phrases (ADJP), adverb phrases (ADVP), and prepositional phrases (PP), and we stratify the samples so that there are equal numbers of example constituents for each phrasal category. We obtain a total of 10K examples for probe training and testing for each language class, where an example is comprised of a tokenized sentence, indices of the constituent span, and the constituent label.
|
| 650 |
+
|
| 651 |
+
Our probes are L2-regularized logistic regression classifiers trained on the span representations of the tokens corresponding to constituents in the examples. To obtain span representations for training the probes, we mean-pool the representations of the tokens within the span. We try extracting representations from GPT-2 by averaging the last four hidden layers of the model or using different layers individually. We train each probe for a maximum of 10 iterations and hold out 20\% of constituent examples for testing.
|
| 652 |
+
|
| 653 |
+
\paragraph{Hypothesis.}
|
| 654 |
+
Constituency probes will achieve higher accuracy for possible languages than impossible ones, in virtue of the fact that the impossible languages are defined by some rules that do not respect constituency boundaries.
|
| 655 |
+
|
| 656 |
+
\paragraph{Results.}
|
| 657 |
+
|
| 658 |
+
The results of the probing experiment using the average of the last four GPT-2 layers are presented in \Cref{fig:probing}. Across \textsc{*Reverse} and \textsc{*Hop} models trained \emph{with} positional encodings, there are not any clear trends indicating that certain models have better representations of constituents than others, as differences among probe accuracies are minimal and unstable across training steps. However, looking closely at the \textsc{*Reverse} models \emph{without} positional encodings, we can see that \textsc{PartialReverse} has significantly lower probe accuracy than the other models up until 2K training steps. We found similar results when using different layers for span representations, as shown in \Cref{fig:probing_by_layer}. These results might indicate that the \textsc{*Hop} perturbations were too weak to fundamentally affect the models' representations of latent linguistic structure, but quite unnatural reversal rule of the \textsc{PartialReverse} language disturbed consituency boundaries in a way that could not be recovered by GPT-2 models without positional encodings.
|
| 659 |
+
|
| 660 |
+
\begin{figure*}
|
| 661 |
+
\centering
|
| 662 |
+
\begin{subfigure}[t]{0.45\textwidth}
|
| 663 |
+
\includegraphics[width=1\textwidth]{probing_figures/probing.pdf}
|
| 664 |
+
\caption{Probe accuracy for \textsc{*Reverse} and \textsc{*Hop} models.}
|
| 665 |
+
\end{subfigure}
|
| 666 |
+
\hspace{1em}
|
| 667 |
+
\begin{subfigure}[t]{0.45\textwidth}
|
| 668 |
+
\includegraphics[width=1\textwidth]{probing_figures/probing_no_pos_encodings.pdf}
|
| 669 |
+
\caption{Probe accuracy \emph{without positional encodings}. }
|
| 670 |
+
\end{subfigure}
|
| 671 |
+
\caption{Constituency probe accuracy for \textsc{*Reverse} and \textsc{*Hop} models over training steps. Span representations were extracted by averaging the last four hidden layers of GPT-2. Error bars indicate 95\% confidence intervals across 5 training runs initialized with different random seeds and evaluated on different test samples.}
|
| 672 |
+
\label{fig:probing}
|
| 673 |
+
\end{figure*}
|
| 674 |
+
|
| 675 |
+
\begin{figure*}
|
| 676 |
+
\centering
|
| 677 |
+
\begin{subfigure}{1\textwidth}
|
| 678 |
+
\centering
|
| 679 |
+
\includegraphics[width=0.9\textwidth]{probing_figures/probing_layers_reverse.pdf}
|
| 680 |
+
\caption{Probe accuracy for \textsc{*Reverse} models.}
|
| 681 |
+
\end{subfigure}
|
| 682 |
+
\begin{subfigure}{1\textwidth}
|
| 683 |
+
\centering
|
| 684 |
+
\includegraphics[width=0.9\textwidth]{probing_figures/probing_layers_hop.pdf}
|
| 685 |
+
\caption{Probe accuracy for \textsc{*Hop} models.}
|
| 686 |
+
\end{subfigure}
|
| 687 |
+
\begin{subfigure}{1\textwidth}
|
| 688 |
+
\centering
|
| 689 |
+
\includegraphics[width=0.9\textwidth]{probing_figures/probing_layers_reverse_no_pos_encodings.pdf}
|
| 690 |
+
\caption{Probe accuracy for \textsc{*Reverse} models \emph{without positional encodings}.}
|
| 691 |
+
\end{subfigure}
|
| 692 |
+
\begin{subfigure}{1\textwidth}
|
| 693 |
+
\centering
|
| 694 |
+
\includegraphics[width=0.9\textwidth]{probing_figures/probing_layers_hop_no_pos_encodings.pdf}
|
| 695 |
+
\caption{Probe accuracy for \textsc{*Hop} models \emph{without positional encodings}.}
|
| 696 |
+
\end{subfigure}
|
| 697 |
+
\caption{Constituency probe accuracy for \textsc{*Reverse} and \textsc{*Hop} models using span representations extracted from different GPT-2 layers (1, 3, 6, 9, 12) over training steps. Error bars indicate 95\% confidence intervals across 5 training runs initialized with different random seeds and evaluated on different test samples.}
|
| 698 |
+
\label{fig:probing_by_layer}
|
| 699 |
+
\end{figure*}
|
| 700 |
+
|
| 701 |
+
\section{Additional \textsc{DeterministicShuffle} Results} \label{sec:appendix-deterministic-shuffle}
|
| 702 |
+
|
| 703 |
+
In addition to perplexities of each impossible language model on its own test data, we also obtain perplexities for each $\textsc{DeterministicShuffle}$ model on the $\textsc{NondeterministicShuffle}$ test sample and all other $\textsc{DeterministicShuffle}$ test samples. This measures whether these models have learned to distinguish their own shuffles from other shuffles. We found that this was indeed the case, as shown in the results in \Cref{fig:perplexities-deterministic-shuffle}.
|
| 704 |
+
|
| 705 |
+
\begin{figure*}[ht]
|
| 706 |
+
\centering
|
| 707 |
+
\begin{subfigure}{1\textwidth}
|
| 708 |
+
\centering
|
| 709 |
+
\includegraphics[width=1\textwidth]{perplexity_figures/perplexities_deterministic_shuffle.pdf}
|
| 710 |
+
\caption{Test perplexities for models \emph{with} positional encodings.}
|
| 711 |
+
\end{subfigure}
|
| 712 |
+
|
| 713 |
+
\begin{subfigure}{1\textwidth}
|
| 714 |
+
\centering
|
| 715 |
+
\includegraphics[width=1\textwidth]{perplexity_figures/perplexities_deterministic_shuffle_no_pos_encodings.pdf}
|
| 716 |
+
\caption{Test perplexities for models \emph{without} positional encodings.}
|
| 717 |
+
\end{subfigure}
|
| 718 |
+
\caption{Test perplexities for each \textsc{DeterministicShuffle} model ($s=21$ left, $s=57$ middle, $s=84$ right) on the $\textsc{NondeterministicShuffle}$ test sample and all other $\textsc{DeterministicShuffle}$ test samples. Perplexities were taken on a sample of 10K test sentences from each shuffled test set. Error bars indicate 95\% confidence intervals across 5 training runs initialized with different random seeds and evaluated on different test samples.}
|
| 719 |
+
\label{fig:perplexities-deterministic-shuffle}
|
| 720 |
+
\end{figure*}
|
| 721 |
+
|
| 722 |
+
|
| 723 |
+
\section{Confidence Intervals for Interchange Intervention Accuracies} \label{sec:intervention_confidence_intervals}
|
| 724 |
+
|
| 725 |
+
We present the same results of our causal abstraction experiments from \cref{sec:causal-abstractions}, but include confidence intervals for results across models initialized on different random seeds. \Cref{fig:iia_ci_hop_control} presents the results for \textsc{NoHop}; \Cref{fig:iia_ci_hop_tokens4} presents the results for \textsc{TokenHop}; and \Cref{fig:iia_ci_hop_words4} presents the results for \textsc{WordHop}. Figures~\ref{fig:iia_ci_hop_control_no_pos_encodings},~\ref{fig:iia_ci_hop_tokens4_no_pos_encodings}, and~\ref{fig:iia_ci_hop_words4_no_pos_encodings} show the same plots for each \textsc{*Hop} model trained without positional encodings, respectively.
|
| 726 |
+
|
| 727 |
+
\begin{figure*}
|
| 728 |
+
\centering
|
| 729 |
+
\begin{subfigure}{0.3\textwidth}
|
| 730 |
+
\centering
|
| 731 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_control_ckpt300.pdf}
|
| 732 |
+
\caption{300 Training Steps.}
|
| 733 |
+
\end{subfigure}
|
| 734 |
+
\begin{subfigure}{0.3\textwidth}
|
| 735 |
+
\centering
|
| 736 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_control_ckpt600.pdf}
|
| 737 |
+
\caption{600 Training Steps.}
|
| 738 |
+
\end{subfigure}
|
| 739 |
+
\begin{subfigure}{0.3\textwidth}
|
| 740 |
+
\centering
|
| 741 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_control_ckpt900.pdf}
|
| 742 |
+
\caption{900 Training Steps.}
|
| 743 |
+
\end{subfigure}
|
| 744 |
+
\begin{subfigure}{0.3\textwidth}
|
| 745 |
+
\centering
|
| 746 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_control_ckpt1200.pdf}
|
| 747 |
+
\caption{1200 Training Steps.}
|
| 748 |
+
\end{subfigure}
|
| 749 |
+
\begin{subfigure}{0.3\textwidth}
|
| 750 |
+
\centering
|
| 751 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_control_ckpt1500.pdf}
|
| 752 |
+
\caption{1500 Training Steps.}
|
| 753 |
+
\end{subfigure}
|
| 754 |
+
\begin{subfigure}{0.3\textwidth}
|
| 755 |
+
\centering
|
| 756 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_control_ckpt3000.pdf}
|
| 757 |
+
\caption{3000 Training Steps.}
|
| 758 |
+
\end{subfigure}
|
| 759 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for
|
| 760 |
+
\textsc{NoHop}, with confidence intervals across models trained on 5 different random seeds. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention. $t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and verb, respectively.}
|
| 761 |
+
\label{fig:iia_ci_hop_control}
|
| 762 |
+
\end{figure*}
|
| 763 |
+
|
| 764 |
+
\begin{figure*}
|
| 765 |
+
\centering
|
| 766 |
+
\begin{subfigure}{0.49\textwidth}
|
| 767 |
+
\centering
|
| 768 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_tokens4_ckpt300.pdf}
|
| 769 |
+
\caption{300 Training Steps.}
|
| 770 |
+
\end{subfigure}
|
| 771 |
+
\begin{subfigure}{0.49\textwidth}
|
| 772 |
+
\centering
|
| 773 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_tokens4_ckpt600.pdf}
|
| 774 |
+
\caption{600 Training Steps.}
|
| 775 |
+
\end{subfigure}
|
| 776 |
+
\begin{subfigure}{0.49\textwidth}
|
| 777 |
+
\centering
|
| 778 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_tokens4_ckpt900.pdf}
|
| 779 |
+
\caption{900 Training Steps.}
|
| 780 |
+
\end{subfigure}
|
| 781 |
+
\begin{subfigure}{0.49\textwidth}
|
| 782 |
+
\centering
|
| 783 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_tokens4_ckpt1200.pdf}
|
| 784 |
+
\caption{1200 Training Steps.}
|
| 785 |
+
\end{subfigure}
|
| 786 |
+
\begin{subfigure}{0.49\textwidth}
|
| 787 |
+
\centering
|
| 788 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_tokens4_ckpt1500.pdf}
|
| 789 |
+
\caption{1500 Training Steps.}
|
| 790 |
+
\end{subfigure}
|
| 791 |
+
\begin{subfigure}{0.49\textwidth}
|
| 792 |
+
\centering
|
| 793 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_tokens4_ckpt3000.pdf}
|
| 794 |
+
\caption{3000 Training Steps.}
|
| 795 |
+
\end{subfigure}
|
| 796 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for
|
| 797 |
+
\textsc{TokenHop}, with confidence intervals across models trained on 5 different random seeds. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention. $t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and verb. $t_1 \dots t_4$ represent the four tokens/words between the verb.}
|
| 798 |
+
\label{fig:iia_ci_hop_tokens4}
|
| 799 |
+
\end{figure*}
|
| 800 |
+
|
| 801 |
+
\begin{figure*}
|
| 802 |
+
\centering
|
| 803 |
+
\begin{subfigure}{0.49\textwidth}
|
| 804 |
+
\centering
|
| 805 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_words4_ckpt300.pdf}
|
| 806 |
+
\caption{300 Training Steps.}
|
| 807 |
+
\end{subfigure}
|
| 808 |
+
\begin{subfigure}{0.49\textwidth}
|
| 809 |
+
\centering
|
| 810 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_words4_ckpt600.pdf}
|
| 811 |
+
\caption{600 Training Steps.}
|
| 812 |
+
\end{subfigure}
|
| 813 |
+
\begin{subfigure}{0.49\textwidth}
|
| 814 |
+
\centering
|
| 815 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_words4_ckpt900.pdf}
|
| 816 |
+
\caption{900 Training Steps.}
|
| 817 |
+
\end{subfigure}
|
| 818 |
+
\begin{subfigure}{0.49\textwidth}
|
| 819 |
+
\centering
|
| 820 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_words4_ckpt1200.pdf}
|
| 821 |
+
\caption{1200 Training Steps.}
|
| 822 |
+
\end{subfigure}
|
| 823 |
+
\begin{subfigure}{0.49\textwidth}
|
| 824 |
+
\centering
|
| 825 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_words4_ckpt1500.pdf}
|
| 826 |
+
\caption{1500 Training Steps.}
|
| 827 |
+
\end{subfigure}
|
| 828 |
+
\begin{subfigure}{0.49\textwidth}
|
| 829 |
+
\centering
|
| 830 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures/IIA_CIs_hop_words4_ckpt3000.pdf}
|
| 831 |
+
\caption{3000 Training Steps.}
|
| 832 |
+
\end{subfigure}
|
| 833 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for
|
| 834 |
+
\textsc{WordHop}, with confidence intervals across models trained on 5 different random seeds. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention. $t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and verb. $t_1 \dots t_4$ represent the four tokens/words between the verb.}
|
| 835 |
+
\label{fig:iia_ci_hop_words4}
|
| 836 |
+
\end{figure*}
|
| 837 |
+
|
| 838 |
+
|
| 839 |
+
\begin{figure*}
|
| 840 |
+
\centering
|
| 841 |
+
\begin{subfigure}{0.3\textwidth}
|
| 842 |
+
\centering
|
| 843 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_control_ckpt300.pdf}
|
| 844 |
+
\caption{300 Training Steps.}
|
| 845 |
+
\end{subfigure}
|
| 846 |
+
\begin{subfigure}{0.3\textwidth}
|
| 847 |
+
\centering
|
| 848 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_control_ckpt600.pdf}
|
| 849 |
+
\caption{600 Training Steps.}
|
| 850 |
+
\end{subfigure}
|
| 851 |
+
\begin{subfigure}{0.3\textwidth}
|
| 852 |
+
\centering
|
| 853 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_control_ckpt900.pdf}
|
| 854 |
+
\caption{900 Training Steps.}
|
| 855 |
+
\end{subfigure}
|
| 856 |
+
\begin{subfigure}{0.3\textwidth}
|
| 857 |
+
\centering
|
| 858 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_control_ckpt1200.pdf}
|
| 859 |
+
\caption{1200 Training Steps.}
|
| 860 |
+
\end{subfigure}
|
| 861 |
+
\begin{subfigure}{0.3\textwidth}
|
| 862 |
+
\centering
|
| 863 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_control_ckpt1500.pdf}
|
| 864 |
+
\caption{1500 Training Steps.}
|
| 865 |
+
\end{subfigure}
|
| 866 |
+
\begin{subfigure}{0.3\textwidth}
|
| 867 |
+
\centering
|
| 868 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_control_ckpt3000.pdf}
|
| 869 |
+
\caption{3000 Training Steps.}
|
| 870 |
+
\end{subfigure}
|
| 871 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for the \textsc{NoHop} model trained \emph{without positional encodings}, with confidence intervals across models trained on 5 different random seeds. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention. $t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and verb, respectively.}
|
| 872 |
+
\label{fig:iia_ci_hop_control_no_pos_encodings}
|
| 873 |
+
\end{figure*}
|
| 874 |
+
|
| 875 |
+
\begin{figure*}
|
| 876 |
+
\centering
|
| 877 |
+
\begin{subfigure}{0.49\textwidth}
|
| 878 |
+
\centering
|
| 879 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_tokens4_ckpt300.pdf}
|
| 880 |
+
\caption{300 Training Steps.}
|
| 881 |
+
\end{subfigure}
|
| 882 |
+
\begin{subfigure}{0.49\textwidth}
|
| 883 |
+
\centering
|
| 884 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_tokens4_ckpt600.pdf}
|
| 885 |
+
\caption{600 Training Steps.}
|
| 886 |
+
\end{subfigure}
|
| 887 |
+
\begin{subfigure}{0.49\textwidth}
|
| 888 |
+
\centering
|
| 889 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_tokens4_ckpt900.pdf}
|
| 890 |
+
\caption{900 Training Steps.}
|
| 891 |
+
\end{subfigure}
|
| 892 |
+
\begin{subfigure}{0.49\textwidth}
|
| 893 |
+
\centering
|
| 894 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_tokens4_ckpt1200.pdf}
|
| 895 |
+
\caption{1200 Training Steps.}
|
| 896 |
+
\end{subfigure}
|
| 897 |
+
\begin{subfigure}{0.49\textwidth}
|
| 898 |
+
\centering
|
| 899 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_tokens4_ckpt1500.pdf}
|
| 900 |
+
\caption{1500 Training Steps.}
|
| 901 |
+
\end{subfigure}
|
| 902 |
+
\begin{subfigure}{0.49\textwidth}
|
| 903 |
+
\centering
|
| 904 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_tokens4_ckpt3000.pdf}
|
| 905 |
+
\caption{3000 Training Steps.}
|
| 906 |
+
\end{subfigure}
|
| 907 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for the \textsc{TokenHop} model trained \emph{without positional encodings}, with confidence intervals across models trained on 5 different random seeds. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention. $t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and verb. $t_1 \dots t_4$ represent the four tokens/words between the verb.}
|
| 908 |
+
\label{fig:iia_ci_hop_tokens4_no_pos_encodings}
|
| 909 |
+
\end{figure*}
|
| 910 |
+
|
| 911 |
+
\begin{figure*}
|
| 912 |
+
\centering
|
| 913 |
+
\begin{subfigure}{0.49\textwidth}
|
| 914 |
+
\centering
|
| 915 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_words4_ckpt300.pdf}
|
| 916 |
+
\caption{300 Training Steps.}
|
| 917 |
+
\end{subfigure}
|
| 918 |
+
\begin{subfigure}{0.49\textwidth}
|
| 919 |
+
\centering
|
| 920 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_words4_ckpt600.pdf}
|
| 921 |
+
\caption{600 Training Steps.}
|
| 922 |
+
\end{subfigure}
|
| 923 |
+
\begin{subfigure}{0.49\textwidth}
|
| 924 |
+
\centering
|
| 925 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_words4_ckpt900.pdf}
|
| 926 |
+
\caption{900 Training Steps.}
|
| 927 |
+
\end{subfigure}
|
| 928 |
+
\begin{subfigure}{0.49\textwidth}
|
| 929 |
+
\centering
|
| 930 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_words4_ckpt1200.pdf}
|
| 931 |
+
\caption{1200 Training Steps.}
|
| 932 |
+
\end{subfigure}
|
| 933 |
+
\begin{subfigure}{0.49\textwidth}
|
| 934 |
+
\centering
|
| 935 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_words4_ckpt1500.pdf}
|
| 936 |
+
\caption{1500 Training Steps.}
|
| 937 |
+
\end{subfigure}
|
| 938 |
+
\begin{subfigure}{0.49\textwidth}
|
| 939 |
+
\centering
|
| 940 |
+
\includegraphics[width=1\textwidth]{intervention_figures/ci_figures_no_pos_encodings/IIA_CIs_hop_words4_ckpt3000.pdf}
|
| 941 |
+
\caption{3000 Training Steps.}
|
| 942 |
+
\end{subfigure}
|
| 943 |
+
\caption{Subject--verb agreement interchange intervention accuracies (IIA) for the \textsc{WordHop} model trained \emph{without positional encodings}, with confidence intervals across models trained on 5 different random seeds. Vertical axes denote the GPT-2 layer of the intervention, and horizontal axes denote the token position of the intervention. $t_d$, $t_s$, and $t_v$ represent the tokens for the determiner, subject, and verb. $t_1 \dots t_4$ represent the four tokens/words between the verb.}
|
| 944 |
+
\label{fig:iia_ci_hop_words4_no_pos_encodings}
|
| 945 |
+
\end{figure*}
|
| 946 |
+
|
| 947 |
+
|
| 948 |
+
\end{document}
|
assets/loss_graph.png
ADDED
|
Git LFS Details
|
assets/畫圖.pptx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9a01906ffc004b22d1e7e15f8906d26437d29ede110781dcb35b791018abf4f
|
| 3 |
+
size 48976549
|
assets/畫圖_v1.pptx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:777516cbba921ef4cac374a4dfd589c1d3d7ad760d6afee917173a20f39315e1
|
| 3 |
+
size 49860069
|