Anna Karnysheva
Author directory2026
Probing Chemical Language Models: Effects of Pre-training and Fine-tuning
Anna Karnysheva | Dietrich Klakow | Ji-Ung Lee
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Anna Karnysheva | Dietrich Klakow | Ji-Ung Lee
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Chemical language models (CLMs) are trained with linearized representations such as SMILES, yet it remains unclear which chemically meaningful substructures they encode. To foster a better understanding of CLMs, we conduct a systematic study and probe for 78 molecular substructures across eight pre-trained and six randomly initialized models. We furthermore study how fine-tuning on chemical downstream tasks affects the learned representations of molecular substructures. Our results show that pre-training generally improves molecular structure awareness of CLMs, particularly in the upper layers. Moreover, randomly initialized models already encode ring structures well in the first layer. Our analysis on two chemical downstream tasks further reveals that, interestingly, fine-tuning affects task-relevant molecular substructures more than others, indicating that the changes in the representations follow chemical theory.
2021
Leveraging Task Information in Grammatical Error Correction for Short Answer Assessment through Context-based Reranking
Ramon Ziai | Anna Karnysheva
Proceedings of the 10th Workshop on NLP for Computer Assisted Language Learning
Ramon Ziai | Anna Karnysheva
Proceedings of the 10th Workshop on NLP for Computer Assisted Language Learning
2020
TUE at SemEval-2020 Task 1: Detecting Semantic Change by Clustering Contextual Word Embeddings
Anna Karnysheva | Pia Schwarz
Proceedings of the Fourteenth Workshop on Semantic Evaluation
Anna Karnysheva | Pia Schwarz
Proceedings of the Fourteenth Workshop on Semantic Evaluation
This paper describes our system for SemEval 2020 Task 1: Unsupervised Lexical Semantic Change Detection. Target words of corpora from two different time periods are classified according to their semantic change. The languages covered are English, German, Latin, and Swedish. Our approach involves clustering ELMo embeddings using DBSCAN and K-means. For a more fine grained detection of semantic change we take the Jensen-Shannon Distance metric and rank the target words from strongest to weakest change. The results show that this is a valid approach for the classification subtask where we rank 13th out of 33 groups with an accuracy score of 61.2%. For the ranking subtask we score a Spearman’s rank-order correlation coefficient of 0.087 which places us on rank 29.