Teachers often guide students to improve their essays by adding engaging modifiers to polish the sentences. In this work, we present the first study on automatic sentence polishing by adding modifiers. Since there is no available dataset for the new task, we first automatically construct a large number of parallel data by removing modifiers in the engaging sentences collected from public resources. Then we finetune LongLM (Guan et al., 2022) to reconstruct the original sentences from the corrupted ones. Considering that much overlap between inputs and outputs may bias the model to completely copy the inputs, we split each source sentence into sub-sentences and only require the model to generate the modified sub-sentences. Furthermore, we design a retrieval augmentation algorithm to prompt the model to add suitable modifiers. Automatic and manual evaluation on the auto-constructed test set and real human texts show that our model can generate more engaging sentences with suitable modifiers than strong baselines while keeping fluency. We deploy the model at http://coai.cs.Tsinghua.edu.cn/static/polishSent/. A demo video is available at https://youtu. be/Y6gFHOgSv8Y.
CITATION STYLE
Zhang, Z., Guan, J., Cui, X., Ran, Y., Liu, B., & Huang, M. (2023). Self-supervised sentence polishing by adding engaging modifiers. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (Vol. 3, pp. 499–507). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2023.acl-demo.48
Mendeley helps you to discover research relevant for your work.