跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2304.01680 (cs)
[提交于 2023年10月4日]

标题:Can BERT eat RuCoLA? Topological Data Analysis to Explain

作者:Irina Proskurina, Irina Piontkovskaya, Ekaterina Artemova
查看论文《Can BERT eat RuCoLA? Topological Data Analysis to Explain》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:This paper investigates how Transformer language models (LMs) fine-tuned for acceptability classification capture linguistic features. Our approach uses the best practices of topological data analysis (TDA) in NLP: we construct directed attention graphs from attention matrices, derive topological features from them, and feed them to linear classifiers. We introduce two novel features, chordality, and the matching number, and show that TDA-based classifiers outperform fine-tuning baselines. We experiment with two datasets, CoLA and RuCoLA in English and Russian, typologically different languages. On top of that, we propose several black-box introspection techniques aimed at detecting changes in the attention mode of the LMs during fine-tuning, defining the LM's prediction confidences, and associating individual heads with fine-grained grammar phenomena. Our results contribute to understanding the behavior of monolingual LMs in the acceptability classification task, provide insights into the functional roles of attention heads, and highlight the advantages of TDA-based approaches for analyzing LMs. We release the code and the experimental results for further uptake.
评论: Accepted to the Workshop on Slavic NLP @ EACL 2023
主题: 计算与语言 (cs.CL)
引用方式: arXiv:2304.01680 [cs.CL]
  (或者 arXiv:2304.01680v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2304.01680
相关 DOI: https://doi.org/10.18653/v1/2023.bsnlp-1.15

提交历史

来自:Ekaterina Artemova
[v1] 2023年10月4日 星期三 00:00:00 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-10
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站