Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 260100068-283.doi: 10.11896/jsjkx.260100068

• Artificial Intelligence • Previous Articles     Next Articles

Construction of Multilingual Metaphor Alignment Corpus and Methods for Metaphor Generation

WU Youjing, HUANG Xiaoxi   

  1. School of Computer Science,Hangzhou Dianzi University,Hangzhou 310018,China
  • Online:2026-11-16 Published:2026-11-16
  • About author:WU Youjing,born in 2000,postgraduate.His main research interests include natural language processing,and so on.
       
    HUANG Xiaoxi,born in 1979,Ph.D,associate professor,is a distinguished member of CCF(No.29304M).His main research interests include natural language processing,metaphor computation,and machine learning.
  • Supported by:
    This work was supported by the Humanities and Social Sciences Research Program Funds from Ministry of Education of China(18YJA740016).

Abstract: To address the scarcity of multilingual metaphor generation datasets and the suboptimal performance metaphor generation,this study constructs a metaphor generation alignment corpus covering 13 languages and improves the generation perfor-mance.Sentences are extracted from poetic corpora,followed by token-level metaphorical verbs identification using XLM-RoBERTa(XLM-R),with cross-validation constructed by combining knowledge-enhanced prompting.Masked language modeling is adopted to generate literal verbs,and commonsense generation is used to ensure the correspondence between metaphorical sentences and literal sentences,ultimately forming a multilingual metaphor alignment corpus.For metaphor generation,optimization is performed using reinforcement learning with a metaphor recognizer as the reward function,based on the multilingual sequence-to-sequence training model(mBART).Eventually,199 926 alignment sentence pairsare obtained,and the corpus achieved an avera-ge multidimensional score of 37.36/50.In the metaphor generation results,the semantic similarity of the test set reach 0.903 and the BERTScore is 0.94 which are overall superior to those of the comparison systems.The study shows that the constructed corpus is of reliable quality,and the model optimized by reinforcement learning can effectively generate high-quality metaphorical sentences.

Key words: Metaphor generation, Reinforcement learning, Multilingual metaphor alignment corpus, Large language model, Metaphor recognition

CLC Number: 

  • TP183
