Controlling Repetition in Protein Language Models
Not on the map. Why?
Abstract (arXiv)
Protein language models (PLMs) have enabled advances in structure prediction and de novo protein design, yet they frequently collapse into pathological repetition during generation. Unlike in text, where repetition merely reduces readability, in proteins it undermines structural confidence and functional viability. To unify this problem, we present the first systematic study of repetition in PLMs. We first propose quantitative metrics to characterize motif-level and homopolymer repetition and then demonstrate their negative impact on folding reliability. To address this challenge, we propose UCCS (Utility-Controlled Contrastive Steering), which steers protein generation with a constrained dataset. Instead of naively contrasting high- vs. low-repetition sequences, we construct contrastive sets that maximize differences in repetition while tightly controlling for structural utility. This disentanglement yields steering vectors that specifically target repetition without degrading foldability. Injected at inference, these vectors consistently reduce repetition without retraining or heuristic decoding. Experiments with ESM-3 and ProtGPT2 in CATH, UniRef50, and SCOP show that our method outperforms decoding penalties and other baselines, substantially lowering repetition while preserving AlphaFold confidence scores. Our results establish repetition control as a central challenge for PLMs and highlight dataset-guided steering as a principled approach for reliable protein generation.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 32 of its 49 references that are in the map. First posted on arXiv 31 Jan 2026.
Builds on
32 of 49 references.
References · 32
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,009
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2013Generating Sequences With Recurrent Neural Networkscited by 549
- 2019Neural Text Generation with Unlikelihood Trainingcited by 489
- 2017Learning to Generate Reviews and Discovering Sentimentcited by 147
- 2022Locally Typical Samplingcited by 108
20 more
- 2024Diffusion Language Models Are Versatile Protein Learnerscited by 93
- 2024InterPLM: Discovering Interpretable Features in Protein Language Models via Sparse Autoencoderscited by 64
- 2024xTrimoPGLM: Unified 100B-Scale Pre-trained Transformer for Deciphering the Language of Proteincited by 49
- 2018Importance of Search and Evaluation Strategies in Neural Dialogue Modelingcited by 44
- 2022RITA: a Study on Scaling Up Generative Protein Sequence Modelscited by 39
- 2024Locate-then-edit for Multi-hop Factual Recall under Knowledge Editingcited by 36
- 2025Understanding the Repeat Curse in Large Language Models from a Feature Perspectivecited by 36
- 2024Dissecting Fine-Tuning Unlearning in Large Language Modelscited by 25
- 2025RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patternscited by 24
- 2024Exploring the Personality Traits of LLMs through Latent Features Steeringcited by 21
- 2025Adaptive Multi-Subspace Representation Steering for Attribute Alignment in Large Language Modelscited by 16
- 2024A Hopfieldian View-based Interpretation for Chain-of-Thought Reasoningcited by 15
- 2024Concept Bottleneck Language Models For protein designcited by 15
- 2024Comparative Analysis of Pooling Mechanisms in LLMs: A Sentiment Analysis Perspectivecited by 12
- 2025Towards Interpretable Protein Structure Prediction with Sparse Autoencoderscited by 12
- 2025PIXEL: Adaptive Steering Via Position-wise Injection with eXact Estimated Levels under Subspace Calibrationcited by 10
- 2025MONICA: Real-Time Monitoring and Calibration of Chain-of-Thought Sycophancy in Large Reasoning Modelscited by 10
- 2025Steering Protein Language Modelscited by 7
- 2023Identification of Knowledge Neurons in Protein Language Modelscited by 2
- 2025Towards Reasoning-Preserving Unlearning in Multimodal Large Language Modelscited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Induction Meets Biology: Mechanisms of Repeat Detection in Protein Language Modelscited by 1
- 2026Generative Modeling in Protein Design: Neural Representations, Conditional Generation, and Evaluation Standardscited by 1
- 2026Multi-Adapter Representation Interventions via Energy Calibrationcited by 0
- 2026Unlocking Multimodal Protein Language Models at Inference Timecited by 0
- 2026Unlocking Multimodal Protein Language Models at Inference Time26 Aug 2026
- 2026Multi-Adapter Representation Interventions via Energy Calibration27 May 2026
- 2026Generative Modeling in Protein Design: Neural Representations, Conditional Generation, and Evaluation Standards27 Mar 2026
- 2026Induction Meets Biology: Mechanisms of Repeat Detection in Protein Language Models26 Feb 2026