mlsanityData to 7 Oct 2026

LaPA2: Length-Aware Prefix and Prompt Attention Augmentation for Long-Form Controllable Text Generation

arXiv 2508.04047 ↗First posted 6 Aug 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Prefix-based methods have emerged as a promising paradigm for Controllable Text Generation (CTG) due to their parameter efficiency. However, while effective in short sequences, their controllability tends to diminish as the generated sequence grows. In this paper, we identify Attention Dilution as a key factor behind this phenomenon: as the sequence length increases, the attention allocated to the control signal naturally decays due to the softmax mechanism, leading to a "fading" control effect. To address this, we propose LaPA2 (Length-aware Prefix and Prompt Attention Augmentation), a training-free and model-agnostic framework designed to sustain robust control in long contexts. Specifically, LaPA2 employs Length-Aware Logarithmic Scaling to dynamically amplify prefix attention weights, mathematically counteracting the dilution effect, while an optional Contextual Anchor Reinforcement applies synchronized augmentation to prompt tokens, preserving semantic coherence when strong attribute control risks overshadowing the original prompt. LaPA2 is versatile, supporting both soft prefixes (continuous embeddings) and hard prefixes (discrete instructions). Experiments on multiple CTG tasks demonstrate that LaPA2 consistently improves the performance of various prefix-based methods in long-form settings, leading to superior attribute controllability while preserving content relevance and fluency. Our code and data are publicly available at https://github.com/jiabingyang01/LaPA2.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 32 of its 40 references that are in the map. First posted on arXiv 6 Aug 2025.

Builds on

32 of 40 references.

References · 32

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2024GPT-4o System Cardcited by 4,467
  3. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  4. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  7. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  8. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
  9. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  10. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  11. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
  12. 2024Token-level Direct Preference Optimizationcited by 135
20 more
  1. 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 128
  2. 2020A Distributional Approach to Controlled Text Generationcited by 117
  3. 2022Controllable Natural Language Generation with Contrastive Prefixescited by 75
  4. 2024Controllable Text Generation for Large Language Models: A Surveycited by 55
  5. 2023Controlled Text Generation via Language Model Arithmeticcited by 51
  6. 2020CoCon: A Self-Supervised Approach for Controlled Text Generationcited by 47
  7. 2025Seeing Far and Clearly: Mitigating Hallucinations in MLLMs with Attention Causal Decodingcited by 42
  8. 2022DIRECTOR: Generator-Classifiers For Supervised Language Modelingcited by 38
  9. 2024ROSE Doesn't Do That: Boosting the Safety of Instruction-Tuned Large Language Models with Reverse Prompt Contrastive Decodingcited by 32
  10. 2022DisCup: Discriminator Cooperative Unlikelihood Prompt-tuning for Controllable Text Generationcited by 30
  11. 2023PREADD: Prefix-Adaptive Decoding for Controlled Text Generationcited by 29
  12. 2022Refined Semantic Enhancement towards Frequency Diffusion for Video Captioningcited by 18
  13. 2024Controlled Text Generation for Large Language Model with Dynamic Attribute Graphscited by 16
  14. 2024Reinforcement Learning with Token-level Feedback for Controllable Text Generationcited by 16
  15. 2024RSA-Control: A Pragmatics-Grounded Lightweight Controllable Text Generation Frameworkcited by 11
  16. 2023Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generationcited by 10
  17. 2024FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generationcited by 6
  18. 2025IKOD: Mitigating Visual Attention Degradation in Large Vision-Language Modelscited by 5
  19. 2023Controllable Text Generation with Residual Memory Transformercited by 3
  20. 2025Palette of Language Models: A Solver for Controlled Text Generationcited by 2

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.