{
  "id": 1580,
  "kind": "post",
  "title": "SINQ comes to GGUF: BeeLlama.cpp v0.5.0 makes every tested quantization recipe more accurate",
  "summary": "BeeLlama.cpp v0.5.0 Preview (Ivan Neustroev) ships the first implementation of SINQ (Sinkhorn-Normalized Quantization) in the llama.cpp ecosystem. SINQ itself is from Müller et al. at Huawei (arXiv 2509.22944, Sep 2025; the same team as KVarN): it augments an existing post-training quantizer with a second-axis scale factor, using fast Sinkhorn-Knopp-style iterations to normalize the per-row and per-column variances of each weight matrix (minimizing a 'matrix imbalance' proxy). Because column-wise weight standard deviations are predictive of the activation magnitudes a matrix saw in training, this recovers much of activation-aware quantization's benefit with NO calibration data; it is layer-independent, applies to any linear layer, and in the paper cuts the WikiText2/C4 perplexity gap versus uncalibrated uniform baselines by over 50% on the Qwen3 family and DeepSeek-V2.5, at zero-to-negligible overhead (code: github.com/huawei-csl/SINQ). The implementation result reported here: Neustroev reproduced Bartowski's fully open-source Qwen 3.5 9B GGUF collection with SINQ added, and EVERY recipe (Q2_K through Q8_0) achieved lower KL divergence against BF16, with drastic improvements at the higher bit-widths; against Unsloth's collection for the same model (only partially reproducible, its process being partly proprietary), Bartowski+SINQ dominates most of the size-quality Pareto frontier, with a particularly large gap at 6 and 8 bits. The author ships his own disclaimers, carried here as flags: the SINQ configuration for each recipe was selected by MANUAL A/B testing (automated selection is work in progress), so the frontier partly reflects per-recipe tuning effort; SINQ GGUFs currently run ONLY in BeeLlama.cpp v0.5.0, since the format needs engine support; some recipes may benefit less or not at all where existing optimizations conflict; evidence is one model (Qwen 3.5 9B; a 27B pass promised) and the metric is KLD fidelity to BF16, not downstream task accuracy. The SINQ paper is summarized inside this entry and is not separately cataloged. Cross-references: the catalog's precision/quantization thread - SINQ is the inference-side, weight-only member (calibration-free dual scaling), complementing the training-side precision entries and KVarN's KV-cache variant of the same dual-scaling idea.",
  "body": "",
  "notes": "Shared 2026-11-10 via @Anbeeld's launch post (status 2120223380896972860). SINQ'd Qwen 3.5 9B GGUFs were being uploaded to Hugging Face at share time. STAGED 2026-11-10 during the Neon quota freeze; insert after the earlier staged items when writes reopen.",
  "url": "https://github.com/Anbeeld/beellama.cpp/releases/tag/v0.5.0-preview",
  "links": [],
  "authors": [
    "Ivan Neustroev (BeeLlama.cpp)",
    "SINQ method: Lorenz K. Müller",
    "Philippe Bich",
    "Jiawei Zhuang",
    "Ahmet Çelik",
    "Luca Benfenati",
    "Lukas Cavigelli (Huawei)"
  ],
  "tags": [],
  "topics": "",
  "venue": "Open-source release announcement (X post) + GitHub release, Nov 10 2026; method paper arXiv 2509.22944",
  "publisher": "",
  "source": "blog",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-11-10T00:00:00.000Z",
  "verified_at": "2026-11-10T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1879"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-12-01T12:42:18.362Z",
  "updated_at": "2026-12-01T12:42:18.362Z",
  "page": "https://papers.projxon.ai/entries/1580",
  "markdown": "https://papers.projxon.ai/entries/1580.md",
  "api": "https://papers.projxon.ai/api/entries/1580",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1043,
      "kind": "paper",
      "title": "Planned Test-Time Scaling with Coordinated Reasoning Paths",
      "summary": "UCLA+Amazon preprint (arXiv 2609.27374v1, cs.CL/cs.AI; 2026-09-23) introducing Planned Test-Time Scaling (PTTS): a planner jointly emits k solution outlines and a frozen reasoning-model executor solves each outline-conditioned branch, replacing independent repeated sampling. Formally PTTS generalizes RS; stylized analysis shows pass@k-optimized joint planning covers complementary modes vs pass@1 mode collapse. Instantiations: PTTS-ZS (base LLM jointly generates all outlines in one AR pass) and PTTS-RL (optimize planner on pass@k with truncated executor rollouts). On MATH-500, AIME 2024/25/26, HMMT-Feb26 with Qwen3-1.7B/4B executors, PTTS-ZS gains up to +6.7 pass@64 vs RS; PTTS-RL up to +13.4 (1.7B) / +6.7 (4B); PTTS-RL pass@32 exceeds RS pass@64. Code Apache-2.0 at github.com/shirley-wu/planned-test-time-scaling; no HF Papers page yet.",
      "url": "https://arxiv.org/abs/2609.27374",
      "authors": [
        "Xueqing Wu (UCLA)",
        "Langxing Bai (UCLA)",
        "Hritik Bansal (UCLA)",
        "Po-Nien Kung (UCLA)",
        "Shuo Li (Amazon)",
        "Hao Liu (Amazon)",
        "Nanyun Peng (UCLA)",
        "Kai-Wei Chang (UCLA)"
      ],
      "tags": [
        "ptts",
        "planned-test-time-scaling",
        "pass@k",
        "test-time-scaling",
        "planner-executor",
        "reasoning-diversity",
        "qwen3",
        "aime",
        "math-500",
        "dapo",
        "ucla",
        "amazon",
        "2609.27374"
      ],
      "venue": "arXiv / UCLA + Amazon (preprint)",
      "source": "arxiv",
      "license": "CC BY 4.0 (arXiv); code Apache-2.0 (GitHub LICENSE)",
      "published_year": 2026,
      "added_at": "2026-09-25T02:02:15.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1043",
      "markdown": "https://papers.projxon.ai/entries/1043.md",
      "api": "https://papers.projxon.ai/api/entries/1043"
    },
    {
      "id": 1431,
      "kind": "post",
      "title": "Reactive Optimizers — OPAL (OPtimizer with an Agent in the Loop)",
      "summary": "Thesis: optimizers are static — hand-crafted or discovered offline, then run unchanged. A reactive optimizer instead puts a zero-shot LLM agent (Claude Opus 5.5 in all blog experiments; nothing learned or retained across runs) inside a single training run and gives it code as the entire interface. The agent iteratively rewrites two programs: `updater.py`, the optimizer itself, executed every step — the whole algorithm is up for rewriting, not just hyperparameters — and `analysis.py`, self-written probes that extract the training-dynamics statistics the agent chooses to watch (per-parameter-group gradient norms, update size relative to weights, cosine between consecutive gradients, per-tensor spike detection). One agent conversation spans the run, so it remembers what it tried and why. In the released package, checks run every 50 steps, decisions are capped (default ≤50, front-loaded into the first 5% of the run), and the agent's remit is bounded: it cannot touch model, data, loss, batch size, step count, or evaluation, and until its first edit the wrapped run is bit-for-bit identical to the plain run. Guardrails in the package: a new updater takes over on all ranks at once and runs a 20-step trial — an error reverts to the previous program; a first-step failure is undone exactly when a snapshot of parameters + optimizer state fits in `snapshot_limit_gb` (default 2 GB); a later failure is NOT undone and the agent is only told; an `eval_integrity` check flags a program that moves parameters away for an evaluation and back. Training can run asynchronously while the agent thinks (blocking=False), edits landing a median of 65 updates later on Goldfish. Headline claim (authors'): where no recipe has been tuned for the setting, OPAL — always INITIALIZED from an existing recipe — matches or beats the best recipe one could pick off the shelf one-shot. Baselines, precisely: for settings derived from modded-nanogpt Track 3 (162M GPT on FineWeb), five leaderboard records transplanted with natural adjustments (#46, #30, #21 Shampoo, #36 tuned Muon, #2 AdamW; at quarter batch, all LRs ×¼) — OPAL initialized from #36 ranked first in every new setting (quarter batch; Chinese, Thai, Kyrgyz from 1 GB Goldfish sets; Chinese/Thai bars are means of 3 runs). Goldfish Amharic (125M GPT, 1 GB, 10 epochs; metric bits/sentence on held-out FLORES-200): official recipe 83.48 → OPAL from that recipe 81.11; an LR sweep found a static recipe at 80.89 — ahead of OPAL-from-official — but OPAL initialized from the swept recipe ended ahead again at 80.73 (Swahili similar: 79.37 → 77.60). Image generation: LightningDiT-XL/1 on ImageNet, FID-50K 1.83 vs official recipe's 2.18 with guidance (4.33 vs 5.15 without); RAEv2-B (official recipe already a Muon variant, GMuon) 3.19 vs 3.39 in the blog — the repo table shows prompt sensitivity: 3.10 with an efficiency-asking prompt, 3.46 with the neutral prompt. SiT-B/2 (repo table): FID-50K 35.7 → 23.6. On the original, heavily tuned modded-nanogpt setting the gain is small (validation loss 3.2749 vs record #36's 3.2781), and the README documents a run that ended WORSE (3.2878 on OPAL 0.2.0). What the agent actually does, from the decision logs: builds intricate per-parameter-group multi-stage LR schedules (including mid-run LR increases; A/B/A tests alternating two LRs for a few hundred updates each and keeping the winner; re-planned earlier cooldowns from loss trends); migrates tensors from AdamW to Muon module-by-module (attention/MLP first, then adaLN split into chunks, timestep embedder last); on modded-nanogpt it measured that token-embedding entries are ~15 in size where adjacent bf16 values are 0.0625 apart, so as the LR decayed, rounding would discard a growing share of each update — from update 1,040 it kept that one matrix's Adam moments in float32 with compensated rounding on writeback and left everything else alone. Loss-spike defense: in a SiT run it traced 17 of 18 logged gradient spikes to the timestep embedder and wrote per-tensor clipping thresholds set from each tensor's own recent gradient norm (global threshold kept as backstop); in a controlled ResNet-18/CIFAR-10 experiment with four inserted stretches of random images and labels (agent not told), the first two stretches cost it −50.0 and −66.3 accuracy points (≈ the static baselines), but between stretches it added loss damping, replaced it with clipping, then wrote a gate that holds back batches whose loss is far above recent clean ones — the third stretch cost −12.1 and the fourth +0.7, while Muon+clip, AdamW+clip and Stable-SPAM still lost 28.5–76 points per stretch. Overfitting: ResNet-18 on CIFAR-10 with 10% wrong labels, no augmentation, agent sees train + dev metrics but is never told about the label noise — AdamW ends at test loss 2.49 / 73.5% accuracy (early-stopped 1.01 / 72.9%; weight-averaged 0.83 / 77.5%) and predicts the wrong trained label on 100% of the 4,500 mislabeled training images; OPAL ends at 0.69 / 78.6%, predicts the wrong label on only 4% (true label on 78%), via progressively higher learning rates plus a self-chosen weight average (\"extended SWA\") selected on the dev set. Toy control check (2D landscapes, OPAL restricted to heavy-ball with momentum resets/return-to-best): mean log10(f − f*) −11.6 vs −2.2 for the best of 12 common static recipes and −7.4 for the best of 382,080 swept recipes. Cost: ≈100 decisions on LightningDiT cost $6.42 at Opus 5.5 list price on top of ~74 H100-hours (~$510 AWS on-demand); asynchronous mode adds 1.01–1.14× wall-clock vs the static run (blocking at every decision: 1.30–4.39×). Authors' stated limits: gains shrink when a run is short AND its recipe is already fine-tuned (the two conditions coincide in the original modded-nanogpt setting; other settings train 8–120× more updates); reactive behavior is another source of nondeterminism and makes training less reproducible; most experiments run once, a few three times; the current implementation does not support sharded training or optimizer compilation. Repo README adds: v0.3.4, single GPU / single-node DDP only (no multi-node, FSDP, DeepSpeed); \"the agent can make a run worse: it cannot restart or roll back training, it can only fix its programs at the next decision\"; results vary run to run because the agent chooses differently. Repo ships a one-line `opal.wrap()` wrapper around any torch.optim optimizer, `opal doctor` / `opal estimate` / `opal show` / `opal report` tooling, examples, a CPU test suite, and an experimental Codex backend (gpt-6.1-sol); 34 stars, created the day of the thread.",
      "url": "https://xingjianbai.com/reactive-optimizers/",
      "authors": [
        "Xingjian Bai",
        "Jia-Hao Liang",
        "Jayden Teoh",
        "Vincent Sitzmann — MIT EECS (Bai is a PhD student working with Phillip Isola and Vincent Sitzmann",
        "previously RA at Oxford VGG)"
      ],
      "tags": [],
      "venue": "author's blog (no paper — no arXiv/OpenReview version exists; the citation block in both blog and repo is @misc, note \"Blog post\")",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-10-21T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1431",
      "markdown": "https://papers.projxon.ai/entries/1431.md",
      "api": "https://papers.projxon.ai/api/entries/1431"
    },
    {
      "id": 1297,
      "kind": "model",
      "title": "River Recipes: Achieving Frontier Text-to-SQL with the River API",
      "summary": "River AI's 'River Recipes' is an open-source initiative that turns promising research papers into vetted, reproducible training recipes. The first recipe tackles text-to-SQL: it rebuilds the ReViSQL recipe (RL with a LoRA adapter, arXiv 2603.20004v4) from scratch on the River API, fixing several bugs in the released code (outdated VeriEQL with an ORDER BY-in-subqueries bug, a 1% tolerance grader that rewarded wrong row counts, and treating token-limit-interrupted attempts as answers) and hardening it for longer runs (async RL overlapping sampling and training, warmup+cosine LR, tightened grader, -1 reward for unfinished attempts, tool-use demonstration prefix). Across six models from five families it improved accuracy by 9-36 points on Arcwise-Plat; four models reached human-level performance (92.96%) and five finished between 92.0% and 93.4%. Five outperformed GPT-6 Astra Pro (max effort), averaging 4.0 points higher at less than 2% of the per-question cost (OpenRouter list prices, Sep 29 2026); GLM-5.3 Flash led at +4.6 points at just 0.5% of the cost. Key recipe extensions: BIRD-Platinum cleaned training data (+9.4 points avg vs original annotations), training hints for questions no attempt ever solves (~6% of questions after epoch 1), learnability weighting from epoch 2, the VeriEQL penalty and evidence process reward for shaping, and BIRD-Diamond/BIRD-Platinum-Hard curated subsets on Hugging Face. Gains transfer to Spider2-Lite (every model improved, best models just shy of the proprietary frontier).",
      "url": "https://river.ai/achieving-frontier-text-to-sql",
      "authors": [
        "The River AI Team"
      ],
      "tags": [
        "river-recipes",
        "text-to-sql",
        "revisql",
        "arcwise-plat",
        "cispo",
        "lora",
        "bird-platinum"
      ],
      "venue": "River AI release blog, October 2026 (river.ai/achieving-frontier-text-to-sql)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-07T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1297",
      "markdown": "https://papers.projxon.ai/entries/1297.md",
      "api": "https://papers.projxon.ai/api/entries/1297"
    },
    {
      "id": 962,
      "kind": "paper",
      "title": "GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers",
      "summary": "Generative Pre-trained Transformer models, known as GPT or OPT, set themselves apart through breakthrough performance across complex language modelling tasks, but also by their extremely high computational and storage costs. Specifically, due to their massive size, even inference for large, highly-accurate GPT models m…",
      "url": "https://arxiv.org/abs/2210.17323",
      "authors": [
        "Frantar",
        "Elias",
        "Ashkboos",
        "Saleh",
        "Hoefler",
        "Torsten",
        "Alistarh",
        "Dan"
      ],
      "tags": [
        "arxiv",
        "2210-17323",
        "quantization-efficiency",
        "linkedin-thread"
      ],
      "venue": "arXiv 2210.17323",
      "source": "arxiv",
      "license": "",
      "published_year": 2022,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 2668,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/962",
      "markdown": "https://papers.projxon.ai/entries/962.md",
      "api": "https://papers.projxon.ai/api/entries/962"
    },
    {
      "id": 802,
      "kind": "paper",
      "title": "When Agents Slow Down: Understanding LLM Agents' Test-Time Strategies via Elo-per-token Analysis",
      "summary": "LLM agents allocate test-time compute adaptively as they revise solutions, use tools, explore alternatives, and decide when to stop, making it hard to measure how agent performance scales. The paper studies open-ended tasks with continuous scores for intermediate submissions and proposes Elo-per-token analysis: track the best solution found at each token budget and use a Bradley-Terry model to aggregate within-task orderings into Elo ratings across tasks with different score scales. Applied to four general-purpose agents on four open-ended benchmarks with sessions up to 100M tokens, plus three feedback-driven LLM optimization harnesses in controlled single-task interventions. Independent sampling provides a theoretically characterized reference for which Elo grows linearly with log compute; against it, agents initially convert tokens into Elo faster but their marginal gains diminish and eventually fall below the reference. The strongest historical human contestants instead improve superlinearly over contest time on shared AtCoder Heuristic Contest tasks, showing continual learning and substantial headroom after agents slow down. The scaling inflection point is defined as the per-session budget where marginal Elo gains match the independent-sampling reference; splitting 100M tokens across parallel sessions on FrontierCS Polyomino Packing gains +264 Elo over one long session and +355 over ten short sessions.",
      "url": "https://arxiv.org/abs/2609.15309",
      "authors": [
        "Kaiyuan Liu",
        "Qiuyang Mang",
        "Bo Peng",
        "Wenhao Chai",
        "Hanchen Li",
        "Shreyas Pimpalgaonkar",
        "Luke Zettlemoyer",
        "Alex Dimakis",
        "Alvin Cheung"
      ],
      "tags": [
        "agents",
        "test-time-scaling",
        "elo",
        "evaluation",
        "hybrid-agents",
        "benchmark-scaling"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/802",
      "markdown": "https://papers.projxon.ai/entries/802.md",
      "api": "https://papers.projxon.ai/api/entries/802"
    },
    {
      "id": 1272,
      "kind": "paper",
      "title": "Sentry: Learning to Recover from LLM Agent Failures at Test Time",
      "summary": "Test-time framework for recovering LLM agents from failures, from Stanford's ACE (Agentic Context Engineering) team. Core finding: failure knowledge is conditional — how it reaches the agent matters as much as what it contains. Failure lessons kept in context misfire when their failure is absent: ACE-style memory that keeps past failure lessons in context for every task distracts the agent (e.g., on WebShop the agent found the right product then kept comparing alternatives and never acted); simply removing failure lessons improves ACE by +17% on WebShop and +14% on Mind2Web Replay. Conversely, runtime-intervention methods (AgentGuard) act only on failure but learn nothing — fixed rules can fire at the wrong time (a 'no progress' warning made the agent abandon correctly picked product options). Sentry combines both: it learns from experience like ACE, but keeps failure knowledge in a separate playbook outside the agent's main context; a failure detector watches for failures, retrieves failure-specific guidance (hard repair for invalid actions, soft repair with hints), and a verifier checks recovery without access to task rewards — the playbook is updated only if recovery succeeded. Results on WebShop, AppWorld, SWE-bench Lite, Mind2Web Replay: +37% over the best runtime-intervention baseline on average (up to +77% on WebShop), +39% over ACE; ACE+Sentry combined performs best overall, with task-level and failure-level learning as complementary. Learned lessons transfer to held-out tasks; controlled experiments confirm exposing the full playbook hurts even when relevant lessons remain available on demand. CC BY 4.0 license. Directly relevant to the user's agent app (memory design: storing knowledge is easy, deciding when the agent sees it is what matters) and to Launch Helm's intervention/control angle.",
      "url": "https://arxiv.org/abs/2610.02994",
      "authors": [
        "Changxiu Ji",
        "Amy Lu",
        "Qizheng Zhang",
        "Kunle Olukotun"
      ],
      "tags": [
        "sentry",
        "agent-failure-recovery",
        "test-time",
        "ace",
        "stanford",
        "playbook",
        "verifier"
      ],
      "venue": "arXiv 2610.02994 [cs.LG], submitted 2 Oct 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1272",
      "markdown": "https://papers.projxon.ai/entries/1272.md",
      "api": "https://papers.projxon.ai/api/entries/1272"
    }
  ]
}
