Sentiment-oriented Transformer-based Variational Autoencoder Network for Live Video Commenting

Fengyi Fu, Shancheng Fang, Weidong Chen, Zhendong Mao
4/19/2024
cs.CVcs.AI

Official code: fufy1024/So-TVAE (3 stars, MIT, last commit 2024-04-19).

Abstract

Automatic live video commenting is with increasing attention due to its significance in narration generation, topic explanation, etc. However, the diverse sentiment consideration of the generated comments is missing from the current methods. Sentimental factors are critical in interactive commenting, and lack of research so far. Thus, in this paper, we propose a Sentiment-oriented Transformer-based Variational Autoencoder (So-TVAE) network which consists of a sentiment-oriented diversity encoder module and a batch attention module, to achieve diverse video commenting with multiple sentiments and multiple semantics. Specifically, our sentiment-oriented diversity encoder elegantly combines VAE and random mask mechanism to achieve semantic diversity under sentiment guidance, which is then fused with cross-modal features to generate live video comments. Furthermore, a batch attention module is also proposed in this paper to alleviate the problem of missing sentimental samples, caused by the data imbalance, which is common in live videos as the popularity of videos varies. Extensive experiments on Livebot and VideoIC datasets demonstrate that the proposed So-TVAE outperforms the state-of-the-art methods in terms of the quality and diversity of generated comments. Related code is available at https://github.com/fufy1024/So-TVAE.

View on arXivView PDF

Code Implementations(1)

fufy1024/So-TVAEOfficial100%
MIT

This is the official implementation for paper Sentiment-oriented Transformer-based Variational Autoencoder Network for Live Video Commenting.

30PythonNov 11, 20232 years agoMIT

Similar Papers

Cite this paper

@article{fu2024sentimentoriented,
  title  = {Sentiment-oriented Transformer-based Variational Autoencoder Network for Live Video Commenting},
  author = {Fengyi Fu and Shancheng Fang and Weidong Chen and Zhendong Mao},
  year   = {2024},
  eprint = {2404.12782},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.12782v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.12782.svg)](https://codeofpaper.com/paper/2404.12782)

Discussion