[Paper Review] Thank you BART! Rewarding Pre-Trained Models Improves Formality Style Transfer
This paper proposes a reward-augmented fine-tuning framework for formality style transfer using pre-trained models (GPT-2 and BART), integrating style classification and BLEU-based rewards to improve both style transfer accuracy and content preservation. It achieves state-of-the-art results, demonstrating that fine-tuning with just 10% of parallel data outperforms training from scratch on 100%, significantly reducing data dependency.
Scarcity of parallel data causes formality style transfer models to have scarce success in preserving content. We show that fine-tuning pre-trained language (GPT-2) and sequence-to-sequence (BART) models boosts content preservation, and that this is possible even with limited amounts of parallel data. Augmenting these models with rewards that target style and content -- the two core aspects of the task -- we achieve a new state-of-the-art.
Motivation & Objective
- To address the challenge of preserving content during formality style transfer, especially when parallel training data is scarce.
- To investigate whether pre-trained models can enhance content preservation and style transfer performance when fine-tuned with limited parallel data.
- To evaluate the effectiveness of combining style classification and BLEU-based rewards in improving both style strength and content fidelity.
- To demonstrate that fine-tuning pre-trained models with only 10% of parallel data can outperform training from scratch on 100% of the data.
- To reduce reliance on large-scale parallel data, enabling broader application of supervised style transfer across domains and languages.
Proposed method
- Fine-tune GPT-2 and BART models on a formality transfer parallel corpus using a sequence-to-sequence framework with special tokens [BOS], [SEP], and [EOS] to structure input and output.
- Introduce two reward signals: a style classification reward based on a pre-trained TextCNN classifier to boost confidence in target style prediction, and a BLEU score reward to enhance content preservation.
- Optimize the model using reinforcement learning with a combined reward function: R_total = λ_cls × R_cls + λ_bleu × R_bleu, where R_cls measures style confidence shift and R_bleu measures n-gram overlap with reference outputs.
- Train the models end-to-end with the dual reward objective, using fixed parameters for the style classifier during fine-tuning to stabilize training.
- Use BART large and GPT-2 base models to evaluate performance across different model scales and architectures.
- Apply inference with beam search and temperature sampling to generate diverse and high-quality outputs.
Experimental results
Research questions
- RQ1Can pre-trained language models like GPT-2 and BART improve content preservation in formality style transfer when fine-tuned on limited parallel data?
- RQ2Does the integration of style and content-specific rewards lead to better performance than using either reward alone or no reward?
- RQ3Can fine-tuning with only 10% of the parallel data outperform training from scratch on 100% of the data?
- RQ4How do the pre-trained models compare in isolating style and content, and what role does each play in the final output quality?
- RQ5To what extent does the proposed method reduce dependency on large-scale parallel data for supervised style transfer?
Key findings
- BART large fine-tuned with both style and content rewards achieved the highest style confidence (ACC = 0.825) and BLEU score (0.800) on the E&M domain, outperforming all baselines.
- The BART large + SC & BLEU model achieved a BLEU score of 0.800 and style confidence of 0.825, significantly outperforming OpenNMT and GPT-2 variants.
- Fine-tuning with only 10% of the parallel data produced better content preservation (BLEU: 0.657) and style confidence (0.657) than training from scratch on 100% of the data.
- The combination of style classification and BLEU rewards consistently improved both style strength and content fidelity across all model variants, with BART models showing superior performance.
- GPT-2 models with dual rewards achieved a BLEU score of 0.634 and style confidence of 0.634, indicating strong content preservation and effective style transfer.
- The BART large + SC & BLEU model generated the most fluent and accurate output, with a BLEU score of 1.000 and style confidence of 0.096, indicating high fluency and correct style transfer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.