Reproduce “Controllable Generation from Pre-trained Language Models via Inverse Prompting” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xu Zou, Da Yin, Qingyang Zhong, Ming Ding, Hongxia Yang, Zhilin Yang, Jie Tang
Researchers from Tsinghua University, BAAI, and Alibaba developed "Inverse Prompting," a method to enhance the controllability of large pre-trained language models during text generation. This approach, leveraging the model's ability to "predict back" the original prompt, improved relevance and overall quality for long-form Chinese question answering and traditional poem generation, achieving near-human performance in both tasks.
Key insights
- A pre-trained language model can infer the relevance of generated text to a prompt by assessing how well it can "predict back" the original prompt from the generated output.
- The "inverse perspective" allows for effective and efficient control during decoding without modifying the pre-trained model or requiring auxiliary attribute classifiers or gradient updates.
- Combining forward generation fluency with inverse relevance scores within beam search provides a balanced approach to producing both coherent and contextually aligned long-form text.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.