Positive Text Reframing under Multi-strategy Optimization

Shutong Jia, Biwei Cao, Qingqing Gao, Jiuxin Cao, Bo Liu

TL;DR

This paper introduces a novel Multi-Strategy Optimization Framework (MSOF) to improve positive text reframing, a task that aims to rephrase negative text into positive expressions while preserving the original meaning. MSOF combines reinforcement learning with sentiment and content preservation rewards, advanced decoding strategies, and a multi-dimensional re-ranking approach to achieve significant improvements in both unconstrained and controlled reframing tasks.

What Problem Does This Paper Address?

Text style transfer (TST) has evolved significantly, with sentiment transfer being a prominent subfield. However, traditional sentiment transfer often alters the original meaning by simply replacing opinion words. Positive reframing, a more nuanced task, aims to rephrase negative text into positive expressions by introducing complementary positive viewpoints while strictly preserving the original meaning. While pre-trained language models (PLMs) have shown promise, generating fluent, diverse, and task-constrained reframed text remains a challenge. Existing methods often fine-tune PLMs without fully leveraging the reframing strategy or optimizing for both sentiment shift and content preservation simultaneously. This paper addresses these limitations by proposing a comprehensive framework that optimizes these aspects.

Methods

The proposed Multi-Strategy Optimization Framework (MSOF) comprises several key components:

  • Reinforcement Training with Dual Rewards: MSOF employs a sequence-to-sequence model (BART or T5) enhanced with reinforcement learning. It introduces two novel rewards:
  • Positive Sentiment Reward: This reward encourages the model to shift the sentiment of the generated text towards positivity, using a fine-tuned sentiment classifier.
  • Content Preservation Reward: This reward, inspired by previous work, uses BLEU scores and a self-critic sequence training approach to ensure the generated text retains the original meaning. The final training loss is a weighted sum of these rewards and a language modeling loss.

  • Decoding Improvement: To combat text degeneration (e.g., repetitive sequences) common in PLM generation, MSOF incorporates various decoding strategies beyond greedy search, including Beam search, Top-k sampling, Top-p sampling, and Typical sampling.

  • Multi-dimensional Re-ranking: After generating a set of candidate sentences using the improved decoding methods, a multi-dimensional re-ranking module selects the best reframed text. This module evaluates candidates based on three criteria:
  • Strategy Consistency: Using a proposed "Strategy-BERT" model, this assesses how well the reframed text aligns with the specified reframing strategy (e.g., "Growth Mindset," "Optimism").
  • Textual Similarity: BLEU score is used to measure the semantic similarity between the original and reframed text.
  • Fluency: GPT-2 is employed to evaluate the naturalness and grammatical correctness of the generated text.

Datasets

The paper utilizes the dataset provided by Ziems et al. (2022) for both unconstrained and controlled positive reframing tasks. For the reframe strategy classification task, the dataset is divided into multiple binary classification tasks, one for each of the six reframing strategies (Growth Mindset, Impermanence, Neutralizing, Optimism, Self-affirmation, Thankfulness).

Key Insights and Ideas

  • Synergy of Rewards is Crucial: Combining positive sentiment reward and content preservation reward is essential for achieving a good balance between shifting sentiment and maintaining meaning. Neither reward alone is sufficient.
  • Decoding Strategies Matter: Advanced decoding methods like Top-k and Top-p sampling significantly outperform greedy search in generating higher-quality and more diverse reframed texts.
  • Multi-dimensional Re-ranking Enhances Selection: The proposed multi-dimensional re-ranking, considering strategy consistency, textual similarity, and fluency, effectively selects the best candidate sentence, leading to substantial performance gains.
  • Strategy-BERT's Effectiveness: The proposed Strategy-BERT model demonstrates the importance of explicitly modeling strategy consistency, proving effective in evaluating how well a reframed sentence adheres to a given reframing strategy.
  • T5 vs. BART Performance Nuances: While both T5 and BART benefit from MSOF, T5-based models tend to excel in positivity and fluency, whereas BART-based models show a stronger tendency towards meaning preservation.

Key Results

  • Unconstrained Positive Reframing: MSOF, particularly with Top-k sampling, achieved state-of-the-art results across multiple metrics, including ROUGE, BLEU, BScore, RTQE, and PPL, outperforming baselines by at least 7% on average.
  • Controlled Positive Reframing: MSOF also demonstrated significant improvements in controlled settings, with Top-k sampling again yielding the best results. The framework achieved an average improvement of 5 points on ROUGE, 1 point on BLEU, and substantial gains on RTQE and PPL compared to baselines.
  • Reframe Strategy Classification: The proposed Strategy-BERT and Strategy-RoBERTa models outperformed existing multi-label classification baselines, showing significant improvements on labels like "Growth Mindset" and "Self-affirmation."
  • Human Evaluation: Human evaluation corroborated automatic metrics, indicating that MSOF effectively improves reframed text quality, with T5-based models showing better positivity and BART-based models better meaning preservation.

Limitations and Future Work

  • Computational Cost: The MSOF framework, with its reinforced reward training and multi-dimensional re-ranking, requires more memory and time for training and prediction compared to simpler baselines.
  • Dataset Issues: The dataset used has potential noise and label imbalance issues, which could hinder model training. The lack of corresponding datasets in other languages is also noted.
  • Future Directions:
    • Further cleaning and expansion of existing datasets to improve quality and address label imbalance.
  • Exploring controlled text generation techniques for this task.
  • Investigating different context enhancement approaches.
  • Applying large language models (LLMs) to positive reframing.
  • Training PLMs on richer psychological corpora for improved performance.

Summary updated

BibTeX
@inproceedings{jia2025positive,
  author = {Shutong Jia and Biwei Cao and Qingqing Gao and Jiuxin Cao and Bo Liu},
  title = {{Positive Text Reframing under Multi-strategy Optimization}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
}
Figure