NeurIPS 2026QuestionsPapersAreasAboutMarkdown

UniForm: Segment-Aware GRPO for Joint Punctuation Restoration and Inverse Text Normalization

Junhao Gong, Weiwei Li, Rilin Chen

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Attention Optimization and Retrieval · Type: new method · Keywords: joint punctuation restoration, inverse text normalization, Segment-Aware GRPO, ASR post-processing, multilingual training

Summary

UniForm is a unified compact language model that jointly performs punctuation restoration and inverse text normalization via a three-stage training paradigm and a novel Segment-Aware GRPO method.

Explained to a 5-year-old

After you speak into a computer, it turns your voice into text, but the text looks like a bunch of words with no spaces or marks. Sometimes the computer needs to add dots and commas, and sometimes it needs to change words like "can't" into "cannot". Doing these two jobs separately makes the computer sometimes make mistakes and be slow. The researchers built one big model that does both jobs at the same time, learning from lots of examples. This helps the computer give you better, faster text that is easier to read.

Explained to a 5-year-old, longer

When you talk to a computer, it can listen and write down what you said as words. But the written words often have no spaces between them, like "helloworld". Also, some words are written in a short form, like "can't" instead of "cannot". To make the text easy to read, we need to add spaces and punctuation like commas and periods. We also need to change the short forms into their full meanings. Usually, computers have two separate programs to do these two jobs. Using two separate programs can cause mistakes from one to affect the other, and it can be slow. The researchers wanted to make a single program that could do both jobs together. They trained this program on a huge amount of text from many languages. The program learns first how to add punctuation, then how to fix the short forms, and finally how to get better using a special learning method. This way, the program can correct both problems at once, making the text clearer and faster. As a result, the computer can give you readable text more quickly and with fewer errors.

For a technical reader

The paper introduces UniForm, a compact language model that jointly performs punctuation restoration and inverse text normalization, eliminating the error propagation and latency issues of separate pipelines. Training follows a three-stage progressive paradigm: supervised fine-tuning on punctuation data, joint fine-tuning with ITN span masks, and reinforcement learning alignment using Segment-Aware GRPO. Segment-Aware GRPO employs a structured reward decomposition for different segment types and a token-level adaptive credit assignment that focuses gradients on difficult tokens. UniForm-0.8B, trained on over 238 million multilingual samples, outperforms prior specialized models and larger LMs on both tasks while maintaining real-time inference latency. The joint training also reveals a synergistic effect, where improvements in one task boost performance in the other.

Problem

Punctuation restoration and inverse text normalization are typically handled by separate models in a pipeline, leading to error propagation and suboptimal latency.

Method

The approach uses a single compact language model trained in three stages: supervised fine-tuning on punctuation data, joint fine-tuning with ITN span masks, and reinforcement learning alignment, employing a structured reward decomposition and token-level adaptive credit assignment to optimize both tasks without manual weighting.

Results

The approach achieves superior performance on both punctuation restoration and inverse text normalization compared to prior specialized models and larger LMs, while maintaining real-time inference latency.

Contributions

A unified framework for joint punctuation restoration and ITN, a three-stage progressive training paradigm, and a Segment-Aware GRPO method with reward decomposition and adaptive credit assignment that eliminates manual sub-task weighting.

Practical relevance

Enables efficient, real-time post-processing for ASR systems, improving text readability and normalization without the latency and error propagation of separate pipelines.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction