Official code and checkpoints for Persistent Delivery Optimization for Streaming Speech-to-Text Translation with Revisions, submitted to ICASSP 2027.
Direct streaming S2TT · Revision-aware training · Five target languages
PDO trains a streaming speech-to-text translation model to emit content that appears early and remains unchanged. The model translates growing English speech directly into revisable Chinese, German, Spanish, Japanese, or French, without exposing an intermediate transcript.
| I want to… | Start here | What it contains |
|---|---|---|
| Run the model | Inference & evaluation | Install, checkpoint download, one WAV, FLEURS TEST, all metrics |
| Train PDO | Training reproduction | SFT initialization, four-GPU command, resume, exact recipe, DEV selection |
| Match paper formulas to code | Paper ↔ code | Eq. (1)–(4), reward units, baseline, sampling, loss, LAAL-CU |
The released weights are mirrored on Hugging Face and ModelScope.
| File | Use | Download |
|---|---|---|
pdo_s2tt.pt |
Main inference checkpoint | Download |
pdo_s2tt_sft.pt |
SFT initialization for PDO training | Download |
Linux, Python 3.12, CUDA, and a GPU with at least 16 GB memory are recommended.
git clone https://github.com/ggiggit/PDO_S2TT.git
cd PDO_S2TT
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
mkdir -p checkpoints
hf download hf-wzx1205/PDO_S2TT pdo_s2tt.pt \
--revision 62c27b03aa1d7da1b739e43e815796029ee243f5 \
--local-dir checkpoints
bash scripts/run_fleurs.shThe default command downloads official FLEURS TEST and reproduces all 647 En→Zh
examples. The other four directions and macro command are already included and
commented in scripts/run_fleurs.sh.
python scripts/prepare_fleurs_train.py
hf download hf-wzx1205/PDO_S2TT pdo_s2tt_sft.pt \
--revision 62c27b03aa1d7da1b739e43e815796029ee243f5 \
--local-dir checkpoints
bash scripts/train_pdo.shThe frozen recipe uses four 24 GB GPUs, 407 rollout rounds, and 1,625 AdamW updates. It saves an inference checkpoint and resumable optimizer state every round. See the training guide before starting a full run.
Independent public-code verification
The released training path was independently run from the SFT initialization through all 407 rounds and five-direction TEST evaluation. Detailed logs, optimizer state, predictions, and metrics are kept in the reproduction record, with large artifacts hosted in a separate archive.
FLEURS TEST results reported in Table 2 of the paper (647 examples per direction):
src/ model, streaming runtime, PDO, metrics
scripts/ inference, evaluation, and training entry points
docs/ the three focused guides above
artifacts/reproduction/ lightweight training/test receipts
references/ frozen FLEURS identities and TRAIN targets
tests/ reward, policy, evaluator, inventory tests
Code and PDO checkpoints are released under Apache-2.0. Upstream models and datasets retain their own licenses.
