paper-with-me

Papers

Controlled Text Generation as Continuous Optimization with Multiple Constraints

2021-08-04 · NeurIPS 2021 12 · Sachin Kumar, Eric Malmi, Aliaksei Severyn, Yulia Tsvetkov

As large-scale language model pretraining pushes the state-of-the-art in text generation, recent work has turned to controlling attributes of the text such models generate. While modifying the pretrained models via fine-tuning remains the popular approach, it incurs a significant computational cost and can be infeasible due to lack of appropriate data. As an alternative, we propose MuCoCO -- a flexible and modular algorithm for controllable inference from pretrained models. We formulate the decoding process as an optimization problem which allows for multiple attributes we aim to control to be easily incorporated as differentiable constraints to the optimization. By relaxing this discrete optimization to a continuous one, we make use of Lagrangian multipliers and gradient-descent based techniques to generate the desired text. We evaluate our approach on controllable machine translation and style transfer with multiple sentence-level attributes and observe significant improvements over baselines.

📄 PDF Abstract BibTeX arXiv:2108.01850

Code (1)

sachin19/mucoco pytorch

Tasks

Language ModelingLanguage ModellingMachine TranslationSentenceStyle TransferText GenerationTranslation

Similar Papers 제목 키워드 기반

Controlled LLM Decoding via Discrete Auto-regressive Biasing

2025-02-06 · Patrick Pynadath, Ruqi Zhang

Controlled text generation allows for enforcing user-defined constraints on large language model outputs, an increasingly important field as LLMs become more prevalent in everyday life. One common approach uses energy-ba…

Large Language ModelText Generation

C$^3$TG: Conflict-aware, Composite, and Collaborative Controlled Text Generation

2025-11-12 · Yu Li, Zhe Yang, Yi Huang, Xin Liu 외 arxiv

Recent advancements in large language models (LLMs) have demonstrated remarkable text generation capabilities. However, controlling specific attributes of generated text remains challenging without architectural modifica…

Text Generation

Controlled Text Generation Using Dictionary Prior in Variational Autoencoders

2022-05-01 · Findings (ACL) 2022 5 · Xianghong Fang, Jian Li, Lifeng Shang, Xin Jiang 외

While variational autoencoders (VAEs) have been widely applied in text generation tasks, they are troubled by two challenges: insufficient representation capacity and poor controllability. The former results from the pos…

Contrastive LearningLanguage ModelingLanguage ModellingRepresentation Learning+1

CLaRa: Bridging Retrieval and Generation with Continuous Latent Reasoning

2025-11-24 · Jie He, Richard He Bai, Sinead Williamson, Jeff Z. Pan 외 arxiv

Retrieval-augmented generation (RAG) enhances large language models (LLMs) with external knowledge but still suffers from long contexts and disjoint retrieval-generation optimization. In this work, we propose CLaRa (Cont…

Question Answering

Improving Emotional Expression and Cohesion in Image-Based Playlist Description and Music Topics: A Continuous Parameterization Approach

2023-10-02 · Yuelyu Ji, Yuheng Song, Wei Wang, Ruoyi Xu 외

Text generation in image-based platforms, particularly for music-related content, requires precise control over text styles and the incorporation of emotional expression. However, existing approaches often need help to c…

continuous-controlContinuous ControlLanguage ModelingLanguage Modelling+1