Explore the research collection
2 entries · Follow this search
- Model
Cua-S1-4B-0.2 (multimodal computer-use decision LoRA + live RLOO)
Cua-S1-4B-0.2 (announced 2026-09-23 by @trycua) is a pair of independently trained PEFT LoRA adapters (text/ and multimodal/) on frozen Qwen/Qwen3.5-4B for closed-option computer-use element/action selection. At each step the model sees screen state (ax-tree and/or screenshot), task goal, and a fixed candidate action set; it returns one action; the environment updates. Training recipe (thread): (1) supervised training for the decision format; (2) agentic RL (RLOO) in live cua-bench-basic environments with reward only on completed tasks. Author-reported held-out live episodes: 17/18 text and 13/18 multimodal vs zero-shot djev 16/18 and 12/18. On frozen GUI-360 multimodal hard cross-dataset split (168 tasks, no accessibility tree): overall 92.9% (ECE 0.069) vs untrained djev 60.1% (ECE 0.360) under same inputs/scoring. MODEL_CARD aggregates: text hard cross-dataset overall 0.875 (ECE 0.121); multimodal hard cross-dataset overall 0.929; live cua-bench-basic 0.944 text / 0.722 multimodal (20-step cap). Does not replace cua-s1-4b-0.1; both published. Family also includes cua-s1-nano-0.1 (~855K option-attention) and cua-s1-forms / form-v0 (jev-like form filler). Code MIT in libs/cua-s1 + libs/cua-bench-s1; adapter weights Apache-2.0 (~187 MB Hub); base Qwen3.5-4B under its own license.
- Model
Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making
CLM (Contrastive Language Model) is a System One decision model: separate state and action encoders trained with bidirectional InfoNCE so each state is pulled toward the ground-truth action and pushed from others; at deploy time candidates are scored by cosine similarity of L2-normalized embeddings and softmaxed into typed answers (Noul/Choice/Score) or ranked for best-of-N. Released CLM-8B uses a frozen Qwen3-8B backbone (hidden 4096, last-token pooling, L2 norm) plus a trainable MLP projection head 4096→1536→1536→512 (GELU+LayerNorm; ~20M params, output dim 512); only the head is trained; LLM embeddings can be precomputed. Full Nemotron DQA pretrain ~1 hour on one RTX 4090. Dual-encoder disaggregation caches state and action embeddings independently (authors contrast with Jev state-only caching). Action-caching example (Super Mario): 4 action embeddings precomputed; per-step cost drops from 5 forwards to 1 (~4×). Zero-shot blog table (CLM vs Jev latency / success): T-Rex 16.5 vs 149.8 ms (5/5 both); BFCL V4 tool calling 76.8 vs 125.5 ms (95.2% vs 99.2%); WikiRacing 79.8 vs 225 ms (26/30 vs 30/30); Super Mario 33.5 vs 132.6 ms (5/5 both) — up to ~9× faster, roughly on-par accuracy. Latency microbench (200-token state, RTX 4090, 15 tok/candidate): at 1024 candidates CLM ~44 ms vs Jev ~579 ms (~13×) vs constrained decoding Qwen3-8B ~4.3 s (~97×); candidate-length sweep (5 cands) CLM stays ~36 ms through 2048 tok while CD goes to 3.4 s and Jev to 333 ms (~9× / ~95×). Agentic verifier (38 DeepSWE / 30 Terminal-Bench 2.1 held-out; Opus 5 / Fable 5 candidates; H100): DeepSWE CLM 81.6% vs Jev 71.1% vs Pass@1 73.7% (79 vs 449 ms, 5.7×); Terminal-Bench 2.1 CLM 87.6% vs Jev 83.1% vs Pass@1 84.0% (32 vs 131 ms, 4.1×) — Jev below Pass@1 on both. Data recipe: pretrain ~60M Nemotron DQA → midtrain ~30M Gemini 2.5 Flash-Lite hard negatives → posttrain ~1M ADP + Endless-Terminals + LiteCoder-Terminal-SFT (40% Nemotron replay / 60% agentic). Hard-neg study (~100K held-out, 1 gold+10 HN): pretrain 52.1% → two-stage 69.2% vs HN-from-scratch peak 62.4%. Replay keeps HN top-1 ~68.5% vs 56.2% agentic-only. Scaling fits (test InfoNCE): L≈(C/7.34e13)^-0.144; (D/2.12e9)^-0.117; (N/3.60e5)^-0.061; (N_enc/4.18e9)^-0.172; optimal head N*∝D^1.02 (~310 tokens/param). Posted 2026-09-23 Notion blog; Jacky Kwok† project lead; Stanford + NVIDIA Research. Roadmap: multimodal CLM-35B early next month; vision; more data/scaling. Contact jackykwok@stanford.edu.