Calibrated Bottleneck Proposal Search for Multi-attribute Controlled Text Generation
LI Tianxu1, YANG Hang1, YU Zhengtao1, XIAN Yantuan1, XIANG Yan1, HUANG Yuxin1
1. Yunnan Key Laboratory of Artificial Intelligence, Faculty of Information Engineering and Automation, Kunming University of Science and Technology, Kunming 650504
Abstract:For the inputs containing harmful language, generated continuations are required to satisfy non-toxicity, target sentiment, target topic, and fluency constraints simultaneously. Calibrated Bottleneck Proposal Search (CBPS) is proposed to adapt candidate generation directions to the attribute satisfaction of different prefixes. With the generator parameters frozen, joint-only trajectories and intervention trajectories generated according to a predefined schedule of joint and single-attribute-focused proposals are collected offline. A multi-head prefix-value model is trained with attribute and fluency supervision from complete continuations to uniformly evaluate candidates from two proposal types. Weighted isotonic regression is adopted to map attribute prediction scores to estimated passing probabilities and identify the attribute with the lowest estimated passing probability as the bottleneck of each prefix. Joint proposals are utilized in the root round, with one joint proposal and one bottleneck-focused proposal subsequently assigned to each retained unfinished prefix. All candidates are ranked by a shared score combining joint attribute value, minimum attribute value, and fluency value. A fixed number of high-scoring prefixes are retained in intermediate rounds, with the highest-scoring continuation selected in the final round. With English continuations limited to 32 tokens and the same generated-token budget cap, improvements in overall joint success rate are achieved over joint-proposal search on Phi-2 2.7B and Qwen2.5-14B-Instruct. These results indicate that prefix-specific proposal allocation improves joint attribute control.
[1] Yu D, Yu Z, Sagae K.Attribute alignment: controlling text generation from pre-trained language models[C]//Proceedings of the Conference on Empirical Methods in Natural Language Processing. Stroudsburg, USA: ACL, 2021: 2251-2268. [2] Gu Y X, Feng X C, Ma S C, et al. A distributional lens for multi-aspect controllable text generation[C]//Proceedings of the Confe-rence on Empirical Methods in Natural Language Processing. Stroudsburg, USA: ACL, 2022: 1023-1043. [3] Liu Y, Liu X Y, Zhu X R, et al. Multi-aspect controllable text ge-neration with disentangled counterfactual augmentation[C]//Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics(Long Papers). Stroudsburg, USA: ACL, 2024: 9231-9253. [4] Yang K, Klein D.FUDGE: controlled text generation with future discriminators[C]//Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (Human Language Technologies). Stroudsburg, USA: ACL, 2021: 3511-3535. [5] 陆文韬,彭敦陆.CAREx:基于多层卷积和注意力机制的可解释生成推荐模型[J].小型微型计算机系统, 2025, 46(5): 1072-1080. (Lu W T, Peng D L.CAREx: context-aware and explainable re-commendation with adaptable language model[J]. Journal of Chinese Computer Systems, 2025, 46(5): 1072-1080) [6] Cao Y L, Zhao J H, Zhang R K, et al. TARA: token-level attribute relation adaptation for multi-attribute controllable text generation[C]//Proceedings of the Conference on Empirical Methods in Na-tural Language Processing. Stroudsburg, USA: ACL, 2024: 12570-12579. [7] Nguyen D, Prasad A, Stengel-Eskin E, et al. Multi-attribute stee-ring of language models via targeted intervention[C]//Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Long Papers). Stroudsburg, USA: ACL, 2025: 20619-20634. [8] 徐琳宏,林鸿飞,杨亮,等.结合排序学习的趣味成语生成模型[J].小型微型计算机系统, 2019, 40(3): 520-526. (Xu L H, Lin H F, Yang L, et al. Model of interesting idioms ge-neration based on learning to rank[J]. Journal of Chinese Computer Systems, 2019, 40(3): 520-526.) [9] Stiennon N, Ouyang L, Wu J, et al. Learning to summarize with human feedback[C]//Proceedings of the 34th International Confe-rence on Neural Information Processing Systems. Cambridge, USA: MIT Press, 2020:3008-3021. [10] 黄于欣,赵源,余正涛,等.基于三幕结构思维链和语义自洽的事件驱动故事生成方法[J].模式识别与人工智能, 2024, 37(7): 571-583. (Huang Y X, Zhao Y, Yu Z T, et al. Event-driven story writing based on three-act structural chain-of-thought and semantic self-consistency[J]. Pattern Recognition and Artificial Intelligence, 2024, 37(7): 571-583.) [11] Mudgal S, Lee J, Ganapathy H, et al. Controlled decoding from language models[EB/OL].[2026-07-27]. https://openreview.net/pdf?id=bVIcZb7Qa0. [12] Qiu J H, Lu Y F, Zeng Y F, et al. TreeBoN: enhancing infe-rence-time alignment with speculative tree-search and Best-of-N sampling[C]//Proceedings of the Conference on Empirical Me-thods in Natural Language Processing. Stroudsburg, USA: ACL, 2025: 20894-20917. [13] Ryu S, Do H, Kim Y, et al. Adaptive planning for multi-attribute controllable summarization with Monte Carlo tree search[C]//Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics(Long Papers). Stroudsburg, USA: ACL, 2026: 18578-18595. [14] LIU Z H, LI L J, CHEN R Z, et al. Evolutionary guided decoding: iterative value refinement for LLMs[C]//Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics(Long Papers). Stroudsburg, USA: ACL, 2026: 3266-3283. [15] Zadrozny B, Elkan C.Transforming classifier scores into accurate multiclass probability estimates[C]//Proceedings of the 8th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. New York, USA: ACM, 2002: 694-699. [16] Ayer M, Brunk H D, Ewing G M, et al. An empirical distribution function for sampling with incomplete information[J]. The Annals of Mathematical Statistics, 1955, 26(4): 641-647. [17] Gehman S, Gururangan S, Sap M, et al. RealToxicityPrompts: eva-luating neural toxic degeneration in language models[C]//Proceedings of the Conference on Empirical Methods in Natural Language Processing. Stroudsburg, USA: ACL, 2020: 3356-3369. [18] Rafailov R, Sharma A, Mitchell E, et al. Direct preference optimization: your language model is secretly a reward model[C]//Proceedings of the 37th International Conference on Neural Information Processing Systems. Cambridge, USA: MIT Press, 2023: 53728-53741. [19] Hu E, Shen Y L, Wallis P, et al. LoRA: low-rank adaptation of large language models[EB/OL].[2026-08-16]. https://arxiv.org/pdf/2106.09685v1. [20] Li J W, Galley M, Brockett C, et al. A diversity-promoting objective function for neural conversation models[C]//Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics(Human Language Technologies). Stroudsburg, USA: ACL, 2016: 110-119. [21] Naeini M P, Cooper G F, Hauskrecht M.Obtaining well calibrated probabilities using Bayesian binning[J]. Proceedings of the AAAI Conference on Artificial Intelligence, 2015, 29(1): 2901-2907.