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

探究BERT中的文本缩短策略:截断与摘要

Investigating Text Shortening Strategy in BERT: Truncation vs Summarization

Faculty of Computer Science, Universitas Indonesia(印度尼西亚大学计算机科学学院);Kata.ai Research Team(Kata.ai 研究团队)

Mirza Alim Mutasodirin, Radityo Eko Prasojo

AI总结:

本研究对比了BERT中文本截断与摘要策略在印尼新闻分类任务上的性能,发现摘要优于多数截断变体,最佳策略为取文档开头,其次为抽取式摘要。

摘要:

基于Transformer的模型的并行性是以其输入最大长度为代价的。一些研究提出了克服这一限制的方法,但均未报告摘要作为替代方案的有效性。在本研究中,我们探讨了文档截断和摘要在文本分类任务中的性能。每种方法都研究了多种变体。本研究还探讨了它们的性能与全文性能的接近程度。我们使用了基于印尼新闻文章的摘要任务数据集(IndoSum)进行分类测试。研究表明,摘要方法优于大多数截断方法变体,仅逊于一种。本研究获得的最佳策略是取文档开头部分,其次是抽取式摘要。本研究解释了结果产生的原因,为后续研究利用文档摘要作为缩短替代方案的潜力奠定了基础。本工作使用的代码和数据公开于https://github.com/mirzaalimm/TruncationVsSummarization。

英文摘要:

The parallelism of Transformer-based models comes at the cost of their input max-length. Some studies proposed methods to overcome this limitation, but none of them reported the effectiveness of summarization as an alternative. In this study, we investigate the performance of document truncation and summarization in text classification tasks. Each of the two was investigated with several variations. This study also investigated how close their performances are to the performance of full-text. We used a dataset of summarization tasks based on Indonesian news articles (IndoSum) to do classification tests. This study shows how the summaries outperform the majority of truncation method variations and lose to only one. The best strategy obtained in this study is taking the head of the document. The second is extractive summarization. This study explains what happened to the result, leading to further research in order to exploit the potential of document summarization as a shortening alternative. The code and data used in this work are publicly available in https://github.com/mirzaalimm/TruncationVsSummarization.

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

↑