[1] STEEN G J,DORST A G,HERRMANN J B,et al.A Method for Linguistic Metaphor Identification:From MIP to MIPVU[M].John Benjamins Publishing,2010.
[2] INDURKHYA B.Metaphor and cognition:An interactionist approach[M].Springer Science & Business Media,2013.
[3] SU C,FUKUMOTO F,HUANG X,et al.Deepmet:A reading comprehension paradigm for token-level metaphor detection [C]//Proceedings of the Second Workshop on Figurative Language Processing.2020:30-39.
[4] TSVETKOV Y,BOYTSOV L,GERSHMAN A,et al.Metaphor detection with cross-lingual model transfer [C]//Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2014:248-258.
[5] LIN Y,LIU J,GAO Y,et al.A dual-perspective metaphor detection framework usinglarge language models[C]//ICASSP 2025-2025 IEEE International Conference on Acoustics,Speech and Signal Processing(ICASSP).IEEE,2025:1-5.
[6] CHAKRABARTY T,ZHANG X,MURESAN S,et al.MERMAID:Metaphor Generation with Symbolism and Discriminative Decoding[C]//Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.2021:4250-4261.
[7] STOWE K,RIBEIRO L,GUREVYCH I.Metaphoric para-phrase generation[PP/OL].(2020-02-28)[2025-12-23].https://arxiv.org/abs/2002.12854.
[8] SU C,WANG X,CHANG Y,et al.Metaphor generation based on noval evaluation method[J].Neurocomputing,2025,611:128651.
[9] STEEN G J,DORST A G,HERRMANN J B,et al.Metaphor in usage [M].Walter de Gruyter GmbH & Co.KG,2010.
[10] MOHAMMAD S,SHUTOVA E,TURNEY P.Metaphor as a medium for emotion:An empirical study [C]//Proceedings of the Fifth Joint Conference on Lexical and Computational Semantics.2016:23-33.
[11] SHAO Y,YAO X,QU X,et al.CMDAG:A Chinese metaphor dataset with annotated grounds as CoT for boosting metaphor generation[C]//Proceedings of the 2024 Joint International Conference on Computational Linguistics,Language Resources and Evaluation(LREC-COLING 2024).2024:3357-3366.
[12] XU B,LI T,ZHENG J,et al.Met-meme:A multimodal meme dataset rich in metaphors [C]//Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval.2022:2887-2899.
[13] MOHLER M,BRUNSON M,RINK B,et al.Introducing the lcc metaphor datasets [C]//Proceedings of the Tenth International Conference on Language Resources and Evaluation(LREC’16).2016:4221-4227.
[14] LIU A,FENG B,XUE B,et al.Deepseek-v3 technical report[PP/OL].(2025-02-18)[2025-12-31].https://arxiv.org/abs/2412.19437.
[15] YANG A,LI A,YANG B,et al.Qwen3 technical report [PP/OL].(2025-05-14)[2025-12-31].https://arxiv.org/abs/2505.09388.
[16] AGHAZADEH E,FAYYAZ M,YAGHOOBZADEH Y.Metaphors in Pre-Trained Language Models:Probing and Generalization Across Datasets and Languages[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2022:2037-2050.
[17] BARSALOU L W.Perceptual symbol systems [J].Behavioral and Brain Sciences,1999,22(4):577-660.
[18] SPEER R,CHIN J,HAVASI C.Conceptnet 5.5:An open multilingual graph of general knowledge [C]//Proceedings of the AAAI Conference on Artificial Intelligence.2017.
[19] LIU Y,GU J,GOYAL N,et al.Multilingual denoising pre-training for neural machine translation [J].Transactions of the Associationfor Computational Linguistics,2020,8:726-742.
[20] KRISHNAKUMARAN S,ZHU X.Hunting elusive metaphors using lexical resources[C]//Proceedings of the Workshop on Computational Approaches to Figurative Language.2007:13-20.
[21] GAO G,CHOI E,CHOI Y,et al.Neural Metaphor Detection in Context[C]//Conference on Empirical Methods in Natural Language Processing.2018.
[22] ABE K,SAKAMOTO K,NAKAGAWA M.A computationalmodel of the metaphor generation process [C]//Proceedings of the Annual Meeting of the Cognitive Science Society.2006.
[23] TERAI A,NAKAGAWA M.A computational system of metaphor generation with evaluation mechanism [C]//International Conference on Artificial Neural Networks.Springer,2010:142-147.
[24] MASON Z J.Cormet:a computational,corpus-based conventional metaphor extraction system [J].Computational Linguistics,2004,30(1):23-44.
[25] YU Z,WAN X.How to avoid sentences spelling boring?to-wards a neural approach to unsupervised metaphor generation [C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies,Volume 1(Long and Short Papers).2019:861-871.
[26] SHAO Y,YAO X,QU X,et al.CMDAG:A Chinese metaphor dataset with annotated grounds as CoT for boosting metaphor generation[C]//Proceedings of the 2024 Joint International Conference on Computational Linguistics,Language Resources and Evaluation(LREC-COLING 2024).2024:3357-3366.
[27] LI Y,LIN C,GUERIN F.Nominal metaphor generation with multitask learning[C]//Proceedings of the 15th International Conference on Natural Language Generation.2022:225-235.
[28] JACOBS A M.The gutenberg english poetry corpus:exemplary quantitative narrative analyses [J].Frontiers in Digital Humanities,2018,5:5.
[29] CONNEAU A,KHANDELWAL K,GOYAL N,et al.Unsupervised cross-lingual representation learning at scale[C]//Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics.2020:8440-8451.
[30] WANG J,WANG J,ZHANG X.Chinese metaphor recognition using a multi-stage prompting large language model[C]//CCF International Conference on Natural Language Processing and Chinese Computing.Singapore:Springer Nature Singapore,2024:234-246.
[31] KRAMER O.Conceptual Metaphor Theory as a Prompting Paradigm for Large Language Models [PP/OL].(2025-02-04)[2025-12-31].https://arxiv.org/abs/2502.01901
[32] MILLER G A.WordNet:a lexical database for English[J].Communications of the ACM,1995,38(11):39-41.
[33] BOND F,FOSTER R.Linking and extending an open multilingual wordnet [C]//Proceedings of the51st Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2013:1352-1362.
[34] LI X,TAHERI A,TU L,et al.Commonsense knowledge base completion [C]//Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2016:1445-1455.
[35] ZHA Z C.Research on Chinese Metaphor Evaluation and Generation Based on LLM and Conceptual Metaphor Theory [D].Hangzhou:Hangzhou Dianzi University,2025.
[36] REIMERS N,GUREVYCH I.Sentence-BERT:Sentence Em-beddings using Siamese BERT-Networks[C]//Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing(EMNLP-IJCNLP).2019:3982-3992.
[37] ZHANG T,KISHORE V,WU F,et al.BERTScore:Evaluating Text Generation with BERT[C]//International Conference on Learning Representations.2020.
[1] HE Jiaojun, LI Xin. Review of Graph Learning Based on Large Language Models:Methods,Benchmarks and Advances [J]. Computer Science, 2026, 53(9): 1-15.
[2] LI Luozheng, LI Lingbo, YUAN Quan. Survey of Chinese Datasets for LLM Safety Alignment:Landscape and Prospects [J]. Computer Science, 2026, 53(9): 16-23.
[3] AN Ran, CHENG Kai, SHAO Tianhao, LI Changyuan, CHEN Yan. Framework,Techniques and Challenges of Task Planning Agent Based on Large Language Model [J]. Computer Science, 2026, 53(9): 24-37.
[4] XIA Yi, ZHOU Gang, ZHANG Kaixiang, LAN Mingjing, LI Zhufeng, SU Benrong, HE Haofeng, FENG Shizhong. Survey on Collaborative-driven Knowledge Reasoning Technologies Integrating Large Language Models and Knowledge Graphs [J]. Computer Science, 2026, 53(9): 38-54.
[5] ZHANG Rongjie, PANG Xiongwen, WANG Fengling. Review of Large Language Model-based Time Series Modeling via Fine-tuning and AgentArchitecture [J]. Computer Science, 2026, 53(9): 55-70.
[6] CHEN Hai, FAN Changjun, SUN Boliang, CHENG Jie, KONG Junfeng, YUAN Yuchen. Order-based,LLM-augmented Kill-chain for Time-sensitive Target Engagement [J]. Computer Science, 2026, 53(9): 71-81.
[7] GUO Yuyang, SHI Lei, LIU Huan, DONG Yixiang, LI Rui. Domain-adapted and Dynamically Retrieval-augmented Approach for Large-scale History Discipline Model Construction [J]. Computer Science, 2026, 53(9): 92-100.
[8] LEI Kunhan, TAO Jiuyang, LI Chenyu, ZHONG Qi, YE Linfa. Method for Generating Operational Action Plans Based on Large Language Model Guided byChain-of-Thought [J]. Computer Science, 2026, 53(9): 101-109.
[9] WEI Debin, WANG Xinrui, YANG Li, PAN Chengsheng. DTD3-AQM:Satellite Network Queue Management Algorithm Based on Information Timeliness [J]. Computer Science, 2026, 53(9): 375-384.
[10] LI Zhennan, QIAN Jiayan, WANG Xinzhi, ZHANG Hui. Technology Risk Structure Recognition Based on Multi-granularity Semantic Dual Reflection [J]. Computer Science, 2026, 53(9): 395-404.
[11] XIA Bin, SU Jinya, CAO Junmin, XIAO Junwen, SUN Guozi. Research on Log Anomaly Prediction Method for Log Sequence Graph Construction Guided byReinforcement Learning [J]. Computer Science, 2026, 53(9): 405-413.
[12] HE Yulin, XIAO Youqi, YANG Zhenyu, HUANG Zhexue, CUI Laizhong. Adaptive Frequency Tuning Approach for Spark Clusters [J]. Computer Science, 2026, 53(8): 71-84.
[13] JIA Zishuo, ZHANG Jian’ge, HE Haofeng, FENG Shizhong, LIU Yilin. Survey on Mutually Augmenting Technologies and Applications of Large Models and KnowledgeGraphs [J]. Computer Science, 2026, 53(8): 219-228.
[14] LIU Jing. Review of Music Artificial Intelligence Driven by Large Language Models [J]. Computer Science, 2026, 53(8): 229-244.
[15] ZHANG Haoran, HAO Wenning, JIN Dawei, CHENG Kai, LIU Junyang. Agentic Retrieval Augmented Generation Framework Based on Retrieval Task Planning and Reflection Mechanism [J]. Computer Science, 2026, 53(8): 285-297.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!