Skip to main content
QUICK REVIEW

[論文レビュー] FMBench: Adaptive Large Language Model Output Formatting

Yaoting Wang, Yun Zhou|arXiv (Cornell University)|Feb 6, 2026
Software Engineering ResearchComputer Science被引用数 0
ひとこと要約

FMBench は Markdown に焦点を当てた適応出力フォーマットのベンチマークを導入し、検証可能な報酬を用いた事後学習パイプライン(SFT に続き RL)を提案して、OpenPangu と Qwen のモデル全体で意味的忠実度と構造準拠性を共同改善する。

ABSTRACT

Producing outputs that satisfy both semantic intent and format constraints is essential for deploying large language models in user-facing and system-integrated workflows. In this work, we focus on Markdown formatting, which is ubiquitous in assistants, documentation, and tool-augmented pipelines but still prone to subtle, hard-to-detect errors (e.g., broken lists, malformed tables, inconsistent headings, and invalid code blocks) that can significantly degrade downstream usability. We present FMBench, a benchmark for adaptive Markdown output formatting that evaluates models under a wide range of instruction-following scenarios with diverse structural requirements. FMBench emphasizes real-world formatting behaviors such as multi-level organization, mixed content (natural language interleaved with lists/tables/code), and strict adherence to user-specified layout constraints. To improve Markdown compliance without relying on hard decoding constraints, we propose a lightweight alignment pipeline that combines supervised fine-tuning (SFT) with reinforcement learning fine-tuning. Starting from a base model, we first perform SFT on instruction-response pairs, and then optimize a composite objective that balances semantic fidelity with structural correctness. Experiments on two model families (OpenPangu and Qwen) show that SFT consistently improves semantic alignment, while reinforcement learning provides additional gains in robustness to challenging Markdown instructions when initialized from a strong SFT policy. Our results also reveal an inherent trade-off between semantic and structural objectives, highlighting the importance of carefully designed rewards for reliable formatted generation. Code is available at: https://github.com/FudanCVL/FMBench.

研究の動機と目的

  • LLM の出力における信頼できる Markdown フォーマットの必要性を動機づけ、既存ベンチマークのギャップを特定する。
  • Markdown 指向のベンチマーク(FMBench)を作成し、現実的なフォーマット制約の下で意味的忠実度と構造準拠性を評価する。
  • 推論時の厳格な制約を課さずに、内容とフォーマットのバランスを取る軽量な整合性パイプライン(SFT と RLFT)を提案する。
  • OpenPangu と Qwen というモデルファミリ全体でアプローチを実証し、意味的目標と構造的目標のトレードオフを分析する。

提案手法

  • 構造的難易度を変化させた、内容を保持した Markdown ドキュメントを生成する半自動データ・パイプラインを開発する。
  • 2 段階の学習レシピを使用する:監督付き微調整(LoRA ベース)と、その後の報酬を検証可能にする GRPO を用いた強化学習微調整(RLFT)。
  • 意味的報酬を、生成物と参照出力の間の BERTScore-F1 と定義する。
  • 構造的報酬を、生成物と参照ドキュメントの要約の抽象的な比較に基づいて定義し、談話レベルの整合性を促す。
  • 1,100 文の FMBench 分割(訓練 800・テスト 300)で意味的指標と構造指標を用いて評価する。
  • 固定デコード設定で OpenPangu(1B, 7B)と Qwen3(1.7B, 8B)を訓練し、 pretrained と SFT+GRPO の結果を比較して報告する。
Figure 1: Overview of a four-stage pipeline for converting raw documents into structured data. (1) Document Crawling: Documents are collected from multiple domains, including academic, official, technical, legal, business, and educational sources. (2) Document Cleaning: Documents are cleaned and sta
Figure 1: Overview of a four-stage pipeline for converting raw documents into structured data. (1) Document Crawling: Documents are collected from multiple domains, including academic, official, technical, legal, business, and educational sources. (2) Document Cleaning: Documents are cleaned and sta

実験結果

リサーチクエスチョン

  • RQ1Markdown に特化したベンチマークは LLM 出力のフォーマット関連の欠陥を分離・診断できるか。
  • RQ2検証可能な報酬を持つ SFT と RL を組み合わせた事後学習パイプラインは、Markdown 出力の意味的忠実度と構造準拠性の両方を改善するか。
  • RQ3モデルのスケールとアーキテクチャは、整形生成における意味的目標と構造的目標のバランスにどのように影響するか。
  • RQ4SFT と GRPO が、さまざまな Markdown 構造に対するフォーマットの堅牢性に与える影響はどうか。
  • RQ5内容正確性とフォーマットの厳格性のトレードオフは、適応フォーマットシステムでどう現れるか。

主な発見

  • SFT はモデルファミリとスケールを超えて意味的忠実度を一貫して改善する。
  • GRPO は強力な SFT ポリシーから開始した場合、構造準拠性をさらに高めるか、または維持する。
  • より大きなモデル(例:Qwen3-8B)は SFT+GRPO パイプラインで最も良い意味的・構造的パフォーマンスを達成する。
  • 意味的目標と構造的目標の間には報酬設計とモデル容量に影響される固有のトレードオフが存在する。
  • モデルを超えて、SFT は意味的改善の主要な推進力であり、GRPO は補完的な要素として構造的堅牢性を強化する。
Figure 2: Distribution of key structural parameters in the FMBench dataset. The figure shows the marginal distributions of four core structural variables: section count, nested list depth, number of list items, and blockquote count, computed over the combined training and test sets. The distribution
Figure 2: Distribution of key structural parameters in the FMBench dataset. The figure shows the marginal distributions of four core structural variables: section count, nested list depth, number of list items, and blockquote count, computed over the combined training and test sets. The distribution

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。