Towards Controlled Transformation of Sentiment in Sentences

Wouter Leeftink, Gerasimos Spanakis

2019

Abstract

An obstacle to the development of many natural language processing products is the vast amount of training examples necessary to get satisfactory results. The generation of these examples is often a tedious and time-consuming task. This paper this paper proposes a method to transform the sentiment of sentences in order to limit the work necessary to generate more training data. This means that one sentence can be transformed to an opposite sentiment sentence and should reduce by half the work required in the generation of text. The proposed pipeline consists of a sentiment classifier with an attention mechanism to highlight the short phrases that determine the sentiment of a sentence. Then, these phrases are changed to phrases of the opposite sentiment using a baseline model and an autoencoder approach. Experiments are run on both the separate parts of the pipeline as well as on the end-to-end model. The sentiment classifier is tested on its accuracy and is found to perform adequately. The autoencoder is tested on how well it is able to change the sentiment of an encoded phrase and it was found that such a task is possible. We use human evaluation to judge the performance of the full (end-to-end) pipeline and that reveals that a model using word vectors outperforms the encoder model. Numerical evaluation shows that a success rate of 54.7% is achieved on the sentiment change.

Download


Paper Citation


in Harvard Style

Leeftink W. and Spanakis G. (2019). Towards Controlled Transformation of Sentiment in Sentences.In Proceedings of the 11th International Conference on Agents and Artificial Intelligence - Volume 2: ICAART, ISBN 978-989-758-350-6, pages 809-816. DOI: 10.5220/0007569608090816


in Bibtex Style

@conference{icaart19,
author={Wouter Leeftink and Gerasimos Spanakis},
title={Towards Controlled Transformation of Sentiment in Sentences},
booktitle={Proceedings of the 11th International Conference on Agents and Artificial Intelligence - Volume 2: ICAART,},
year={2019},
pages={809-816},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007569608090816},
isbn={978-989-758-350-6},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 11th International Conference on Agents and Artificial Intelligence - Volume 2: ICAART,
TI - Towards Controlled Transformation of Sentiment in Sentences
SN - 978-989-758-350-6
AU - Leeftink W.
AU - Spanakis G.
PY - 2019
SP - 809
EP - 816
DO - 10.5220/0007569608090816