UniForm: Segment-Aware GRPO for Joint Punctuation Restoration and Inverse Text Normalization
Abstract
Punctuation Restoration (PR) and Inverse Text Normalization (ITN) are essential ASR post-processing tasks, conventionally tackled by separate models in a sequential pipeline with error propagation and suboptimal latency. UniForm, a unified framework, instead solves both jointly with one compact language model via three progressive stages: large-scale punctuation supervised fine-tuning (SFT), joint SFT of PR and ITN, and reinforcement learning (RL) alignment. For effective RL in this inherently low-entropy setting, Segment-Aware GRPO (SA-GRPO) couples two synergistic components: structured reward decomposition giving dedicated signals to distinct segment types, and token-level adaptive credit assignment redistributing gradients toward difficult tokens based on sampling consensus and model entropy. This eliminates manual sub-task weighting and enables fine-grained optimization for both tasks. Trained on over 238 million multilingual samples, UniForm-0.8B surpasses prior specialized models and larger general-purpose LMs on both tasks across diverse languages, domains, and code-switching scenarios while retaining real-time inference latency; analysis reveals a strong synergistic effect, with joint training mutually benefiting PR and ITN.