@article{Slack_Hardey_Al Moubayed_2020, title={On the Hierarchical Information in a Single Contextualised Word Representation (Student Abstract)}, volume={34}, url={https://ojs.aaai.org/index.php/AAAI/article/view/7231}, DOI={10.1609/aaai.v34i10.7231}, abstractNote={<p>Contextual word embeddings produced by neural language models, such as BERT or ELMo, have seen widespread application and performance gains across many Natural Language Processing tasks, suggesting rich linguistic features encoded in their representations. This work aims to investigate to what extent any linguistic hierarchical information is encoded into a single contextual embedding. Using labelled constituency trees, we train simple linear classifiers on top of single contextualised word representations for ancestor sentiment analysis tasks at multiple constituency levels of a sentence. To assess the presence of hierarchical information throughout the networks, the linear classifiers are trained using representations produced by each intermediate layer of BERT and ELMo variants. We show that with no fine-tuning, a single contextualised representation encodes enough syntactic and semantic sentence-level information to significantly outperform a non-contextual baseline for classifying 5-class sentiment of its ancestor constituents at multiple levels of the constituency tree. Additionally, we show that both LSTM and transformer architectures trained on similarly sized datasets achieve similar levels of performance on these tasks. Future work looks to expand the analysis to a wider range of NLP tasks and contextualisers.</p>}, number={10}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, author={Slack, Dean L. and Hardey, Mariann and Al Moubayed, Noura}, year={2020}, month={Apr.}, pages={13917-13918} }