{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,29]],"date-time":"2026-09-29T22:28:35Z","timestamp":1790720915160,"version":"4.1.0"},"reference-count":35,"publisher":"MIT Press","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computational Linguistics"],"published-print":{"date-parts":[[2017,12]]},"abstract":"<jats:p>We present novel methods for analyzing the activation patterns of recurrent neural networks from a linguistic point of view and explore the types of linguistic structure they learn. As a case study, we use a standard standalone language model, and a multi-task gated recurrent network architecture consisting of two parallel pathways with shared word embeddings: The Visual pathway is trained on predicting the representations of the visual scene corresponding to an input sentence, and the Textual pathway is trained to predict the next word in the same sentence. We propose a method for estimating the amount of contribution of individual tokens in the input to the final prediction of the networks. Using this method, we show that the Visual pathway pays selective attention to lexical categories and grammatical functions that carry semantic information, and learns to treat word types differently depending on their grammatical function and their position in the sequential structure of the sentence. In contrast, the language models are comparatively more sensitive to words with a syntactic function. Further analysis of the most informative n-gram contexts for each model shows that in comparison with the Visual pathway, the language models react more strongly to abstract contexts that represent syntactic constructions.<\/jats:p>","DOI":"10.1162\/coli_a_00300","type":"journal-article","created":{"date-parts":[[2017,9,11]],"date-time":"2017-09-11T15:00:35Z","timestamp":1505142035000},"page":"761-780","source":"Crossref","is-referenced-by-count":44,"title":["Representation of Linguistic Form and Function in Recurrent Neural Networks"],"prefix":"10.1162","volume":"43","author":[{"given":"\u00c1kos","family":"K\u00e1d\u00e1r","sequence":"first","affiliation":[{"name":"Tilburg Center for Cognition and Communication, Tilburg University, 5000 LE Tilburg, The Netherlands."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Grzegorz","family":"Chrupa\u0142a","sequence":"additional","affiliation":[{"name":"Tilburg Center for Cognition and Communication, Tilburg University, 5000 LE Tilburg, The Netherlands."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Afra","family":"Alishahi","sequence":"additional","affiliation":[{"name":"Tilburg Center for Cognition and Communication, Tilburg University, 5000 LE Tilburg, The Netherlands."}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"281","reference":[{"key":"bib2","unstructured":"Bahdanau, Dzmitry, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate. In International Conference on Learning Representation (ICLR), San Diego, CA, USA."},{"key":"bib3","doi-asserted-by":"publisher","DOI":"10.3115\/v1\/W14-4012"},{"key":"bib4","doi-asserted-by":"crossref","unstructured":"Chrupa\u0142a, Grzegorz, \u00c1kos K\u00e1d\u00e1r, and Afra Alishahi. 2015. Learning language through pictures. In Association for Computational Linguistic (ACL), pages 112\u2013118, Beijing, China.","DOI":"10.3115\/v1\/P15-2019"},{"key":"bib5","unstructured":"Chung, Junyoung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. 2014. Empirical evaluation of gated recurrent neural networks on sequence modeling. In NIPS 2014 Deep Learning and Representation Learning Workshop, Montreal, Quebec, Canada."},{"key":"bib6","doi-asserted-by":"crossref","unstructured":"Dosovitskiy, Alexey and Thomas Brox. 2015. Understanding deep image representations by inverting them. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 5188\u20135196, Boston, MA.","DOI":"10.1109\/CVPR.2015.7299155"},{"key":"bib7","unstructured":"Eigen, David, Jason Rolfe, Rob Fergus, and Yann LeCun. 2014. Understanding deep architectures using a recursive convolutional network. In International Conference on Learning Representations (ICLR)."},{"key":"bib8","doi-asserted-by":"publisher","DOI":"10.1207\/s15516709cog1402_1"},{"key":"bib9","doi-asserted-by":"publisher","DOI":"10.1007\/BF00114844"},{"key":"bib10","unstructured":"Erhan, Dumitru, Yoshua Bengio, Aaron Courville, and Pascal Vincent. 2009. Visualizing higher-layer features of a deep network. In International Conference on Machine Learning (ICML) Workshop on Learning Feature Hierarchies, volume 1341."},{"key":"bib11","unstructured":"Giles, C. Lee, Clifford B. Miller, Dong Chen, Guo-Zheng Sun, Hsing-Hen Chen, and Yee-Chun Lee. 1991. Extracting and learning an unknown grammar with recurrent neural networks. In Advances in Neural Information Processing Systems, pages 317\u2013324."},{"key":"bib12","unstructured":"Gregor, Karol, Ivo Danihelka, Alex Graves, and Daan Wierstra. 2015. Draw: A recurrent neural network for image generation. In International Conference on Machine Learning (ICML)."},{"key":"bib13","doi-asserted-by":"publisher","DOI":"10.1162\/neco.1997.9.8.1735"},{"key":"bib14","unstructured":"Jordan, Michael I. 1986. Attractor dynamics and parallelism in a connectionist sequential network. In Proceedings of the Eighth Annual Conference of the Cognitive Science Society, pages 531\u2013546, Amherst, MA."},{"key":"bib15","doi-asserted-by":"crossref","unstructured":"Karpathy, Andrej and Li Fei-Fei. 2015. Deep visual-semantic alignments for generating image descriptions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3128\u20133137, Boston, MA.","DOI":"10.1109\/CVPR.2015.7298932"},{"key":"bib16","unstructured":"Karpathy, Andrej, Justin Johnson, and Fei-Fei Li. 2016. Visualizing and understanding recurrent networks. In International Conference on Learning Representations (ICLR) Workshop, San Juan, Puerto Rico."},{"key":"bib17","doi-asserted-by":"publisher","DOI":"10.3115\/v1\/D14-1181"},{"key":"bib18","unstructured":"Kiros, Ryan, Yukun Zhu, Ruslan R. Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Skip-thought vectors. In Advances in Neural Information Processing Systems, pages 3276\u20133284."},{"key":"bib19","unstructured":"Krizhevsky, Alex, Ilya Sutskever, and Geoffrey E. Hinton. 2012. ImageNet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097\u20131105."},{"key":"bib20","doi-asserted-by":"crossref","unstructured":"Li, Jiwei, Xinlei Chen, Eduard Hovy, and Dan Jurafsky. 2016a. Visualizing and understanding neural models in NLP. In North American Chapter of the Association for Computational Linguistic (NAACL).","DOI":"10.18653\/v1\/N16-1082"},{"key":"bib22","unstructured":"Li, Yixuan, Jason Yosinski, Jeff Clune, Hod Lipson, and John Hopcroft. 2016b. Convergent learning: Do different neural networks learn the same representations? In International Conference on Learning Representation (ICLR)."},{"key":"bib23","unstructured":"Lin, Tsung Yi, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Doll\u00e1r, and C. Lawrence Zitnick. 2014. Microsoft Coco: Common objects in context. In Computer Vision\u2013ECCV, pages 740\u2013755."},{"key":"bib24","doi-asserted-by":"publisher","DOI":"10.1162\/tacl_a_00115"},{"key":"bib25","unstructured":"Mahendran, Aravindh and Andrea Vedaldi. 2015. Understanding deep image representations by inverting them. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 5188\u20135196."},{"key":"bib26","doi-asserted-by":"publisher","DOI":"10.1007\/s11263-016-0911-8"},{"key":"bib27","unstructured":"Nguyen, Anh, Jason Yosinski, and Jeff Clune. 2016. Multifaceted feature visualization: Uncovering the different types of features learned by each neuron in deep neural networks. In Visualization for Deep Learning Workshop at International Conference on Machine Learning (ICML)."},{"key":"bib28","unstructured":"Rockt\u00e4schel, Tim, Edward Grefenstette, Karl Moritz Hermann, Tom\u00e1\u0161 Ko\u010disk\u1ef3, and Phil Blunsom. 2016. Reasoning about entailment with neural attention. In International Conference on Learning Representations (ICLR)."},{"key":"bib29","unstructured":"Simonyan, K. and A. Zisserman. 2015. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations (ICLR)."},{"key":"bib30","unstructured":"Simonyan, Karen, Andrea Vedaldi, and Andrew Zisserman. 2014. Deep inside convolutional networks: Visualising image classification models and saliency maps. In International Conference on Learning Representation (ICLR) Workshop."},{"key":"bib31","unstructured":"Sutskever, Ilya, Oriol Vinyals, and Quoc V. Le. 2014. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems, pages 3104\u20133112."},{"key":"bib32","doi-asserted-by":"crossref","unstructured":"Tai, Kai Sheng, Richard Socher, and Christopher D. Manning. 2015. Improved semantic representations from tree-structured long short-term memory networks. In Association for Computational Linguistic (ACL).","DOI":"10.3115\/v1\/P15-1150"},{"key":"bib33","unstructured":"Vinyals, Oriol, \u0141ukasz Kaiser, Terry Koo, Slav Petrov, Ilya Sutskever, and Geoffrey Hinton. 2015. Grammar as a foreign language. In Advances in Neural Information Processing Systems, pages 2755\u20132763."},{"key":"bib34","doi-asserted-by":"crossref","unstructured":"Visin, Francesco, Kyle Kastner, Aaron Courville, Yoshua Bengio, Matteo Matteucci, and Kyunghyun Cho. 2016. ReSeg: A recurrent neural network for object segmentation. In IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW).","DOI":"10.1109\/CVPRW.2016.60"},{"key":"bib35","unstructured":"Yosinski, Jason, Jeff Clune, Anh Nguyen, Thomas Fuchs, and Hod Lipson. 2015. Understanding neural networks through deep visualization. In International Conference on Machine Learning (ICML)."},{"key":"bib36","doi-asserted-by":"crossref","unstructured":"Yu, Haonan, Jiang Wang, Zhiheng Huang, Yi Yang, and Wei Xu. 2015. Video paragraph captioning using hierarchical recurrent neural networks. In Describing and Understanding Video & The Large Scale Movie Description Challenge (LSMDC) at International Conference on Computer Vision (ICCV).","DOI":"10.1109\/CVPR.2016.496"},{"key":"bib37","unstructured":"Zhou, Bolei, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. 2015. Object detectors emerge in deep scene CNNs. In International Conference on Learning Representations (ICLR)."}],"container-title":["Computational Linguistics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mitpressjournals.org\/doi\/pdf\/10.1162\/COLI_a_00300","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,25]],"date-time":"2025-06-25T17:42:04Z","timestamp":1750873324000},"score":1,"resource":{"primary":{"URL":"https:\/\/direct.mit.edu\/coli\/article\/43\/4\/761-780\/1583"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,12]]},"references-count":35,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2017,12]]}},"alternative-id":["10.1162\/COLI_a_00300"],"URL":"https:\/\/doi.org\/10.1162\/coli_a_00300","relation":{},"ISSN":["0891-2017","1530-9312"],"issn-type":[{"value":"0891-2017","type":"print"},{"value":"1530-9312","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,12]]}}}