Large language models (LLMs) can now generate and recognize poetry. But what do LLMs really know about poetry? We develop a task to evaluate how well LLMs recognize one aspect of English-language poetry--poetic form--which captures many different poetic features, including rhyme scheme, meter, and word or line repetition. By using a benchmark dataset of over 4.1k human expert-annotated poems, we show that state-of-the-art LLMs can successfully identify both common and uncommon fixed poetic forms--such as sonnets, sestinas, and pantoums--with surprisingly high accuracy. However, performance varies significantly by poetic form; the models struggle to identify unfixed poetic forms, especially those based on topic or visual features. We additionally measure how many poems from our benchmark dataset are present in popular pretraining datasets or memorized by GPT-4, finding that pretraining presence and memorization may improve performance on this task, but results are inconclusive. We release a benchmark evaluation dataset with 1.4k public domain poems and form annotations, results of memorization experiments and data audits, and code.
GhazalBench: Canonical Verse Access in LLMs across Persian Ghazals and Shakespearean Sonnets
School of Electrical and Computer Engineering, College of Engineering, University of Tehran(德黑兰理工大学电气与计算机工程学院);Tehran Institute for Advanced Studies, Khatam University(德黑兰高级研究院,凯塔姆大学)
Do Large Language Models Perform Well on Comprehending Poetic Logic in Modern Chinese Poetry?
Graduate School of Informatics, Kyoto University(京都大学信息学研究科);University of Macau(澳门大学);College of Computer Science, Inner Mongolia University(内蒙古大学计算机学院)
Can ChatGPT Really Understand Modern Chinese Poetry?
NLP;CT Lab, Department of Computer and Information Science, University of Macau(计算机与信息科学系,澳门科技大学CT实验室);Department of Portuguese, Faculty of Arts and Humanities, University of Macau(人文学院葡萄牙语系,澳门科技大学)
Benchmarking the Detection of LLMs-Generated Modern Chinese Poetry
NLP 2 CT Lab, Department of Computer and Information Science, University of Macau(计算机与信息科学系,澳门大学);Department of Portuguese, Faculty of Arts and Humanities, University of Macau(文学与人文学院,澳门大学)
How Images Inspire Poems: Generating Classical Chinese Poetry from Images with Memory Networks
Anhui Province Key Laboratory of Big Data Analysis and Application(安徽省大数据分析与应用重点实验室);School of Computer Science and Technology, University of Science and Technology of China(中国科学技术大学计算机科学与技术学院);AI Department, Ant Financial Services Group(蚂蚁金融服务集团人工智能部门)
MixPoet: Diverse Poetry Generation via Learning Controllable Mixed Latent Space
Tsinghua University(清华大学);ESTATES PTE LTD(6ESTATES PTE LTD);Beijing University of Posts and Telecommunications(北京邮电大学);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Institute for Artificial Intelligence, Tsinghua University(清华大学人工智能研究院);State Key Lab on Intelligent Technology and Systems, Tsinghua University(智能技术与系统国家重点实验室)
Generating Major Types of Chinese Classical Poetry in a Uniformed Framework
Tsinghua University(清华大学);Institute for Artificial Intelligence, Tsinghua University(清华大学人工智能研究院);State Key Lab on Intelligent Technology and Systems, Tsinghua University(清华大学智能技术与系统国家重点实验室)
诗歌生成是文本生成领域中一个有趣的研究课题。中国古典诗歌是中华民族最宝贵的文学文化遗产之一,为一代又一代中国人所熟悉和喜爱。它的语言结构从形、音到义都有其独特的特点,是文本生成的理想测试任务。在本文中,我们提出了一个基于GPT-2的统一框架,用于生成中国古典诗歌的主要类型。我们定义了一个统一的格式来制定所有类型的训练样本,通过整合详细的形式信息,然后提出了一个简单的形式强调加权方法在GPT-2中,以加强对形式的控制,特别是那些较长的身体长度的形式。初步实验结果表明,该模型能够生成形式和内容都具有较高质量的主要类型的中国古典诗歌,验证了该策略的有效性。该模型已被纳入清华大学开发的最具影响力的中国古典诗歌生成系统九歌(Guo et al.,2019年)。
An Ethically Grounded LLM-Based Approach to Insider Threat Synthesis and Detection
Beacom College of Computer \& Cyber Sciences Dakota State University Madison, SD, USA;College of Arts \& Sciences Dakota State University Madison, SD, USA
Fùxì: A Benchmark for Evaluating Language Models on Ancient Chinese Text Understanding and Generation
School of Computer Science and Technology, East China Normal University(华东师范大学计算机科学与技术学院);Lab of Artificial Intelligence for Education, East China Normal University(华东师范大学教育人工智能实验室);Shanghai Institute of Artificial Intelligence for Education, East China Normal University(华东师范大学上海教育人工智能研究院)