Add latency tab to Pareto plot with metric labels (TTFT vs FDB stop)
Browse files- index.html +141 -51
index.html
CHANGED
|
@@ -54,6 +54,18 @@ svg text { user-select: none; }
|
|
| 54 |
img.arch { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; margin: 0.75rem 0 0; display: block; }
|
| 55 |
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
|
| 56 |
.arch-eq { font-size: 0.95rem; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
a { color: #1d4ed8; }
|
| 58 |
footer { margin-top: 2rem; color: #555; font-size: 0.9rem; }
|
| 59 |
</style>
|
|
@@ -64,29 +76,28 @@ svg text { user-select: none; }
|
|
| 64 |
<p class="lede">A 0.32B native full-duplex speech language model for consumer GPUs and on-device use. Architecture: residual DualFFN. This page is English-first.</p>
|
| 65 |
<p class="note"><strong>v0.1.0 public landing.</strong> Trained weights are not uploaded yet. This Space publishes the VoiceBench MMSU Pareto plot and the locked evaluation tables. Model card: <a href="https://huggingface.co/swmt/Rush-0.3B">swmt/Rush-0.3B</a>. Code: <a href="https://github.com/Shiyao-Huang/rush">Shiyao-Huang/rush</a>.</p>
|
| 66 |
|
| 67 |
-
<h2>
|
| 68 |
-
<p>
|
| 69 |
<div class="chart-frame">
|
| 70 |
|
| 71 |
<div class="chart-wrap">
|
| 72 |
<div class="topbar">
|
| 73 |
-
<div
|
| 74 |
-
|
| 75 |
-
<
|
| 76 |
-
<span><span class="swatch" style="background:var(--chart-2)"></span>Full-duplex peers</span>
|
| 77 |
-
<span><span class="swatch" style="background:var(--chart-4)"></span>Omni / audio LLM</span>
|
| 78 |
</div>
|
|
|
|
| 79 |
</div>
|
| 80 |
<div class="plot">
|
| 81 |
<svg id="scatter" viewBox="0 0 760 355"></svg>
|
| 82 |
<div id="tooltip" class="tooltip"></div>
|
| 83 |
</div>
|
| 84 |
-
<div class="footer-hint"
|
| 85 |
</div>
|
| 86 |
<script>
|
| 87 |
|
| 88 |
const MODELS = [
|
| 89 |
-
{ name: "Rush-0.3B", short: "Rush-0.3B", params: 0.32, cat: "ours", mmsu: 44.83, mmsu_ci: [43.08, 46.59], latency: 28.47, tps: 79.65, vram: 1.12, echo_fpr: "0.00%", zf: true, fd: true, notes: "n=3,074; 95% Wilson CI" },
|
| 90 |
{ name: "Mini-Omni (0.5B)", short: "Mini-Omni 0.5B", params: 0.5, cat: "omni", mmsu: 24.69 },
|
| 91 |
{ name: "Mini-Omni2 (0.5B)", short: "Mini-Omni2 0.5B", params: 0.5, cat: "omni", mmsu: 24.27 },
|
| 92 |
{ name: "Mair-hub-0.5B-Omni", short: "Mair-0.5B", params: 0.5, cat: "omni", mmsu: 25.60 },
|
|
@@ -94,18 +105,20 @@ svg text { user-select: none; }
|
|
| 94 |
{ name: "Megrez-3B-Omni", short: "Megrez 3B", params: 3.0, cat: "omni", mmsu: 27.03 },
|
| 95 |
{ name: "DuplexJev-4B-Para", short: "DuplexJev 4B", params: 4.0, cat: "fd", mmsu: 41.3, notes: "Official README" },
|
| 96 |
{ name: "Phi-4-multimodal (5.6B)", short: "Phi-4 5.6B", params: 5.6, cat: "omni", mmsu: 42.19 },
|
| 97 |
-
{ name: "Moshi (7B, Full-Duplex)", short: "Moshi 7B", params: 7.0, cat: "fd", mmsu: 24.04 },
|
| 98 |
-
{ name: "Freeze-Omni (7B, Full-Duplex)", short: "Freeze-Omni 7B", params: 7.0, cat: "fd", mmsu: 28.14 },
|
|
|
|
| 99 |
{ name: "Kimi-Audio (7B)", short: "Kimi-Audio 7B", params: 7.0, cat: "omni", mmsu: 62.17 },
|
| 100 |
{ name: "LLaMA-Omni (8B)", short: "LLaMA-Omni 8B", params: 8.0, cat: "omni", mmsu: 25.93 },
|
| 101 |
{ name: "MiniCPM-o 2.6 (8B)", short: "MiniCPM-o 8B", params: 8.0, cat: "omni", mmsu: 54.78 },
|
| 102 |
{ name: "Qwen2-Audio (8.2B)", short: "Qwen2-Audio 8B", params: 8.2, cat: "omni", mmsu: 35.72 },
|
| 103 |
{ name: "GLM-4-Voice (9B)", short: "GLM-4-Voice 9B", params: 9.0, cat: "omni", mmsu: 39.75 },
|
| 104 |
{ name: "Qwen3-Omni-30B-A3B", short: "Qwen3-Omni 30B", params: 30.0, cat: "omni", mmsu: 68.10 },
|
|
|
|
| 105 |
{ name: "DuplexJev-32B-Para", short: "DuplexJev 32B", params: 32.0, cat: "fd", mmsu: 70.8, notes: "Official README" }
|
| 106 |
];
|
| 107 |
|
| 108 |
-
const
|
| 109 |
"Rush-0.3B": [10, -10, "start"],
|
| 110 |
"DuplexJev 4B": [-10, 14, "end"],
|
| 111 |
"Mini-Omni 0.5B": [8, 12, "start"],
|
|
@@ -121,17 +134,33 @@ svg text { user-select: none; }
|
|
| 121 |
"Qwen3-Omni 30B": [-8, 4, "end"],
|
| 122 |
"DuplexJev 32B": [-10, -8, "end"]
|
| 123 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
|
| 125 |
const svg = document.getElementById("scatter");
|
| 126 |
const tooltip = document.getElementById("tooltip");
|
|
|
|
|
|
|
| 127 |
const W = 760, H = 355;
|
| 128 |
const pad = { l: 56, r: 28, t: 24, b: 42 };
|
| 129 |
const xMin = Math.log10(0.22), xMax = Math.log10(45);
|
| 130 |
const xScale = p => pad.l + ((Math.log10(p) - xMin) / (xMax - xMin)) * (W - pad.l - pad.r);
|
| 131 |
-
const
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
const yLo = 15, yHi = 75;
|
| 133 |
return H - pad.b - ((v - yLo) / (yHi - yLo)) * (H - pad.t - pad.b);
|
| 134 |
-
}
|
| 135 |
|
| 136 |
function el(tag, attrs = {}, text = null) {
|
| 137 |
const n = document.createElementNS("http://www.w3.org/2000/svg", tag);
|
|
@@ -140,12 +169,52 @@ svg text { user-select: none; }
|
|
| 140 |
return n;
|
| 141 |
}
|
| 142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
function draw() {
|
| 144 |
svg.innerHTML = "";
|
| 145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
const y = yScale(t);
|
| 147 |
svg.appendChild(el("line", { x1: pad.l, y1: y, x2: W - pad.r, y2: y, stroke: "var(--card-border)", "stroke-dasharray": "3,3" }));
|
| 148 |
-
svg.appendChild(el("text", { x: pad.l - 8, y: y + 4, "text-anchor": "end", fill: "var(--muted-foreground)", "font-size": "11" }, t + "%"));
|
| 149 |
});
|
| 150 |
|
| 151 |
[0.32, 0.5, 1, 3, 7, 10, 30].forEach(p => {
|
|
@@ -168,31 +237,35 @@ svg text { user-select: none; }
|
|
| 168 |
svg.appendChild(el("line", { x1: pad.l, y1: H - pad.b, x2: W - pad.r, y2: H - pad.b, stroke: "var(--border)" }));
|
| 169 |
svg.appendChild(el("line", { x1: pad.l, y1: pad.t, x2: pad.l, y2: H - pad.b, stroke: "var(--border)" }));
|
| 170 |
svg.appendChild(el("text", { x: (pad.l + W - pad.r) / 2, y: H - 6, "text-anchor": "middle", fill: "var(--muted-foreground)", "font-size": "11.5" }, "LLM Parameters (Billions, Log Scale)"));
|
| 171 |
-
svg.appendChild(el("text", { x: 14, y: (pad.t + H - pad.b) / 2, "text-anchor": "middle", fill: "var(--muted-foreground)", "font-size": "11.5", transform: `rotate(-90 14 ${(pad.t + H - pad.b) / 2})` }, "VoiceBench MMSU (%)"));
|
| 172 |
-
|
| 173 |
-
const active = MODELS.filter(m => m
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
|
|
|
|
|
|
| 183 |
}
|
| 184 |
|
| 185 |
-
const
|
| 186 |
const ordered = [...active.filter(m => m.cat !== "ours"), ...active.filter(m => m.cat === "ours")];
|
| 187 |
for (const m of ordered) {
|
|
|
|
| 188 |
const cx = xScale(m.params);
|
| 189 |
-
const cy = yScale(
|
| 190 |
const color = m.cat === "ours" ? "var(--chart-1)" : (m.cat === "fd" ? "var(--chart-2)" : "var(--chart-4)");
|
| 191 |
const r = m.cat === "ours" ? 7.5 : 5;
|
|
|
|
| 192 |
|
| 193 |
if (m.cat === "ours") {
|
| 194 |
svg.appendChild(el("circle", { cx, cy, r: 14, fill: "var(--chart-1)", "fill-opacity": "0.16" }));
|
| 195 |
-
if (m.mmsu_ci) {
|
| 196 |
const yHi = yScale(m.mmsu_ci[1]), yLo = yScale(m.mmsu_ci[0]);
|
| 197 |
svg.appendChild(el("line", { x1: cx, y1: yHi, x2: cx, y2: yLo, stroke: "var(--chart-1)", "stroke-width": "2.2", "stroke-opacity": "0.7" }));
|
| 198 |
svg.appendChild(el("line", { x1: cx - 5, y1: yHi, x2: cx + 5, y2: yHi, stroke: "var(--chart-1)", "stroke-width": "1.8" }));
|
|
@@ -201,12 +274,19 @@ svg text { user-select: none; }
|
|
| 201 |
}
|
| 202 |
|
| 203 |
const g = el("g", { style: "cursor:pointer" });
|
| 204 |
-
const dot =
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
if (
|
| 208 |
-
let [dx, dy, anchor] =
|
| 209 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
g.appendChild(el("text", {
|
| 211 |
x: cx + dx, y: cy + dy, "text-anchor": anchor,
|
| 212 |
fill: m.cat === "ours" ? "var(--chart-1)" : "var(--muted-foreground)",
|
|
@@ -216,33 +296,43 @@ svg text { user-select: none; }
|
|
| 216 |
}
|
| 217 |
|
| 218 |
g.addEventListener("mouseenter", e => {
|
| 219 |
-
dot.setAttribute("r", r + 2);
|
| 220 |
-
const rows = [
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
];
|
| 230 |
tooltip.innerHTML = `<div class="title">${m.name}</div><div class="grid">${rows.map(([k, v]) => `<span class="k">${k}</span><span>${v}</span>`).join("")}</div>`;
|
| 231 |
tooltip.style.opacity = "1";
|
| 232 |
moveTip(e);
|
| 233 |
});
|
| 234 |
g.addEventListener("mousemove", moveTip);
|
| 235 |
-
g.addEventListener("mouseleave", () => {
|
|
|
|
|
|
|
|
|
|
| 236 |
svg.appendChild(g);
|
| 237 |
}
|
| 238 |
}
|
| 239 |
|
| 240 |
function moveTip(e) {
|
| 241 |
-
const tw =
|
| 242 |
tooltip.style.left = Math.min(window.innerWidth - tw - 12, e.clientX + 14) + "px";
|
| 243 |
tooltip.style.top = Math.max(8, Math.min(window.innerHeight - th - 12, e.clientY - 20)) + "px";
|
| 244 |
}
|
| 245 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 246 |
draw();
|
| 247 |
|
| 248 |
</script>
|
|
@@ -331,7 +421,7 @@ svg text { user-select: none; }
|
|
| 331 |
|
| 332 |
<section class="zh" lang="zh">
|
| 333 |
<h2>中文摘要</h2>
|
| 334 |
-
<p>Rush-0.3B 是一个 0.32B 的端侧原生全双工语音模型,架构为 residual DualFFN。本页默认英文。图和表格只公布 VoiceBench MMSU 全集:44.83(n=3,074,95% Wilson 区间 43.08–46.59)。训练权重尚未上传。模型卡:<a href="https://huggingface.co/swmt/Rush-0.3B">swmt/Rush-0.3B</a>。代码:<a href="https://github.com/Shiyao-Huang/rush">Shiyao-Huang/rush</a>。文本基座是阿里巴巴淘天集团 MNN Team 的 MNN-Pocket-0.3B(Apache 2.0)。 结构上,它在冻结的 MNN-Pocket-0.3B(28 层 GQA)上接入 residual DualFFN:音频 token 走 `text_mlp + audio_mlp`,纯文本只走冻
|
| 335 |
</section>
|
| 336 |
|
| 337 |
<footer>License: Apache 2.0. The text backbone MNN-Pocket-0.3B is also Apache 2.0.</footer>
|
|
|
|
| 54 |
img.arch { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; margin: 0.75rem 0 0; display: block; }
|
| 55 |
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
|
| 56 |
.arch-eq { font-size: 0.95rem; }
|
| 57 |
+
|
| 58 |
+
.tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
|
| 59 |
+
.tab-btn {
|
| 60 |
+
appearance: none; background: #fff; color: var(--muted-foreground);
|
| 61 |
+
border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px;
|
| 62 |
+
font: inherit; font-size: 12.5px; font-weight: 550; cursor: pointer;
|
| 63 |
+
}
|
| 64 |
+
.tab-btn.active {
|
| 65 |
+
color: var(--foreground); border-color: #fecdd3; background: #fff1f2; font-weight: 650;
|
| 66 |
+
}
|
| 67 |
+
.swatch.sq { border-radius: 2px; }
|
| 68 |
+
.swatch.dia { width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; }
|
| 69 |
a { color: #1d4ed8; }
|
| 70 |
footer { margin-top: 2rem; color: #555; font-size: 0.9rem; }
|
| 71 |
</style>
|
|
|
|
| 76 |
<p class="lede">A 0.32B native full-duplex speech language model for consumer GPUs and on-device use. Architecture: residual DualFFN. This page is English-first.</p>
|
| 77 |
<p class="note"><strong>v0.1.0 public landing.</strong> Trained weights are not uploaded yet. This Space publishes the VoiceBench MMSU Pareto plot and the locked evaluation tables. Model card: <a href="https://huggingface.co/swmt/Rush-0.3B">swmt/Rush-0.3B</a>. Code: <a href="https://github.com/Shiyao-Huang/rush">Shiyao-Huang/rush</a>.</p>
|
| 78 |
|
| 79 |
+
<h2>Pareto plots</h2>
|
| 80 |
+
<p>Two public views: <strong>VoiceBench MMSU</strong> (full set, speech in) and a <strong>latency</strong> comparison. Neither includes OpenBookQA, AdvBench, three-metric averages, or a 0.8B sibling. Hover a point for details.</p>
|
| 81 |
<div class="chart-frame">
|
| 82 |
|
| 83 |
<div class="chart-wrap">
|
| 84 |
<div class="topbar">
|
| 85 |
+
<div class="tabs">
|
| 86 |
+
<button type="button" data-metric="mmsu" class="tab-btn active">MMSU</button>
|
| 87 |
+
<button type="button" data-metric="latency" class="tab-btn">Latency (ms, lower is better)</button>
|
|
|
|
|
|
|
| 88 |
</div>
|
| 89 |
+
<div class="legend" id="chart-legend"></div>
|
| 90 |
</div>
|
| 91 |
<div class="plot">
|
| 92 |
<svg id="scatter" viewBox="0 0 760 355"></svg>
|
| 93 |
<div id="tooltip" class="tooltip"></div>
|
| 94 |
</div>
|
| 95 |
+
<div class="footer-hint" id="chart-footer"></div>
|
| 96 |
</div>
|
| 97 |
<script>
|
| 98 |
|
| 99 |
const MODELS = [
|
| 100 |
+
{ name: "Rush-0.3B", short: "Rush-0.3B", params: 0.32, cat: "ours", mmsu: 44.83, mmsu_ci: [43.08, 46.59], latency: 28.47, latKind: "Audio TTFT p50 (RTX 4090 BF16, 2.0 s audio)", tps: 79.65, vram: 1.12, echo_fpr: "0.00%", zf: true, fd: true, notes: "n=3,074; 95% Wilson CI" },
|
| 101 |
{ name: "Mini-Omni (0.5B)", short: "Mini-Omni 0.5B", params: 0.5, cat: "omni", mmsu: 24.69 },
|
| 102 |
{ name: "Mini-Omni2 (0.5B)", short: "Mini-Omni2 0.5B", params: 0.5, cat: "omni", mmsu: 24.27 },
|
| 103 |
{ name: "Mair-hub-0.5B-Omni", short: "Mair-0.5B", params: 0.5, cat: "omni", mmsu: 25.60 },
|
|
|
|
| 105 |
{ name: "Megrez-3B-Omni", short: "Megrez 3B", params: 3.0, cat: "omni", mmsu: 27.03 },
|
| 106 |
{ name: "DuplexJev-4B-Para", short: "DuplexJev 4B", params: 4.0, cat: "fd", mmsu: 41.3, notes: "Official README" },
|
| 107 |
{ name: "Phi-4-multimodal (5.6B)", short: "Phi-4 5.6B", params: 5.6, cat: "omni", mmsu: 42.19 },
|
| 108 |
+
{ name: "Moshi (7B, Full-Duplex)", short: "Moshi 7B", params: 7.0, cat: "fd", mmsu: 24.04, latency: 1160, latKind: "FDB stop latency (project comparison chart)" },
|
| 109 |
+
{ name: "Freeze-Omni (7B, Full-Duplex)", short: "Freeze-Omni 7B", params: 7.0, cat: "fd", mmsu: 28.14, latency: 1420, latKind: "FDB stop latency (project comparison chart)" },
|
| 110 |
+
{ name: "NVIDIA PersonaPlex (7B, Full-Duplex)", short: "PersonaPlex 7B", params: 7.0, cat: "fd", latency: 205, latKind: "Reported latency (project comparison chart)" },
|
| 111 |
{ name: "Kimi-Audio (7B)", short: "Kimi-Audio 7B", params: 7.0, cat: "omni", mmsu: 62.17 },
|
| 112 |
{ name: "LLaMA-Omni (8B)", short: "LLaMA-Omni 8B", params: 8.0, cat: "omni", mmsu: 25.93 },
|
| 113 |
{ name: "MiniCPM-o 2.6 (8B)", short: "MiniCPM-o 8B", params: 8.0, cat: "omni", mmsu: 54.78 },
|
| 114 |
{ name: "Qwen2-Audio (8.2B)", short: "Qwen2-Audio 8B", params: 8.2, cat: "omni", mmsu: 35.72 },
|
| 115 |
{ name: "GLM-4-Voice (9B)", short: "GLM-4-Voice 9B", params: 9.0, cat: "omni", mmsu: 39.75 },
|
| 116 |
{ name: "Qwen3-Omni-30B-A3B", short: "Qwen3-Omni 30B", params: 30.0, cat: "omni", mmsu: 68.10 },
|
| 117 |
+
{ name: "Sophon-Realtime (32B, Full-Duplex)", short: "Sophon 32B", params: 32.0, cat: "fd", latency: 280, latKind: "Reported latency (project comparison chart)" },
|
| 118 |
{ name: "DuplexJev-32B-Para", short: "DuplexJev 32B", params: 32.0, cat: "fd", mmsu: 70.8, notes: "Official README" }
|
| 119 |
];
|
| 120 |
|
| 121 |
+
const OFFSETS_MMSU = {
|
| 122 |
"Rush-0.3B": [10, -10, "start"],
|
| 123 |
"DuplexJev 4B": [-10, 14, "end"],
|
| 124 |
"Mini-Omni 0.5B": [8, 12, "start"],
|
|
|
|
| 134 |
"Qwen3-Omni 30B": [-8, 4, "end"],
|
| 135 |
"DuplexJev 32B": [-10, -8, "end"]
|
| 136 |
};
|
| 137 |
+
const OFFSETS_LAT = {
|
| 138 |
+
"Rush-0.3B": [10, -8, "start"],
|
| 139 |
+
"PersonaPlex 7B": [-10, 4, "end"],
|
| 140 |
+
"Moshi 7B": [-10, 4, "end"],
|
| 141 |
+
"Freeze-Omni 7B": [10, -4, "start"],
|
| 142 |
+
"Sophon 32B": [-10, 4, "end"]
|
| 143 |
+
};
|
| 144 |
+
const LABELED_MMSU = new Set(["Rush-0.3B", "Mini-Omni 0.5B", "Ultravox 1.2B", "Megrez 3B", "Phi-4 5.6B", "Qwen2-Audio 8B", "GLM-4-Voice 9B", "MiniCPM-o 8B", "Kimi-Audio 7B", "Qwen3-Omni 30B"]);
|
| 145 |
|
| 146 |
const svg = document.getElementById("scatter");
|
| 147 |
const tooltip = document.getElementById("tooltip");
|
| 148 |
+
const legendEl = document.getElementById("chart-legend");
|
| 149 |
+
const footerEl = document.getElementById("chart-footer");
|
| 150 |
const W = 760, H = 355;
|
| 151 |
const pad = { l: 56, r: 28, t: 24, b: 42 };
|
| 152 |
const xMin = Math.log10(0.22), xMax = Math.log10(45);
|
| 153 |
const xScale = p => pad.l + ((Math.log10(p) - xMin) / (xMax - xMin)) * (W - pad.l - pad.r);
|
| 154 |
+
const yLogMin = Math.log10(15), yLogMax = Math.log10(1800);
|
| 155 |
+
let currentMetric = "mmsu";
|
| 156 |
+
|
| 157 |
+
function yScale(v) {
|
| 158 |
+
if (currentMetric === "latency") {
|
| 159 |
+
return H - pad.b - ((Math.log10(v) - yLogMin) / (yLogMax - yLogMin)) * (H - pad.t - pad.b);
|
| 160 |
+
}
|
| 161 |
const yLo = 15, yHi = 75;
|
| 162 |
return H - pad.b - ((v - yLo) / (yHi - yLo)) * (H - pad.t - pad.b);
|
| 163 |
+
}
|
| 164 |
|
| 165 |
function el(tag, attrs = {}, text = null) {
|
| 166 |
const n = document.createElementNS("http://www.w3.org/2000/svg", tag);
|
|
|
|
| 169 |
return n;
|
| 170 |
}
|
| 171 |
|
| 172 |
+
function latMarker(kind) {
|
| 173 |
+
if (!kind) return "circle";
|
| 174 |
+
if (kind.startsWith("Audio TTFT")) return "circle";
|
| 175 |
+
if (kind.startsWith("FDB stop")) return "square";
|
| 176 |
+
return "diamond";
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
function appendMark(parent, cx, cy, r, color, shape, strokeW) {
|
| 180 |
+
if (shape === "square") {
|
| 181 |
+
const s = r * 1.7;
|
| 182 |
+
parent.appendChild(el("rect", { x: cx - s/2, y: cy - s/2, width: s, height: s, fill: color, stroke: "var(--background)", "stroke-width": strokeW }));
|
| 183 |
+
} else if (shape === "diamond") {
|
| 184 |
+
const s = r * 1.35;
|
| 185 |
+
parent.appendChild(el("polygon", { points: `${cx},${cy-s} ${cx+s},${cy} ${cx},${cy+s} ${cx-s},${cy}`, fill: color, stroke: "var(--background)", "stroke-width": strokeW }));
|
| 186 |
+
} else {
|
| 187 |
+
parent.appendChild(el("circle", { cx, cy, r, fill: color, stroke: "var(--background)", "stroke-width": strokeW }));
|
| 188 |
+
}
|
| 189 |
+
return parent.lastChild;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
function setChrome() {
|
| 193 |
+
if (currentMetric === "latency") {
|
| 194 |
+
legendEl.innerHTML = `
|
| 195 |
+
<span><span class="swatch" style="background:var(--chart-1)"></span>Rush-0.3B (Audio TTFT p50)</span>
|
| 196 |
+
<span><span class="swatch sq" style="background:var(--chart-2)"></span>FDB stop latency</span>
|
| 197 |
+
<span><span class="swatch dia" style="background:var(--chart-2)"></span>Reported latency</span>`;
|
| 198 |
+
footerEl.textContent = "X-axis: LLM parameters (log). Y-axis: latency in ms (log, lower is better). Rush-0.3B is Audio TTFT p50 on RTX 4090 BF16 (2.0 s audio): 28.47 ms. Peer full-duplex points are from the project comparison chart and were not re-measured here: Moshi 1,160 ms and Freeze-Omni 1,420 ms are FDB stop latency, not TTFT; PersonaPlex 205 ms and Sophon-Realtime 280 ms are reported latency on that chart. These are not the same protocol. This plot does not include a 0.8B sibling.";
|
| 199 |
+
} else {
|
| 200 |
+
legendEl.innerHTML = `
|
| 201 |
+
<span><span class="swatch" style="background:var(--chart-1)"></span>Rush-0.3B</span>
|
| 202 |
+
<span><span class="swatch" style="background:var(--chart-2)"></span>Full-duplex peers</span>
|
| 203 |
+
<span><span class="swatch" style="background:var(--chart-4)"></span>Omni / audio LLM</span>`;
|
| 204 |
+
footerEl.textContent = "X-axis: LLM parameters (log scale). Y-axis: VoiceBench MMSU (higher is better). Dashed line = undominated open frontier. Error bar on Rush-0.3B is the 95% Wilson interval (43.08–46.59). This plot does not include OpenBookQA, AdvBench, three-metric averages, or a 0.8B sibling.";
|
| 205 |
+
}
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
function draw() {
|
| 209 |
svg.innerHTML = "";
|
| 210 |
+
const isLat = currentMetric === "latency";
|
| 211 |
+
setChrome();
|
| 212 |
+
|
| 213 |
+
const yTicks = isLat ? [20, 50, 100, 200, 500, 1000, 1500] : [20, 30, 40, 50, 60, 70];
|
| 214 |
+
yTicks.forEach(t => {
|
| 215 |
const y = yScale(t);
|
| 216 |
svg.appendChild(el("line", { x1: pad.l, y1: y, x2: W - pad.r, y2: y, stroke: "var(--card-border)", "stroke-dasharray": "3,3" }));
|
| 217 |
+
svg.appendChild(el("text", { x: pad.l - 8, y: y + 4, "text-anchor": "end", fill: "var(--muted-foreground)", "font-size": "11" }, isLat ? t + " ms" : t + "%"));
|
| 218 |
});
|
| 219 |
|
| 220 |
[0.32, 0.5, 1, 3, 7, 10, 30].forEach(p => {
|
|
|
|
| 237 |
svg.appendChild(el("line", { x1: pad.l, y1: H - pad.b, x2: W - pad.r, y2: H - pad.b, stroke: "var(--border)" }));
|
| 238 |
svg.appendChild(el("line", { x1: pad.l, y1: pad.t, x2: pad.l, y2: H - pad.b, stroke: "var(--border)" }));
|
| 239 |
svg.appendChild(el("text", { x: (pad.l + W - pad.r) / 2, y: H - 6, "text-anchor": "middle", fill: "var(--muted-foreground)", "font-size": "11.5" }, "LLM Parameters (Billions, Log Scale)"));
|
| 240 |
+
svg.appendChild(el("text", { x: 14, y: (pad.t + H - pad.b) / 2, "text-anchor": "middle", fill: "var(--muted-foreground)", "font-size": "11.5", transform: `rotate(-90 14 ${(pad.t + H - pad.b) / 2})` }, isLat ? "Latency (ms, log, lower is better)" : "VoiceBench MMSU (%)"));
|
| 241 |
+
|
| 242 |
+
const active = MODELS.filter(m => m[currentMetric] != null);
|
| 243 |
+
if (!isLat) {
|
| 244 |
+
const sorted = [...active].sort((a, b) => a.params - b.params || b.mmsu - a.mmsu);
|
| 245 |
+
const pareto = [];
|
| 246 |
+
let best = -Infinity;
|
| 247 |
+
for (const m of sorted) {
|
| 248 |
+
if (m.mmsu > best) { pareto.push(m); best = m.mmsu; }
|
| 249 |
+
}
|
| 250 |
+
if (pareto.length >= 2) {
|
| 251 |
+
const pts = pareto.map(m => `${xScale(m.params).toFixed(1)},${yScale(m.mmsu).toFixed(1)}`).join(" ");
|
| 252 |
+
svg.appendChild(el("polyline", { points: pts, fill: "none", stroke: "var(--chart-1)", "stroke-width": "1.6", "stroke-dasharray": "5,4", "stroke-opacity": "0.65" }));
|
| 253 |
+
}
|
| 254 |
}
|
| 255 |
|
| 256 |
+
const offsets = isLat ? OFFSETS_LAT : OFFSETS_MMSU;
|
| 257 |
const ordered = [...active.filter(m => m.cat !== "ours"), ...active.filter(m => m.cat === "ours")];
|
| 258 |
for (const m of ordered) {
|
| 259 |
+
const val = m[currentMetric];
|
| 260 |
const cx = xScale(m.params);
|
| 261 |
+
const cy = yScale(val);
|
| 262 |
const color = m.cat === "ours" ? "var(--chart-1)" : (m.cat === "fd" ? "var(--chart-2)" : "var(--chart-4)");
|
| 263 |
const r = m.cat === "ours" ? 7.5 : 5;
|
| 264 |
+
const shape = isLat ? latMarker(m.latKind) : "circle";
|
| 265 |
|
| 266 |
if (m.cat === "ours") {
|
| 267 |
svg.appendChild(el("circle", { cx, cy, r: 14, fill: "var(--chart-1)", "fill-opacity": "0.16" }));
|
| 268 |
+
if (!isLat && m.mmsu_ci) {
|
| 269 |
const yHi = yScale(m.mmsu_ci[1]), yLo = yScale(m.mmsu_ci[0]);
|
| 270 |
svg.appendChild(el("line", { x1: cx, y1: yHi, x2: cx, y2: yLo, stroke: "var(--chart-1)", "stroke-width": "2.2", "stroke-opacity": "0.7" }));
|
| 271 |
svg.appendChild(el("line", { x1: cx - 5, y1: yHi, x2: cx + 5, y2: yHi, stroke: "var(--chart-1)", "stroke-width": "1.8" }));
|
|
|
|
| 274 |
}
|
| 275 |
|
| 276 |
const g = el("g", { style: "cursor:pointer" });
|
| 277 |
+
const dot = appendMark(g, cx, cy, r, color, shape, m.cat === "ours" ? "2" : "1.2");
|
| 278 |
+
|
| 279 |
+
const showLabel = isLat || m.cat === "ours" || m.cat === "fd" || LABELED_MMSU.has(m.short);
|
| 280 |
+
if (showLabel) {
|
| 281 |
+
let [dx, dy, anchor] = offsets[m.short] || [8, 4, "start"];
|
| 282 |
+
let labelTxt;
|
| 283 |
+
if (isLat) {
|
| 284 |
+
const shortKind = m.latKind && m.latKind.startsWith("Audio TTFT") ? "TTFT" : (m.latKind && m.latKind.startsWith("FDB stop") ? "FDB stop" : "reported");
|
| 285 |
+
const num = m.latency >= 100 ? m.latency.toFixed(0) : m.latency.toFixed(2);
|
| 286 |
+
labelTxt = m.cat === "ours" ? `${m.short}: ${num} ms ${shortKind}` : `${m.short} (${num} ms ${shortKind})`;
|
| 287 |
+
} else {
|
| 288 |
+
labelTxt = m.cat === "ours" ? `${m.short}: ${m.mmsu.toFixed(2)}%` : m.short;
|
| 289 |
+
}
|
| 290 |
g.appendChild(el("text", {
|
| 291 |
x: cx + dx, y: cy + dy, "text-anchor": anchor,
|
| 292 |
fill: m.cat === "ours" ? "var(--chart-1)" : "var(--muted-foreground)",
|
|
|
|
| 296 |
}
|
| 297 |
|
| 298 |
g.addEventListener("mouseenter", e => {
|
| 299 |
+
if (dot.hasAttribute("r")) dot.setAttribute("r", r + 2);
|
| 300 |
+
const rows = [["Parameters", `${m.params}B`]];
|
| 301 |
+
if (m.mmsu != null) rows.push(["MMSU", `${m.mmsu.toFixed(2)}%`]);
|
| 302 |
+
if (m.mmsu_ci) rows.push(["95% Wilson CI", `${m.mmsu_ci[0]}–${m.mmsu_ci[1]}`]);
|
| 303 |
+
if (m.latency != null) rows.push(["Latency", `${m.latency} ms`]);
|
| 304 |
+
if (m.latKind) rows.push(["Latency metric", m.latKind]);
|
| 305 |
+
if (m.notes) rows.push(["Notes", m.notes]);
|
| 306 |
+
if (m.tps) rows.push(["Throughput / VRAM", `${m.tps} tok/s · ${m.vram} GB`]);
|
| 307 |
+
if (m.echo_fpr) rows.push(["Echo FPR", m.echo_fpr]);
|
| 308 |
+
if (m.zf != null) rows.push(["Zero-forgetting / duplex", `${m.zf ? "pure_text_max_abs_diff = 0.0" : "finetuned"} / ${m.fd ? "full-duplex" : "half-duplex"}`]);
|
|
|
|
| 309 |
tooltip.innerHTML = `<div class="title">${m.name}</div><div class="grid">${rows.map(([k, v]) => `<span class="k">${k}</span><span>${v}</span>`).join("")}</div>`;
|
| 310 |
tooltip.style.opacity = "1";
|
| 311 |
moveTip(e);
|
| 312 |
});
|
| 313 |
g.addEventListener("mousemove", moveTip);
|
| 314 |
+
g.addEventListener("mouseleave", () => {
|
| 315 |
+
if (dot.hasAttribute("r")) dot.setAttribute("r", r);
|
| 316 |
+
tooltip.style.opacity = "0";
|
| 317 |
+
});
|
| 318 |
svg.appendChild(g);
|
| 319 |
}
|
| 320 |
}
|
| 321 |
|
| 322 |
function moveTip(e) {
|
| 323 |
+
const tw = 300, th = 190;
|
| 324 |
tooltip.style.left = Math.min(window.innerWidth - tw - 12, e.clientX + 14) + "px";
|
| 325 |
tooltip.style.top = Math.max(8, Math.min(window.innerHeight - th - 12, e.clientY - 20)) + "px";
|
| 326 |
}
|
| 327 |
|
| 328 |
+
document.querySelectorAll(".tab-btn").forEach(btn => {
|
| 329 |
+
btn.addEventListener("click", () => {
|
| 330 |
+
currentMetric = btn.getAttribute("data-metric");
|
| 331 |
+
document.querySelectorAll(".tab-btn").forEach(b => b.classList.toggle("active", b === btn));
|
| 332 |
+
draw();
|
| 333 |
+
});
|
| 334 |
+
});
|
| 335 |
+
|
| 336 |
draw();
|
| 337 |
|
| 338 |
</script>
|
|
|
|
| 421 |
|
| 422 |
<section class="zh" lang="zh">
|
| 423 |
<h2>中文摘要</h2>
|
| 424 |
+
<p>Rush-0.3B 是一个 0.32B 的端侧原生全双工语音模型,架构为 residual DualFFN。本页默认英文。图和表格只公布 VoiceBench MMSU 全集:44.83(n=3,074,95% Wilson 区间 43.08–46.59)。训练权重尚未上传。模型卡:<a href="https://huggingface.co/swmt/Rush-0.3B">swmt/Rush-0.3B</a>。代码:<a href="https://github.com/Shiyao-Huang/rush">Shiyao-Huang/rush</a>。文本基座是阿里巴巴淘天集团 MNN Team 的 MNN-Pocket-0.3B(Apache 2.0)。 结构上,它在冻结的 MNN-Pocket-0.3B(28 层 GQA)上接入 residual DualFFN:音频 token 走 `text_mlp + audio_mlp`,纯文本只走冻结的 `text_mlp`,因此 `pure_text_max_abs_diff == 0.0`。前端是冻结的 185M Qwen3-ASR 编码器,12.5 Hz 再 stack 到 6.25 Hz(每 160 ms 一拍)。双工语音头包含双通道 `[mic; tts]` 投影,以及约 0.8M 的 FastReflexHead——不经过 28 层 LLM,每拍输出 end-of-utterance、插话、紧急停止、回声/静音四个反射通道(4090 上 p50 为 0.151 ms)。帕里托可视化现含 MMSU 与延迟两张图。延迟图中 Rush-0.3B 为 RTX 4090 上的 Audio TTFT p50(28.47 ms);同行全双工点来自项目对照图(Moshi 1,160 ms 与 Freeze-Omni 1,420 ms 为 FDB 停说延迟,与 TTFT 不是同一口径;PersonaPlex 205 ms 与 Sophon-Realtime 280 ms 为该图上的报告延迟),本页未重测。</p>
|
| 425 |
</section>
|
| 426 |
|
| 427 |
<footer>License: Apache 2.0. The text backbone MNN-Pocket-0.3B is also Apache 2.0.</footer>
|