Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Streaming Tax: Can Streaming VLMs Replace Their Offline Parents?

Zhi Yang  ·  Junzhou Chen  ·  Jindong Wang†
College of William and Mary
†Corresponding author

arXiv 2611.33474 Paper PDF License: Apache-2.0 Python 3.10+ GitHub stars

Overview  |  Models  |  Install  |  Quick start  |  Reproduce  |  Docs  |  Citation

A cooking assistant alerts the user when the water boils (live interaction) and is later asked which ingredients were added and in what order (a conventional offline video task).

Streaming VLMs are post-trained from offline VLMs so that they can follow a live video and decide when to speak. If a streaming child could also do the job of its offline parent (answer questions about a finished video, refuse harmful requests, adapt to new tasks), one model would serve both uses. We test whether it can, on 6 streaming models and their 5 offline parents across 15 benchmarks and more than 26K samples.

  • Measure. The streaming tax is the gap between a child under native streaming and its offline parent. We split it into an adaptation tax (what post-training changed in the weights) and an execution tax (what answering from the stream costs on top).
  • Find. Run offline, the children keep most of their parents' understanding, prompt robustness and fine-tuning performance, but most of them refuse fewer harmful requests. Native streaming costs further accuracy and leaves many requests, harmful and harmless alike, unanswered.
  • Fix. Stream++ is a training-free plugin (Recall, Respond, Refuse) that narrows the gap with the child's weights unchanged.

📰 News

  • 2026-11-24   The paper is on arXiv. This repository holds its evaluation code, statistics, diagnostic experiments and Stream++.

🔎 What is the streaming tax?

Evaluation design. Three conditions: P, parent offline (parent weights, offline protocol); C, child offline (child weights, offline protocol); S, child streaming (child weights, streaming protocol). Adaptation tax, C − P: only the weights change. Execution tax, S − C: only the protocol changes. Streaming tax: S − P = (C − P) + (S − C).

Each streaming child is compared with its offline parent under three conditions, on the same items with the same scorer. Offline, a model receives the sampled frames and the question in one turn, and the parent and the child get the same frames, prompt and decoding. Under native streaming, the child reads the video through its own streaming interface and the question arrives at the end of the video.

  • Adaptation tax (C − P): does the child suffice when it is switched to offline mode?
  • Execution tax (S − C): what does it cost to answer directly from the stream, without storing and re-encoding the full video?

Every benchmark is scored with its official prompt and scorer; differences come with paired bootstrap intervals and Holm-corrected tests (docs/protocol.md, docs/statistics.md).

🧩 Models and benchmarks

--pairs Offline parent Streaming child
p1 LLaVA-OneVision-7B MMDuet
p2 Qwen2.5-VL-3B ThinkStream, MMDuet2
p3 Qwen3-VL-8B AURA
p4 LiveStar-InternVideo-8B LiveStar
p5 MOSS-VL-Instruct MOSS-VL-Realtime
Dimension Benchmarks Conditions
Image understanding DynaMath, MathVista, MMBench, MME, MMMU, MMStar, ScienceQA, VisuLogic* P, C
Video understanding Video-MME, TOMATO, TimeBlind, VideoReasonBench* P, C, S
Safety HarmBench (P, C only), Video-SafetyBench, MCV-SafetyBench* P, C, S
Fairness and privacy VMDT fairness, VMDT privacy P, C, S
Generalization prompt robustness (Video-MME, MMBench), LoRA fine-tuning (LingoQA, EyePCR) P, C
Native streaming* OVO-Bench, StreamingBench S, Stream++

* Reported in the supplement.

📦 Installation

git clone https://github.com/AIFrontierLab/Streaming-tax.git && cd Streaming-tax
pip install -e ".[test,download,prepare]"
streamreplace doctor                         # resolved paths and what is present

The command needs Python 3.10+ and no GPU: planning, scoring from cached judge answers, statistics and tables all run on a CPU. Generating outputs needs Linux with NVIDIA GPUs, uv and conda (for FFmpeg); each group of models runs in its own pinned environment.

