透過您的圖書館登入
IP:18.222.93.141
  • 學位論文

條件式句子改寫且不使用成對資料訓練

Conditional Sentence Rephrasing without Pairwise Training Corpus

指導教授 : 林守德
若您是本文的作者,可授權文章由華藝線上圖書館中協助推廣。

摘要


自然語言生成在最近發展的相當蓬勃,無論是基於對抗式生成網 路 (GAN) 或是變分自動編碼器 (VAE),都有相當的佳作發表。在自然 語言生成的領域中,條件式的改寫是較少人專注的題目,在這篇論文 中,我們對這個題目有更正式的定義-將句子依據給定的條件改寫, 且生成的句子需和原句相像並滿足給定的條件。我們提出了一個基於 序列變分自動編碼器的模型解決這個問題。這個模型在訓練時和自動 編碼器相同,輸入和目標是同個句子,但我們額外加入了條件提醒的 機制,讓模型在生成句子時會去注意在我們給定的條件上,達成控制 的目標。最後我們的實驗結果支持這個模型能生成好品質的句子並符 合條件的改寫。

並列摘要


Natural language generation has been a popular field with lots of quality works published based on generative adversarial network (GAN) or varia- tional autoencoder (VAE). However, rephrasing with condition is a problem that few people focus on. In this work, the problem is formally defined as ”rephrase a sentence with given condition, and the generated sentence should be similar to the origin sentence and it should satisfy the given condition”. Moreover, we propose a conditional model based on sentence-VAE to solve the problem. The model is trained as an autoencoder, but we can control the condition of the generated sentence. And, it inherits the nature of autoencoder that the generated sentences would be similar to the input sentence. With experiment results supported, the model can solve the problem with quality sentences.

參考文獻


[1] Yelp open dataset. https://www.yelp.com/dataset/.
[2] D. Bahdanau, K. Cho, and Y. Bengio. Neural machine translation by jointly learning to align and translate. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015.
[3] S. Bird, E. Klein, and E. Loper. Natural Language Processing with Python. O’Reilly Media, Inc., 1st edition, 2009.
[4] S.R.Bowman,L.Vilnis,O.Vinyals,A.Dai,R.Jozefowicz,andS.Bengio.Generat- ing sentences from a continuous space. In Proceedings of The 20th SIGNLL Confer- ence on Computational Natural Language Learning, pages 10–21, Berlin, Germany, Aug. 2016. Association for Computational Linguistics.
[5] C. K. Chen, Z. F. Pan, M. Sun, and M. Liu. Unsupervised stylish image description generation via domain layer norm. CoRR, abs/1809.06214, 2018.

延伸閱讀