arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13358cs.CLcs.LG
收藏

在作者与文档表示中捕捉风格

Capturing Style in Author and Document Representation

Laboratoire Hubert Curien, UMR CNRS 5516, Saint-Etienne, France(Hubert Curien实验室,CNRS UMR 5516,圣艾蒂安,法国)

Enzo Terreau, Antoine Gourru, Julien Velcin

AI总结:

针对现有模型未明确捕捉写作风格的问题,提出基于VIB的作者与文档表示架构,通过预定义风格特征提升可解释性,在三个数据集上匹配或超越基线并更准确捕捉作者风格。

摘要:

大量深度自然语言处理(NLP)模型整合了连续且低维的词与文档表示。令人惊讶的是,很少有模型研究作者的表示学习。这些表示可用于许多NLP任务,例如作者识别与分类,或用于推荐系统。现有工作的一个主要局限是它们未明确捕捉写作风格,导致其难以应用于文学数据。为此,我们提出一种基于变分信息瓶颈(VIB)的新架构,通过风格约束学习作者与文档的嵌入。我们的模型微调了一个预训练的文档编码器。我们通过添加预定义的风格特征来促进写作风格的检测,使表示轴在写作风格指标方面具有可解释性。我们在三个数据集上评估该方法:从Gutenberg Project提取的文学语料库、Blog Authorship Corpus和IMDb62。结果表明,在作者归属任务中,该方法匹配或超越了强有力且近期的基线,同时更准确地捕捉了作者的风格特征。

英文摘要:

A wide range of Deep Natural Language Processing (NLP) models integrates continuous and low dimensional representations of words and documents. Surprisingly, very few models study representation learning for authors. These representations can be used for many NLP tasks, such as author identification and classification, or in recommendation systems. A strong limitation of existing works is that they do not explicitly capture writing style, making them hardly applicable to literary data. We therefore propose a new architecture based on Variational Information Bottleneck (VIB) that learns embeddings for both authors and documents with a stylistic constraint. Our model fine-tunes a pre-trained document encoder. We stimulate the detection of writing style by adding predefined stylistic features making the representation axis interpretable with respect to writing style indicators. We evaluate our method on three datasets: a literary corpus extracted from the Gutenberg Project, the Blog Authorship Corpus and IMDb62, for which we show that it matches or outperforms strong/recent baselines in authorship attribution while capturing much more accurately the authors stylistic aspects.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