streamreplace env build all                  # model environments from the lock files in envs/
streamreplace fetch-upstream all             # official model/benchmark code at pinned commits
streamreplace download models all            # the 11 models at pinned revisions
streamreplace download judges all
streamreplace download datasets paper-core paper-supp
streamreplace prepare paper-core paper-supp  # checked against the fingerprints in manifests/

Every download accepts --dry-run. Everything lands in workspace/ (or $STREAMREPLACE_HOME). Sizes, gated datasets and manual steps: docs/data.md, docs/environments.md.

🚀 Quick start

P, C and S for one pair on one benchmark (resumable; add --dry-run to see the plan):

streamreplace run --pairs p2 --protocols P,C,S --benchmarks videomme --gpus 0,1
streamreplace score --judge --judge-gpus 0,1
streamreplace report                         # metrics.json, RESULTS.md
streamreplace stats --no-overlay             # paired C-P, S-C and S-P contrasts (GAPS.md)

Stream++ on the paper's evaluation items:

streamreplace --outputs plugin_runs plugin run --items full --gpus 0,1
streamreplace --outputs plugin_runs plugin assemble --items full
streamreplace --outputs plugin_runs score --judge --judge-gpus 0,1
streamreplace --outputs plugin_runs plugin report --items full --formal <outputs>

The vectors and thresholds of the six children ship in plugin_artefacts/; docs/plugin.md describes the three components and how to calibrate a new child.

A diagnostic experiment (streamreplace experiment list shows all of them):

streamreplace experiment run window --gpus 0,1
streamreplace --outputs <outputs>/experiments/window score
streamreplace experiment report window

Global options (--outputs, --config, --paths, --home) go before the command; <outputs> defaults to workspace/outputs.

Tip

No GPU? A mock parent-child pair takes one benchmark through the whole pipeline in seconds:

streamreplace fetch-upstream timeblind
streamreplace download datasets timeblind
streamreplace prepare timeblind

trial() { streamreplace --config configs/examples/cpu-trial.yaml \
            --outputs workspace/cpu-trial "$@"; }
trial run --pairs pm --benchmarks timeblind --limit 40
trial score && trial report && trial stats --no-overlay

🧪 Reproducing the paper

docs/reproducing-the-paper.md maps the paper's tables and figures to their commands. A rerun uses the paper's items, prompts, frames, decoding and scoring; generations differ slightly across hardware, so the numbers land close to the paper's.

streamreplace tables --check compares every cell of the regenerated tables with the paper's numbers in paper/expected/.

Note

The models' raw responses from the paper's runs are not released: they quote benchmark questions that we may not redistribute, and some contain harmful content.

📚 Documentation

Topic Contents
protocol, frames P, C and S precisely; which frames each model sees
offline adapters, stream adapters how each model is run
benchmarks, judges data, prompts, parsing and scoring per benchmark
statistics intervals, tests, Holm families, tables
experiments the diagnostic and supplementary experiments
plugin Stream++: components, thresholds, calibrating a new child
robustness, fine-tuning the generalization experiments
adding a model, adding a benchmark extending the code
Repository layout
configs/            models, pairs, benchmarks, judges, analysis profile, experiments, Stream++
manifests/          pinned third-party code, checkpoints and datasets;
                    fingerprints of prepared data
envs/               one locked Python environment per group of models
plugin_artefacts/   Stream++ vectors and thresholds per child
paper/              frozen item lists and expected numbers (no benchmark text)
src/streamreplace/  cli, models (offline and stream adapters), benchmarks, judges, scoring, run,
                    analysis, plugin, experiments, generalization, provisioning
tests/              python -m pytest -q   (CPU; no data, checkpoints or GPU needed)
docs/               start at docs/index.md
assets/             figures of this README

📝 Citation

If you find this work useful, please cite the paper:

@misc{yang2026streamingtax,
  title         = {Streaming Tax: Can Streaming VLMs Replace Their Offline Parents?},
  author        = {Yang, Zhi and Chen, Junzhou and Wang, Jindong},
  year          = {2026},
  eprint        = {2611.33474},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2611.33474}
}

📜 License and acknowledgements

The code is released under Apache-2.0 (LICENSE). We thank the authors of the models and benchmarks evaluated here for releasing their code, weights and data; these are fetched from their publishers at pinned versions and keep their own terms (NOTICE, docs/licensing.md).

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages