Controllable text generation is a fundamental aspect of natural language generation, with numerous methods proposed for different constraint types. However, these approaches often require significant architectural or decoding modifications, making them challenging to apply to additional constraints or resolve different constraint combinations. To address this, our paper introduces Regular Expression Instruction (REI), which utilizes an instruction-based mechanism to fully exploit regular expressions' advantages to uniformly model diverse constraints. Specifically, our REI supports all popular fine-grained controllable generation constraints, i.e., lexical, positional, and length, as well as their complex combinations, via regular expression-style instructions. Our method only requires fine-tuning on medium-scale language models or few-shot, in-context learning on large language models, and requires no further adjustment when applied to various constraint combinations. Experiments demonstrate that our straightforward approach yields high success rates and adaptability to various constraints while maintaining competitiveness in automatic metrics and outperforming most previous baselines.
Reasoning Up the Instruction Ladder for Controllable Language Models
Department of Computer Science and Engineering, The Ohio State University(俄亥俄州立大学计算机科学与工程系);Microsoft Research(微软研究院);Allen Institute for AI(艾伦人工智能研究所)
Controllable Navigation Instruction Generation with Chain of Thought Prompting
School of Artificial Intelligence, Beihang University(北京航空航天大学人工智能学院);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)
FiLoRA: Focus-and-Ignore LoRA for Controllable Feature Reliance
University of Melbourne, Melbourne, Australia;Brain Science Institute, Korea Institute of Science;Department of Computer Science;Engineering, Korea University, Seoul, Republic of Korea;Division of Bio-Medical Science \& Technology, University of Science;Technology KIST School, Seoul, Republic of Korea
Large Language Models for Controllable Multi-property Multi-objective Molecule Optimization
Department of Computer Science and Engineering, The Ohio State University, USA(计算机科学与工程系,俄亥俄州立大学);Translational Data Analytics Institute, The Ohio State University, USA(转化数据分析研究所,俄亥俄州立大学);Department of Biomedical Informatics, The Ohio State University, USA(生物医学信息学系,俄亥俄州立大学);College of Pharmacy, The Ohio State University, USA(药学院,俄亥俄州立大学)
From Instruction to Output: The Role of Prompting in Modern NLG
Faculty of Information Technology, Monash University(莫纳什大学信息科技学院);School of Computer, Data and Mathematical Sciences, Western Sydney University(西澳大学计算机、数据与数学科学学院);School of Computing, Macquarie University(麦考瑞大学计算学院)
LongCrafter: Towards Diverse Long-Context Understanding via Evidence-Graph-Guided Instruction Synthesis
University of Chinese Academy of Sciences(中国科学院大学);The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所认知与决策智能复杂系统重点实验室)
Prompting is not Enough: Exploring Knowledge Integration and Controllable Generation
University of Science and Technology of China(中国科学技术大学);Computer Network Information Center, Chinese Academy of Sciences(中国科学院计算机网络信息中心);Chinese Academy of Sciences(中国科学院);BOSS Zhipin Career Science Lab(BOSS智联招聘科研实验室)
Uncovering Intrinsic Capabilities: A Paradigm for Data Curation in Vision-Language Models
Harbin Institute of Technology, Shenzhen, China(哈尔滨工业大学(深圳));Hong Kong Baptist University, China(香港 Baptist大学);City University of Hong Kong, China(香港城市大学)
LaPA$^2$: Length-Aware Prefix and Prompt Attention Augmentation for Long-Form Controllable Text Generation
School of Artificial Intelligence(人工智能学院);New Laboratory of Pattern Recognition (NLPR)(模式识别新实验室);School of Computing(计算学院);School of Computer Science and Engineering(计算机科学与工程学院)
Mol-Instructions: A Large-Scale Biomolecular Instruction Dataset for Large Language Models
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);ZJU-Ant Group Joint Research Center for Knowledge Graphs, Zhejiang University(浙江大学-蚂蚁集团知识图谱联合研究中心);Hangzhou Innovation Center, Zhejiang University(浙江大学杭州创新中心)
SemaPop: Semantic-Persona Conditioned and Controllable Population Synthesis
Department of Civil and Architectural Engineering, KTH Royal Institute of Technology(土木与建筑系,皇家理工学院);Digital Future, KTH Royal Institute of Technology(数字未来,皇家理工学院);Department of Data Science and Artificial Intelligence, Monash University(数据科学与人工智能系,墨尔本大学);Department of Technology, Management and Economics, Technical University of Denmark(技术、管理与经济学系,丹麦技术大学)
JsonTuning: Towards Generalizable, Robust, and Controllable Instruction Tuning
The Chinese University of Hong Kong(香港中文大学);Singapore University of Technology and Design(新加坡科技设计大学);DAMO Academy, Alibaba Group(阿里云达摩院);Nanyang Technological University(南洋理工大学)
Evaluating and Achieving Controllable Code Completion in Code LLM
University of Science and Technology of China(中国科学技术大学);Alibaba Group(阿里巴巴集团);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学)