atlas

Research map / Large language models / Language, safety and interpretability

COLLIE: Systematic Construction of Constrained Text Generation Tasks

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces COLLIE, a grammar-based framework that specifies compositional text constraints, auto-extracts instances from corpora, and renders/evaluates them, releasing the COLLIE-v1 dataset (2,080 instances, 13 structures) and evaluating five instruction-tuned LLMs.

Problem

Existing constrained text generation benchmarks focus on fixed, easy constraint types and require tailored data pipelines, so they fail to evaluate compositional constraints that challenge modern LLMs.

Approach

A context-free grammar specifies constraint structures over generation levels (char to passage) with count and position base-constraints combined by logical and/or; a compiler extracts constraint values from real corpora (Wikipedia, CC-News, Project Gutenberg), renders rule-based instructions, and automatically checks outputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use one-shot prompting instead of zero-shot prompting (ablation)GPT-3.5 · COLLIE-v1constraint satisfaction rate: 23.1 -> 23.6No clear effect
Use one-shot prompting instead of zero-shot prompting (ablation)GPT-4 · COLLIE-v1constraint satisfaction rate: 40.7 -> 39.4No clear effect
Add automated natural-language feedback between generation roundsGPT-4 · COLLIE-v1constraint satisfaction rate: 20% improvementHelped
Continue feedback for three additional rounds after the second roundGPT-4 · COLLIE-v1constraint satisfaction rate: 66%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Wikipedia (20220301.en) CC-News Project Gutenberg (Gutenberg, dammit)

Benchmarks: COLLIE-v1

Metrics: constraint satisfaction rate pass@k word validity passage coherence score

Baselines: GPT-3.5 PaLM-2 Vicuna-7B Alpaca-7B

Builds on: nltk sentence tokenizer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy