paper-with-me

홈 › Papers

Multi-Attribute Constraint Satisfaction via Language Model Rewriting

2024-12-26 · Ashutosh Baheti, Debanjana Chakraborty, Faeze Brahman, Ronan Le Bras, Ximing Lu, Nouha Dziri, Yejin Choi, Mark Riedl, Maarten Sap

Obeying precise constraints on top of multiple external attributes is a common computational problem underlying seemingly different domains, from controlled text generation to protein engineering. Existing language model (LM) controllability methods for multi-attribute constraint satisfaction often rely on specialized architectures or gradient-based classifiers, limiting their flexibility to work with arbitrary black-box evaluators and pretrained models. Current general-purpose large language models, while capable, cannot achieve fine-grained multi-attribute control over external attributes. Thus, we create Multi-Attribute Constraint Satisfaction (MACS), a generalized method capable of finetuning language models on any sequential domain to satisfy user-specified constraints on multiple external real-value attributes. Our method trains LMs as editors by sampling diverse multi-attribute edit pairs from an initial set of paraphrased outputs. During inference, LM iteratively improves upon its previous solution to satisfy constraints for all attributes by leveraging our designed constraint satisfaction reward. We additionally experiment with reward-weighted behavior cloning to further improve the constraint satisfaction rate of LMs. To evaluate our approach, we present a new Fine-grained Constraint Satisfaction (FineCS) benchmark, featuring two challenging tasks: (1) Text Style Transfer, where the goal is to simultaneously modify the sentiment and complexity of reviews, and (2) Protein Design, focusing on modulating fluorescence and stability of Green Fluorescent Proteins (GFP). Our empirical results show that MACS achieves the highest threshold satisfaction in both FineCS tasks, outperforming strong domain-specific baselines. Our work opens new avenues for generalized and real-value multi-attribute control, with implications for diverse applications spanning NLP and bioinformatics.

📄 PDF Abstract BibTeX arXiv:2412.19198

Code (0)

등록된 구현이 없습니다.

Tasks

AttributeLanguage ModelingLanguage ModellingmodelProtein DesignStyle TransferText GenerationText Style Transfer

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

StoryLens: Preference-Aligned Story Rewriting via Context-Aware Narrative Enrichment

2026-05-27 · Hanwen Cui, Yuting Mei, Yuhang Fu, Dingyi Yang 외 arxiv

Story rewriting aims to adapt existing narratives to diverse reader preferences while preserving plot consistency and narrative coherence. Unlike conventional work on style transfer, we argue that effective story rewriti…

Reinforcement LearningStyle Transfer

Detect and Perturb: Neutral Rewriting of Biased and Sensitive Text via Gradient-based Decoding

2021-09-24 · Findings (EMNLP) 2021 11 · Zexue He, Bodhisattwa Prasad Majumder, Julian McAuley

Written language carries explicit and implicit biases that can distract from meaningful signals. For example, letters of reference may describe male and female candidates differently, or their writing style may indirectl…

Attribute

Towards Universality in Multilingual Text Rewriting

2021-07-30 · Xavier Garcia, Noah Constant, Mandy Guo, Orhan Firat

In this work, we take the first steps towards building a universal rewriter: a model capable of rewriting text in any language to exhibit a wide variety of attributes, including styles and languages, while preserving as …

Translation

LLM Routing as Reasoning: A MaxSAT View

2026-03-13 · Son Nguyen, Xinyuan Liu, Ransalu Senanayake arxiv

Routing a query through an appropriate LLM is challenging, particularly when user preferences are expressed in natural language and model attributes are only partially observable. We propose a constraint-based interpreta…

Edit-Constrained Decoding for Sentence Simplification

2024-09-28 · Tatsuya Zetsu, Yuki Arase, Tomoyuki Kajiwara

We propose edit operation based lexically constrained decoding for sentence simplification. In sentence simplification, lexical paraphrasing is one of the primary procedures for rewriting complex sentences into simpler c…

Sentence