paper-with-me

홈 › Papers

DiffuCom: A novel diffusion model for comment generation

2023-10-16 · Knowledge-Based Systems 2023 10 · Jiamiao Liu, Pengsen Cheng, Jinqiao Dai, Jiayong Liu

Given that the diffusion model has good advantages in diversity, an increasing number of researchers have recently begun exploring natural language generation. However, despite significant progress in modeling based on text diffusion, there are still several challenges to be overcome in comment tasks. On the one hand, the source sentences in the comment task are long. If each timestep in the diffusion carries and computes the source sentence, it will significantly increase the computational overhead. On the other hand, the diffusion model is essentially an iterative non-autoregressive model, which lacks target decomposition in the decoding. This makes vanilla crossattention prone to overlook local perceptual content, leading to the problem of poor correlation. To solve the aforementioned problem, we propose a novel diffusion model for comment generation (named DiffuCom). Specifically, DiffuCom employs the transformer- based encoder-decoder structure, encoding only once during the reverse diffusion process, effectively reducing computational overhead. Additionally, we design a context - aware cross -attention module (CACAM) that integrates global and local cross-attention information through a gating mechanism, which more accurately captures relevant fragment information in the source sentence and improves the correlation. Second, selfconditioning technology was introduced in the training process, which can effectively improve the quality of the samples. Furthermore, to enhance the controllability of DiffuCom, we also propose a blended control. It combines class-conditional and classifier guidance by utilizing the difference between training and inference. Extensive experiments on four comment datasets demonstrate that the proposed DiffuCom model can generate comments that are both diverse and relevant.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Comment GenerationmodelSentenceText Generation

Similar Papers 제목 키워드 기반

DiffuCOMET: Contextual Commonsense Knowledge Diffusion

2024-02-26 · Silin Gao, Mete Ismayilzada, Mengjie Zhao, Hiromi Wakaki 외

Inferring contextually-relevant and diverse commonsense to understand narratives remains challenging for knowledge models. In this work, we develop a series of knowledge models, DiffuCOMET, that leverage diffusion to lea…

Diversity

Live Video Comment Generation Based on Surrounding Frames and Live Comments

2018-08-13 · Damai Dai

In this paper, we propose the task of live comment generation. Live comments are a new form of comments on videos, which can be regarded as a mixture of comments and chats. A high-quality live comment should be not only …

Comment Generation

Network Bending of Diffusion Models for Audio-Visual Generation

2024-06-28 · Luke Dzwonczyk, Carmine Emanuele Cella, David Ban

In this paper we present the first steps towards the creation of a tool which enables artists to create music visualizations using pre-trained, generative, machine learning models. First, we investigate the application o…

Image Generation

Automatic Generation of Personalized Comment Based on User Profile

2019-07-24 · ACL 2019 7 · Wenhuan Zeng, Abulikemu Abuduweili, Lei LI, Pengcheng Yang

Comments on social media are very diverse, in terms of content, style and vocabulary, which make generating comments much more challenging than other existing natural language generation~(NLG) tasks. Besides, since diffe…

Comment GenerationText Generation

Generating Pertinent and Diversified Comments with Topic-aware Pointer-Generator Networks

2020-05-09 · Junheng Huang, Lu Pan, Kang Xu, Weihua Peng 외

Comment generation, a new and challenging task in Natural Language Generation (NLG), attracts a lot of attention in recent years. However, comments generated by previous work tend to lack pertinence and diversity. In thi…

ArticlesComment GenerationDiversityText Generation