Xu Zou

BiPro

Zero-shot classical Chinese poetry generation via Block Inverse Prompting, a constrained decoding framework described in a sole-author paper at ACL 2025 (Main Conference).

BiPro (Block Inverse Prompting) is a zero-shot classical Chinese poetry generation system. Without fine-tuning or domain-specific training data, it produces verse that follows classical tonal and rhyme rules purely through constrained decoding on top of off-the-shelf pretrained language models.

The core idea is inverse prompting: instead of priming the model with an instruction to write a poem, BiPro constrains the generation block by block, enforcing tonal patterns, rhyme schemes, and line-length rules during decoding.

The sole-author paper was published at ACL 2025 (Main Conference): “BIPro: Zero-shot Chinese Poem Generation via Block Inverse Prompting Constrained Generation Framework”.

Try the interactive demo at BiPro.