atlas

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

ReFF: Reinforcing Format Faithfulness in Language Models Across Varied Tasks

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 2 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 FormatBench, a multi-task format-faithfulness benchmark with per-task format checkers, and ReFF, which uses format-checker rewards in PPO-style RL (LoRA on LLaMA3-8B), with or without labeled data, to raise format faithfulness while keeping general quality.

Problem

LLMs often fail to follow prescribed output formats across varied tasks, and existing format benchmarks cover narrow task sets while existing adaptation methods ignore that format compliance can be checked programmatically.

Approach

Treat format checker pass/fail as a reward in an RLHF-style PPO loop (with KL penalty) so the LLM is directly optimized for format faithfulness, optionally combined with supervised finetuning to recover general quality.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply mixed-task format-checker-guided reinforcement to LLaMA3LLaMA3 · NERformat faithfulness rate (%): 84.8 -> 99.7Helped
Apply mixed-task format-checker-guided reinforcement to LLaMA3LLaMA3 · NERF1: 88.3 -> 93.1Helped
Apply mixed-task format-checker-guided reinforcement to LLaMA3LLaMA3 · CapSegformat faithfulness rate (%): 21.6 -> 100.0Helped
Apply mixed-task format-checker-guided reinforcement to LLaMA3LLaMA3 · CapSegF1: 47.3 -> 40.9Hurt
Apply mixed-task format-checker-guided reinforcement to LLaMA3LLaMA3 · MTTformat faithfulness rate (%): 52.3 -> 97.2Helped
Apply mixed-task format-checker-guided reinforcement to LLaMA3LLaMA3 · MTTBLEU-4: 32.2 -> 35.3Helped
Use task-specific XDL data rather than mixed-task data for ReFF (ablation)ReFF-tst · XDLformat faithfulness rate (%): 14.8 -> 52.6Helped
Use task-specific CapSeg data rather than mixed-task data for ReFF (ablation)ReFF-tst · CapSegformat faithfulness rate (%): 100.0 -> 95.0No clear effect
Add finetuning on labeled data before format-checker-guided reinforcementLLaMA3 · CapSegF1: 47.3 -> 61.6Helped
Add finetuning on labeled data before format-checker-guided reinforcementLLaMA3 · CapSegformat faithfulness rate (%): 21.6 -> 75.5Helped
Add internal thoughts to iterative refinement (ablation)LLaMA3 + refine · CapSegF1: 47.2 -> 21.8Hurt
Add internal thoughts to iterative refinement (ablation)LLaMA3 + refine · MTTBLEU-4: 17.7 -> 13.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: TREC question classification SQuAD CoNLL-2003 Penn Treebank MuST-Cinema WMT 2023 Terminology Shared Task Poem Hunter acrostic poems Kaggle Poems Dataset First TextWorld Problems XDL generation data

Benchmarks: FormatBench

Metrics: format faithfulness rate general quality (accuracy, F1, BLEU-4, GPT-4 score, game sco

Baselines: GPT-3.5 IFEval FoFo Struc-Bench Chem-* Self-refine-style refinement Finetuning on LLaMA3

Builds on: PPO RLHF CTG

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