Explore the research collection
539 entries · showing 217–240 · Follow this search
- Code
Sparse Weight Decomposition for Efficient Circuit Extraction
Veri-Safe SWD reference implementation. Factorizes pretrained dense linear maps (GPT-2 Small mlp.c_proj, Qwen2.5 0.5B/1.5B/3B down_proj, Qwen3.5-27B, full GPT-2 MLP and all 48 body projections) via Double Sparse Factorization so replacement CE stays near dense (e.g. GPT-2 L8 c_proj s=0.5: CE delta 0.000889 on 16,384 tokens; Qwen3.5-27B s=0.5: −0.000427). Pipeline: activation-Gram → DSF → fixed-support recovery → CE/KL/recon, task-margin attribution, mean ablation, sufficiency/necessity frontiers vs Transcoder/VPD baselines. Factor-only checkpoints on HF veri-safe/SWD (~1.16 GB usedStorage) plus SWD-Qwen2.5-3B (Qwen Research License). Discord posted the HF Spaces blog veri-safe/SWD-Blog. Apache-2.0. No FineWeb text redistributed.
- Paper
NVIDIA-labs OO Agents: Native Python Object-Oriented Agents
NOOA (cite nvidia_oo_agents_2026; arXiv 2607.20709). Agent = class; methods = capabilities; fields = state; docstrings = prompts; types = contracts. Ellipsis bodies run LLM loops (Predict or CodeAct); real bodies stay deterministic Python. Six interface ideas vs 14 harnesses. Capability suite 88 tests × 10 models: 97.9% pass. SWE-bench Verified: 82.2% GPT-5.5 xhigh at ~28 calls / ~1.1M tokens vs OpenCode 78.6% / PI 78.2% at more tokens (published SOTA 79.2% at submission). Terminal-Bench 2.0 73.0% GPT-5.5 high. CyberGym L1 86.8% GPT-5.5, network blocked, top open-source. ARC-AGI-3: one 45–50-line world-model skill; GPT-5.5 50.2% RHAE, GPT-5.6-sol 85.1% at ~$13.3/game (raw Sol 13.3%); memory +11.8 vs file notes. Discord posted the NVIDIA developer blog. Research preview; execute model code in-process — sandbox with OpenShell/container.
- Paper
HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
NeurIPS 2024 (cite Gutiérrez et al.; arXiv 2405.14831). Hippocampal indexing: LLM extracts a schemaless KG (neocortex), Personalized PageRank spreads activation from query entities (hippocampus) for single-step multi-hop retrieval. Up to +20% vs then-SOTA RAG on multi-hop QA; single-step HippoRAG matches or beats iterative IRCoT at 10–30× cheaper and 6–13× faster; combining them helps further. Also handles integration scenarios existing RAG misses. Discord/X is a 2026 hype recap by @N01ennn quoting their “How to be a Memory Engineer” X article (Stanford/Microsoft/Anthropic/Nvidia lenses); the substantial artifact is this 2024 paper. MIT code OSU-NLP-Group/HippoRAG. OSU + Stanford.
- Model
DSpark for DeepSeek-V4-Flash-0731 GGUFs
Unsloth 2026-08-06 enablement. DeepSeek-V4-Flash-0731 is 284B/13B-active MoE, 1M context, QAT MXFP4 experts. Unsloth UD-Q8_K_XL is bit-exact vs official weights (KL~0, 100% top-token). DSpark (arXiv 2607.05147; llama.cpp PR 25784) is a draft-model speculative decoder claimed superior to naive MTP; Unsloth ships Q8_0 and BF16 drafter GGUFs. Tweet: ~1.4–2× faster, up to 120 tok/s, no accuracy change. Docs recommend --spec-type draft-dspark --spec-draft-n-max 3 (~1.9×); ~10 GB extra RAM. Auto-on in Unsloth Desktop. Also improved V4 chat jinja (reasoning_effort, tool-call reasoning_content) over 4000 conversations vs official baseline. Distinct from the base DeepSeek release.
- Code
SIE: Superlinked Inference Engine
Apache-2.0 inference server (superlinked/sie). Argument: agent pipelines now run 4–5 small models, but one-server-per-model (vLLM + TEI + FastAPI wrappers) bills idle GPU time. SIE puts encode()/score()/extract()/generate() behind one API, loads models on first request, and evicts LRU so one GPU rotates the set. Catalog ~112 models with packaged serving configs. Plugs into Qdrant/Weaviate/Chroma/LanceDB/LangChain/LlamaIndex; OpenAI-compatible URL. Discord/X is Akshay Pachaar’s recap plus X article “How to serve 5 models on one GPU” walking a flood-insurance claim through Docling, GLiNER2, bge-reranker-v2-m3, Grounding DINO, and Qwen3.5-4B. pip sie-server[local]. Python.
- Model
BTL-4
Bad Theory Labs BTL-4: 35B Qwen3.5 MoE (~2.1B active) finetuned from Ornith-1.0-35B on trajectories whose code actually ran and passed tests. Vendor: SWE-bench Verified 78.4%; BFCL v4 AST 73.5% (+4.3 over base, paired, 1240 cases); LiveCodeBench v6 66.1% (easy 99.1 / medium 86.7 / hard 60.5; 442 problems; 16K→32K output budget +5.2). Native 262K context. Compact is one 9.96 GB GGUF at 2.30 bpw for a 16 GB card; tweet claims KV ~20 KB/token so 262K still fits. Per-group clip search (12 s, no calib data) moved 2-bit behavioural retention 77.1%→95.8%; Compact reproduced 111/118 full-precision gate behaviours (94.1%). Stock llama.cpp/Ollama/LM Studio. Apache-2.0. Companion Macaw 2.7B is a separate Mac agent, not this row.
- Other
Prime Agent: A Self-Improving RLM Harness
Prime Intellect launch blog (cite primeintellect2026primeagent). Recursive Language Model: one tool, a persistent IPython kernel; context lives in named Python objects and sub-agents are await rlm(...) calls that return at admission, with later replies via agent_message. Continual Harness H=(ρ,G,K,M) exposes CRUD over prompts, sub-agents, skills, and memory; /refine applies small evidence-backed edits without touching the immutable base prompt. Daemon owns sessions so you can detach/reattach. Opus 5 in Prime Agent reports 95.5% RHAE Best@1 on ARC-AGI-3 (above the 95.4% human-expert baseline; three-run [95.0, 95.2, 95.5], 99.97% Best@3, 183/183 levels). Competitive vs Claude Code/Codex/Pi-mono on OOLONG/LongBench/EmulatorBench with GLM-5.2. Factorio FLE case study: /refine raised production score into 100K+ but also turned RCON cheats into skills. MIT. Built on pi. Full technical report promised later.
- Model
Inkling: open-weight controllable-effort multimodal MoE
Inkling (released 2026-07-15): 66-layer decoder-only MoE, 975B total / 41B active (6-of-256 experts + 2 shared), hybrid local/global attention, native text/image/audio in, text out, 1M context. Sibling Inkling-Small 276B/12B. Apache-2.0 weights on HF. Distinctive RL: Reward = task reward − λ × (# reasoning tokens), with λ and effort-instruction varied across rollouts so the model learns to spend thought rather than maximize it; inference effort is a continuous 0–0.99 knob. Model-card highlights at effort=0.99 include HLE text 29.7% / tools 46.0%, AIME 2026 97.1%, GPQA Diamond 87.2%, SWE-bench Verified 77.6%. Discord post is Vipul Gupta’s note of that RL trick, not a TML thread.
- Code
VBR: Variable Bit-Rate KV Cache for llama.cpp
spiritbuun llama.cpp fork (buun-llama-cpp) ships VBR as the default KV cache. Cache starts FP16 and degrades one (layer, side) tensor at a time down a price-ordered ladder (f16 → turbo8 → turbo4 → turbo3_tcq → turbo2_tcq → turbo1_tcq) using TurboQuant/TCQ codecs, following per-model KLD degrade tables. Default implicit VBR floors at turbo4; explicit -ct vbr opens the full ladder to t1. Budget is leftover VRAM after weights/compute; -c caps context so the budget is spent on quality instead of max length. CUDA-first with ROCm/HIP mirror. Related to TurboQuant (papers_local 606/640) but this is a dynamic controller, not a new codec paper.
- Model
Mach-1 Additive 35B
Syzygy product launch. Compresses Qwen 3.6 35B into ~1.7 bpw additive/trellis weights (~7 GB, up to 120 tok/s on consumer laptops). Vendor claim: 95% mean retention vs the BF16 teacher across 12 agentic and reasoning benches (vs Ternary Bonsai 93.6% and Gemma 4 Q2_K_XL 85.6% on the same set; some comparator rows are borrowed). Unlike BitNet, they claim under 15 GPU-hours of retraining and a path to 3T-scale compressed models. Browser demo plus Mach Studio desktop (Apple Silicon beta) and an agent harness. Weights on HF SyzygyResearch/Mach-1-Additive-35B (Apache-2.0).
- Other
OpenEnv Integration for Training LLMs with Environments
Living TRL docs (main). White-box path: environment_factory plus GRPOTrainer auto-discovers public tool methods, runs the multi-turn loop, and reads env.reward (Echo, Wordle, multi-env Wordle+Catch). Black-box/harness path (experimental): HarnessRolloutWorker plus AsyncGRPOTrainer lets a production agent such as opencode own planner, tools, and stop condition inside an OpenEnv ResourceSession; a transparent_proxy records token ids and logprobs; verify() plus optional rollout_reward_fn / train_turn_fn / agent_turn_fn score the outcome and filter turns. Reference script examples/scripts/openenv/opencode.py on agentica-org/DeepCoder-Preview-Dataset; sibling HF-sandbox script for multi-node rollouts. OpenEnv itself is Gymnasium-style step/reset/state with Hub-hosted Spaces. Discord posted the opencode harness hash.
- Other
Photon 2.0: Inference engine for Physical AI
Moondream launch blog (2026-08-03). Argument: chat engines (vLLM/SGLang) optimize large-batch tokens/s, while robots/cameras need low concurrency, tight p99, and several models sharing a GPU. A proprietary compiler traces the forward pass and emits one megakernel so the GPU runs the whole inference without CPU launch chatter. First matrix: Moondream 2/3, Qwen3.5/3.6 0.8B–9B, Gemma 4 E2B/E4B on NVIDIA H100. Matched ChartQA streams: Photon beats vLLM and SGLang on every batch 1/2/4/8 throughput test and on cold start. pip install moondream; md.photon("Qwen/Qwen3.5-4B"). Engine Apache-2.0 and megakernels free to run; compiler closed. Discord/X is vikhyatk quoting the company thread.
- Code
MoonEP: A Perfectly Balanced Expert Parallelism Library via Dynamic Redundant Experts
Moonshot MIT EP communication library (Kimi K3 Open Day, with FlashKDA and AgentEnv). Hard invariant: every EP rank receives exactly S×K tokens regardless of router skew. An on-GPU planner duplicates a small set of experts from the current routing, prefetches their weights, and reduces duplicated grads back to home ranks. Zero-copy permute/unpermute writes tokens straight into expert-grouped remote buffers; static S×K shapes drop per-layer host sync and stop the fragmentation that OOMs DeepEP under imbalance. On H20 EP=8 vs DeepEP v2, comm time stays nearly flat as maxvio grows while DeepEP degrades, and e2e iteration time stays flat. Training prefetch slots B=E/R; inference can use B=3–4. NVIDIA GPU; Zhenwu PPU listed as coming. Cite moonep2026.
- Other
Shard: getting to 10x KV cache compression
Engineering writeup of Shard, a drop-in HuggingFace Cache. Reimplementing TurboQuant stalled around 4-6x; authors split K and V: undo RoPE then PCA+int4 on K (rank 192/1024, DP bit allocation with a 4x drop penalty) and Hadamard + 4-d vector quantization on V. Attention scores run on int4 PCA coeffs via a relative-Delta RoPE identity; V Hadamard is applied after the weighted sum. 4 FP16 sink tokens + 64-token recency window. Decode stream uses data-oblivious Hadamard+Lloyd-Max (8-bit path 750/750 FP16 match at 150 tokens). Llama-3.1-8B: 10x at 8K / 11.2x at 32K, NIAH recall 1.000 across 4K-32K, LongBench-E avg 16.19 vs FP16 16.24, WikiText-2 PPL +0.26%. Decode throughput 0.39-0.49x FP16, so a memory win not a latency win. Code krish1905/shard.
- Paper
Advancing Mathematics Research with AI-Driven Formal Proof Search
Google DeepMind AlphaProof Nexus: agents that edit Lean sketches (EVOLVE-BLOCK/VALUE) with Gemini 3.1 Pro, compiler feedback, optional AlphaProof tree-search, and an AlphaEvolve-style evolutionary population with Elo-rated incomplete sketches. Full-featured agent solved 9/353 formalized Erdős problems (including 1970 #12 variants and 1996 #125) at a few hundred USD per solve, proved 44/492 autoformalized OEIS conjectures, and was deployed on anchored GDA convergence, bipartite reconstruction, Zanello log-concavity, Green #57, and quantum-optics GHZ constructions. Post-hoc, a basic Ralph-loop agent also solved all 9 Erdős items, cheaper on easy ones and costlier on hard ones; Codex GPT-5.5 solved 7/9; Claude Code Opus 4.7 solved 0/9. Lean proofs released; agent code not public.
- Paper
HRM-Text: Efficient Pretraining Beyond Scaling
Sapient Intelligence 1B Hierarchical Recurrent Model for language: slow H-module and fast L-module (2 H cycles x 3 L updates = 8 steps / 4 effective recursions), MagicNorm, warmup deep credit assignment (K=2 to K=5), sigmoid-gated attention, RoPE. Trains only on instruction-response pairs with response-only NLL and PrefixLM bidirectional prompt attention. 40B unique / 60B training tokens, ~$1500, 1.9 days on 16 H100s. Reports MMLU 60.7, ARC-C 81.9, DROP 82.2, GSM8K 84.5, MATH 56.2; competitive with several 2-7B open models at 96-432x less estimated compute and 100-900x fewer tokens. Ablations: HRM beats FLOP-matched Transformer/looped/RINS; task-completion + PrefixLM each move the needle. Discord post is a third-party ablation read (huskydogewoof) of Table 3/4, not the authors.
- Paper
Efficient Agentic Reasoning Through Self-Regulated Simulative Planning
SR2AM (Self-Regulated Simulative Reasoning Agentic LLM) decomposes agent deliberation into reactive execution (System I), simulative planning with the LLM as world model (System II), and a configurator that chooses whether to plan, continue, or skip (System III). Two instantiations: v0.1 records a multi-module prompted teacher (o4-mini); v1.0 reconstructs structured plans from DeepSeek-V3.2 traces. Both use SFT then GRPO. SR2AM-v0.1-8B (from Qwen3-8B) overall Pass@1 57.0, competitive with 120-355B tool-using systems; v1.0-30B (from Qwen3-30B-A3B-Thinking-2507) 71.3 Pass@1 with 25.8-95.3% fewer reasoning tokens than similar-scale agentic LLMs. RL lengthens plan horizon +22.8% while planning frequency grows only +2.0 pp. Code sailing-lab/sr2am.
- Paper
Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations
Anthropic Transformer Circuits method (May 2026). An activation verbalizer maps a target residual to text and an activation reconstructor maps that text back; both are copies of the target LLM jointly trained with RL on reconstruction (FVE ~0.6-0.8) after a summarization warm-start. Explanations grow more informative over training on Haiku 3.5/4.5 and Opus 4.6. Used in Opus 4.6 / Mythos Preview audits: unverbalized evaluation awareness, language-switching traced to malformed SFT data, rhyme planning, and a hidden-motivation auditing game where NLA-equipped agents win 12-15% without training-data access vs <3% without NLAs. Limitations: confabulation of specifics, cost (two-model RL; hundreds of tokens per activation), single-layer reads. Open training code and NLAs for popular models; Neuronpedia demo.
- Paper
GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning
GEPA (Genetic-Pareto; ICLR 2026 Oral). For a compound LLM system, sample traces, reflect with an LM on textual feedback (compiler errors, missed gold docs, constraint fails), mutate one module’s prompt, keep the candidate if the minibatch improves, and parent-sample from the instance-wise Pareto front instead of always mutating the global best. On Qwen3 8B across HotpotQA/IFBench/HoVer/PUPA/AIME-2025/LiveBench-Math: +9.62 pp vs baseline vs GRPO +3.68 pp at 24k rollouts, using ~4–35× fewer rollouts (aggregate ~3936). Also beats MIPROv2; GPT-4.1 Mini aggregate +12.19 pp. Code MIT gepa-ai/gepa; first-class dspy.GEPA. Discord post is Akshay Pachaar’s April 2026 X article “How to Beat GRPO Without Touching Model Weights” (DSPy cookbook; claims Berkeley beat GRPO by 10 points with 35× fewer rollouts).
- Paper
OvisOCR2 Technical Report
Alibaba ATH-MaaS compact document parser (cite lu2026ovisocr2): Qwen3.5-0.8B post-trained with a real+synthetic HTML-aligned data engine, then SFT, GRPO on a 4B teacher with text/formula/table rewards (edit distance, CDM, TEDS), on-policy distillation into 0.8B, and model soup. Given a page image, emits Markdown in reading order covering text, LaTeX, HTML tables, and visual-region bbox tags. OmniDocBench v1.6 overall 96.58 (first end-to-end to top a leaderboard long led by pipelines; PaddleOCR-VL-1.6 96.33). PureDocBench Avg3 75.06. In-house >1k pages overall 85.54; handwriting 72.28; complex-table missing rate 7.96% vs pipelines 13–17%. Apache-2.0 weights ATH-MaaS/OvisOCR2; inference via vLLM 0.22.1. Discord post is Zhidongxi news, not the authors.
- Code
PageIndex: Vectorless, Reasoning-based RAG
VectifyAI open-source vectorless RAG: build a JSON table-of-contents tree (node_id, title, page range, summary, sub_nodes) and let the LLM reason which section to read next, following in-document references instead of embedding similarity. Aimed at long structured docs (SEC filings, legal, manuals). Mafin 2.5, a PageIndex-powered financial RAG, reports 98.7% on FinanceBench (full set) vs typical vector RAG ~30–50% in the authors’ writeups. Ecosystem: OpenKB, ChatIndex, ConDB, pageindex-mcp; hosted chat/API at pageindex.ai. MIT. Discord post is a third-party Simplifying AI recap, not the authors.
- Model
J-space analysis of Inkling: one geometry across the stack
Prime Intellect replication of Anthropic Jacobian-lens / J-space geometry on open models. Inkling (thinkingmachines/Inkling-NVFP4, ~950B MoE) is an outlier vs the usual near-orthogonal sensory/workspace/motor split: early-late CKA ~0.8 vs ~0.5 elsewhere, i.e. roughly one geometry across the stack. Fit used 250 WikiText prompts and 65 source layers (vs Neuronpedia’s typical 1000). Companion A/B on Poolside Laguna XS 2.1 bf16 vs NVFP4 (200 shared prompts, bit-identical probes): quantization barely moves J-space. Interactive CKA explorer plus open-jlens-data (runs/E7_inkling, E8_laguna). Distinct from the Inkling weights themselves (papers_local 656). Underlying method paper Gurnee et al. Verbalizable Representations Form a Global Workspace (transformer-circuits.pub/2026/workspace).
- Other
Flash-MSA: Accelerating Million-Token Training With Sparse Attention Kernels
Flash-MSA implements MSA training (proxy block-sparse attention + fused proxy/main backward with an atomic KL trick so proxy grad = p_proxy − p_main) in CuTeDSL for H100/B200, CUDA 13. Tweet claims 400%+ speedup vs dense flash at long context. Warmup kernels run dense flash then train the proxy in the backward. Correctness vs eager PyTorch cosine sim typically ≥0.998. Requires adding kernel KL loss to CE. Inference kernels remain MiniMax-AI/MSA.
- Dataset
Reducing Doom Loops with Final Token Preference Optimization
Antidoom mines the first token of a detected loop (≥4 repeats, ≥60 chars), then trains LoRA with Final Token Preference Optimization (FTPO): one rejected token vs up to 20 chosen alternatives, logit-space KL, two-part regularization. Early LFM2.5-2.6B: 10.2%→1.4% doom-loop rate; Qwen3.5-4B greedy: 22.9%→1%, with eval gains attributed to fewer loops. Early-stop at chosen_win≈0.35. Prompt mix LiquidAI/antidoom-mix-v1.0 (478,229 rows) used to elicit loops. Enrichment (2026-11-03 re-share; page updated 2026-10-27): the post's three-mechanism anatomy - (1) overtrained high-prior tokens become fallbacks under uncertainty (loop-starting tokens in the LFM2.5-2.6B checkpoint: ' the' 11.4%, ' So' 4.5%, 'Alternatively' 3.2%, 'Wait' 2.6%, ' But' 2.5%); (2) each repetition self-reinforces toward probability 1, with semantic repetition preceding textual repetition (Duan et al.); (3) low-temperature decoding has no exit, and looping persists even at temp 0.67 once saturation sets in. Recipe detail: LoRA rank 128-256 over all attention/MLP projections plus lm_head, LR 4e-6 to 2e-5, one epoch; about 1 hour on 8x MI325 to generate 20K pairs and 1-2 hours on 1x MI325 to train; overtraining creates NEW loop points, and multiple Antidoom rounds help because each round exposes new loop-starting tokens. Notable secondary finding: after de-looping, the temp=1.0 sampling advantage disappears and near-greedy decoding wins - the authors suggest the 'higher temperature helps reasoning' heuristic was partly a doom-loop artifact. Cross-reference: the same reasoning-loop failure in Qwen3.5-0.8B was fixed without any training in ID 1798 by deleting a weight direction; Antidoom is the training-side counterpart, positioned against inference-time repetition_penalty (degrades performance) and anti-repetition RL (rollout-expensive).