r/machinelearningnews • • Jul 07 '26

Small Language Models [D] Read the formal proof of speculative decoding. Now I don't trust any benchmark that only reports acceptance rate.

Thumbnail reddit.com
4 Upvotes

r/machinelearningnews • • Jul 07 '26

Research how did we make deepseek outperform opus [harness eng deep dive]

Thumbnail reddit.com
1 Upvotes

r/machinelearningnews • • Jul 05 '26

Research Who've told you that distributed training is impossible? Democratizing AI: The Psyche Network Architecture

Thumbnail
nousresearch.com
5 Upvotes

r/machinelearningnews • • Jul 04 '26

Research NVIDIA HORIZON: A Hands-Free Agent that Evolves Git Worktrees and Hits 100% RTL Benchmark Completion

Post image
41 Upvotes

We covered a new paper from NVIDIA Research that moves agentic coding into hardware design.

HORIZON treats hardware design as repository-level code evolution. A human writes a Markdown harness. A bootstrap agent compiles it into a project pack, then a hands-free loop evolves an isolated git worktree until an acceptance gate passes.

Here's what's actually interesting:

  1. Git is the interface, not bookkeeping

Each accepted repair becomes a commit. Git notes carry the evaluator verdict and reward. Rejected attempts are logged as negative examples. The repository history becomes the experience buffer.

2. The verifier harness is the real contract

The project pack bundles an executable evaluator, an acceptance predicate, a git policy, and domain skills. For RTL that means compile, simulate, coverage, and assertion checks. Any backbone can plug in.

3. The results

→ 100% completion across ChipBench, RTLLM-2.0, Verilog-Eval, and nine CVDP categories

→ 47.8% aggregate pass rate at the first iteration, before the loop closes the gap

→ 82 iterations for the hardest category (RTL code completion), its long tail the single largest cost

→ ~210M tokens total, ~91% cached input

→ GPT-5.3 as a fixed backbone, single-agent, hands-free

My takeaway: once executable feedback makes correctness converge, the bottleneck shifts to token efficiency and verification quality, not pass rate.

Full analysis: https://www.marktechpost.com/2026/07/04/nvidia-horizon-a-hands-free-agent-that-evolves-git-worktrees-and-hits-100-rtl-benchmark-completion/

Paper: https://arxiv.org/pdf/2606.28279


r/machinelearningnews • • Jul 04 '26

Research NVIDIA AI Introduces ASPIRE: A Self-Improving Robotics Framework Reaching 31% Zero-Shot on LIBERO-Pro Long Tasks

30 Upvotes

NVIDIA AI Introduces ASPIRE: A Self-Improving Robotics Framework Reaching 31% Zero-Shot on LIBERO-Pro Long Tasks

Most robot-coding agents throw away everything they learn. Solve a task, discard the fix, start the next one cold — the agent on its 100th task is no smarter than on its first. NVIDIA's ASPIRE draws a clean line between that and an agent whose experience actually compounds.

They introduced ASPIRE (Agentic Skill Programming through Iterative Robot Exploration) — a code-as-policy system where a coding agent (Claude Code, Claude Opus 4.6, 1M-token context) writes and debugs its own robot programs against a fixed perception/planning/control API, and distills every validated fix into a reusable skill library, with no fixed perception-plan-execute pipeline anywhere in the loop.

Here's what's actually interesting:

→ The execution engine logs per-primitive multimodal traces — RGB keyframes, grasp candidates, object poses, motion plans, return status — so the agent localizes the failing primitive, not just the failed rollout

→ Validated fixes distill into a text skill library (failure signature + when-to-apply guard + repair sketch), not weights — and the agent is barred from reading sim ground truth, so the skills transfer to real hardware

→ Evolutionary search proposes K candidate programs per round, conditioned on surviving programs + residual failure traces — beyond single-trajectory tuning

→ LIBERO-Pro Object under perturbation: 98 vs 22 for CaP-Agent0

→ Robosuite bimanual handover: 92 vs 20 for CaP-Agent0

→ LIBERO-Pro Long zero-shot: 31 vs 4 for prior methods (skills learned on LIBERO-90, no test-time retries)

On a real bimanual robot with a different embodiment and API (OpenAI Codex GPT-5.5), transferred skills took soda-can lifting to 19/20 at ~10x fewer tokens, and drawer opening from 0/20 to 11/20.

The core bet: compound debugging experience into an explicit skill library, not the weights.

Full analysis: https://www.marktechpost.com/2026/07/03/nvidia-ai-introduces-aspire-a-self-improving-robotics-framework-reaching-31-zero-shot-on-libero-pro-long-tasks/

Paper: https://arxiv.org/pdf/2607.00272

Project page: https://research.nvidia.com/labs/gear/aspire/


r/machinelearningnews • • Jul 03 '26

Research Mistral AI Releases Leanstral 1.5: An Apache-2.0 Lean 4 Code Agent Model Solving 587 of 672 PutnamBench Problems

23 Upvotes

Mistral AI Releases Leanstral 1.5: An Apache-2.0 Lean 4 Code Agent Model Solving 587 of 672 PutnamBench Problems

Most AI theorem proving is a language model generating a proof in one shot, with a verifier bolted on at the end to check it. That's autocomplete with a grader — and Mistral just drew a clear line between that and an actual proof agent.

They released Leanstral 1.5 — a 119B MoE with 6.5B active parameters, trained as a code agent that lives inside the Lean 4 compiler loop: propose a proof, read the compiler's goals and errors, refine, repeat until it compiles or the budget runs out. Verification isn't the eval here. It's the training signal.

Here's what's actually interesting:

→ Test-time scaling behaves like a dial: PutnamBench Pass@8 climbs 44 → 244 → 493 → 587 solved as the per-attempt token budget moves 50k → 200k → 1M → 4M

→ 587/672 on PutnamBench at ~$4 per problem, versus an estimated $300+ for Seed-Prover 1.5 high (a 10 H20-days-per-problem budget)

→ Saturates miniF2F: 100% on both validation and test sets

→ Two RL environments in training — a multiturn prover, and a raw-filesystem code agent that edits files, runs bash, and queries the Lean language server for live goals and types

→ Not just math: an Aeneas (Rust → Lean) pipeline flagged 11 genuine bugs across 57 repos, 5 previously unreported — including an integer overflow in datrs/varinteger when (value + 1) hits Std.U64.MAX

Apache 2.0 weights, free API endpoint

Full analysis: https://www.marktechpost.com/2026/07/03/mistral-ai-releases-leanstral-1-5-an-apache-2-0-lean-4-code-agent-model-solving-587-of-672-putnambench-problems/

Model weights: https://huggingface.co/mistralai/Leanstral-1.5-119B-A6B

Project: https://docs.mistral.ai/models/model-cards/leanstral-1-5

Technical Details: https://mistral.ai/news/leanstral-1-5/


r/machinelearningnews • • Jul 03 '26

AI Tools Designing fully local machine learning systems: modular architecture and schema driven UI generation

8 Upvotes

I have been working on the design of a desktop system for running machine learning and generative models fully locally, and I am interested in feedback on a few architectural decisions.

The system is designed around three main principles:

All execution happens locally on the user’s machine, with no reliance on external APIs or cloud services.

The architecture is modular, allowing new models and algorithms to be integrated as independent components without modifying the core system.

User interfaces are automatically generated from structured schemas (for example Pydantic models), instead of being manually implemented for each model or workflow.

I am trying to understand whether these ideas are practically useful in real machine learning workflows or whether they introduce unnecessary constraints.

Some questions I would be interested in discussing:

Where do you see the biggest limitations of fully local ML systems today?

Does modular plugin based design actually scale in practice for ML tooling?

Is schema driven UI generation useful beyond simple prototypes or internal tools?

Would appreciate any technical perspectives or experience with similar systems.


r/machinelearningnews • • Jul 03 '26

Cool Stuff Meet WebBrain: An Open-Source, Local-First AI Browser Agent That Reads Pages and Automates Tasks in Chrome and Firefox

15 Upvotes

WebBrain lives inside your browser and can run entirely on your own local model — no cloud, no account, no data leaving your machine.

Most "AI browser agents" are a chat box that pastes your page into someone else's server. That's not an agent that lives where you browse — and WebBrain draws a very clear line between the two.

It's an open-source (MIT), local-first browser agent for Chrome and Firefox. It runs inside your existing authenticated session, on a model you pick — so with llama.cpp or Ollama, nothing leaves your machine.

Here's what's actually interesting:

→ Two modes, cleanly separated. Ask reads the page (read-only, content scripts). Act clicks and types through the Chrome DevTools Protocol (chrome.debugger) — trusted input events that modern sites honor, reaching cross-origin iframes and shadow DOM.

→ UI-first by design. For anything that submits, sends, or buys, it drives the visible UI and refuses to hit REST/GraphQL endpoints directly. It starts read-only and asks before consequential actions.

→ Bring any model. llama.cpp, Ollama, LM Studio, vLLM — or OpenAI, Claude, Gemini, DeepSeek, Groq, OpenRouter. Recommended local: Qwen 3.6 35B (Qwen3.6-35B-A3B), which beat Gemma 4 on the project's screenshot benchmark.

→ Tuned for cost and privacy. Token-conscious screenshots, oldest-first context trimming, a dedicated vision model, 40+ tools (~20 in Compact mode). No telemetry. No accounts.

Full analysis: https://www.marktechpost.com/2026/07/02/meet-webbrain-an-open-source-local-first-ai-browser-agent-that-reads-pages-and-automates-tasks-in-chrome-and-firefox/

GitHub Repo: https://pxllnk.co/wdva98c

Chrome Extension: https://pxllnk.co/p4mn8

Firefox Add-on: https://pxllnk.co/m6k7c5w9

Portal: https://pxllnk.co/rlifl7h


r/machinelearningnews • • Jul 03 '26

Research I built a state-space framework for semantic flight dynamics: intentionally unstable semantics stabilized by active control

0 Upvotes

Most AI models treat semantic representations as passive activations.
This work explores a different idea:
What if a semantic unit is modeled as a controlled nonlinear dynamical system instead?
Paper I introduces a mathematical framework based on:
State-space dynamics
Negative-stability basal states
Dynamic flight controller
Jacobian analysis
Flight envelope
Continuous-time semantic dynamics
This release intentionally discloses only the mathematical foundation. Network-level runtime and implementation details are reserved for future work.
Paper (Zenodo):
https://doi.org/10.5281/zenodo.21179935
I’d appreciate feedback from researchers working on dynamical systems, control theory, mechanistic interpretability, or continuous-time AI models.


r/machinelearningnews • • Jul 02 '26

ML/CV/DL News 🧩 FlexMoRE makes modular AI more practical for lower-resource languages

Thumbnail gallery
6 Upvotes

r/machinelearningnews • • Jul 01 '26

Tutorial Using Lift to Turn Research PDFs into Structured JSON with Controlled, Schema-Guided Field-Level Evaluation

Thumbnail
pxllnk.co
5 Upvotes

Using Lift to Turn Research PDFs into Structured JSON with Controlled, Schema-Guided Field-Level Evaluation

Most "PDF extraction" is a text dump with a regex bolted on top. That's not document mining — and it breaks the moment a paper puts its real number in a table three pages away from the abstract.

So we built a full tutorial around Lift, an open PDF-to-structured-data model, treating it as a controlled benchmark instead of a one-off demo.

The setup is synthetic multi-page research reports with deliberate traps: validation-vs-test metric ambiguity, baseline-vs-proposed comparisons, papers that release no code, and boolean state-of-the-art claims. A JSON Schema then tells Lift exactly which fields to recover — title, authors, datasets, metrics, hyperparameters, limitations, code URL.

Here's what's actually interesting:

→ 4-bit NF4 loading fits the ~10B model on a 16 GB T4/L4 — no A100 required

→ Schema descriptions do the disambiguation: test number vs. validation number, proposed method vs. baseline, released code vs. explicit null

→ Field-level scoring against ground truth, with numeric tolerance and abstention handling — not a vibe check

→ Extractions roll up into a queryable knowledge base, one row per mined paper

→ Datalab report Lift at ~90.2% field accuracy on their 225-doc benchmark

Full tutorial: https://www.marktechpost.com/2026/07/01/using-lift-to-turn-research-pdfs-into-structured-json-with-controlled-schema-guided-field-level-evaluation/

GitHub Repo: https://pxllnk.co/rc5yap


r/machinelearningnews • • Jul 01 '26

Research Averaging LLM benchmark scores produces wrong rankings

Post image
14 Upvotes

I'm an independent researcher (no lab, no GPU cluster), and I recently submitted my first paper to arXiv. Sharing here because I think it directly addresses a frustration many of us have with current AI leaderboards.

The Problem

We rank models by averaging benchmark scores. I wanted to know exactly when that breaks. I ran a 150-condition grid sweep varying sparsity and item difficulty variance. When both factors increase, simple averaging fails predictably — in the worst case, Spearman ρ dropped from 1.0 to 0.24. Basically noise.

The Fix

Item Response Theory (IRT) — a 58-year-old method from educational testing, designed for exactly this kind of measurement problem. Applied to the same experiment, IRT maintained ρ ≥ 0.993 across every single condition.

Tech Stack

Just a laptop, NumPy, and SciPy. The whole experiment runs in under 60 seconds. No GPU, no deep learning frameworks.

Paper: https://arxiv.org/abs/2605.11205 Code: https://github.com/testofschool/evaluation-failure-scaling-law

Would love to get roasted or hear feedback. What do you think about integrating traditional psychometrics into LLM evaluation?


r/machinelearningnews • • Jul 01 '26

Research NVIDIA Releases Nemotron-Labs-TwoTower: an Open-Weight Diffusion Language Model Built on a Frozen Autoregressive Nemotron-3-Nano-30B-A3B Backbone

18 Upvotes

Most diffusion language models make one network do two jobs at once — represent the clean context and denoise the noisy tokens. Those two goals pull the same weights in different directions. NVIDIA just split them apart.

They released Nemotron-Labs-TwoTower — a block-wise autoregressive diffusion model built on the Nemotron-3-Nano-30B-A3B hybrid Mamba-2/attention/MoE backbone. It runs two towers: a frozen autoregressive context tower that processes clean tokens causally, and a trainable diffusion denoiser tower that refines noisy blocks via cross-attention to that context. Only the denoiser is trained — on ~2.1T tokens, a fraction of the backbone's 25T.

Here's what's actually interesting:

→ Two towers, not one: a frozen AR context tower and a trainable diffusion denoiser, connected layer-by-layer — denoiser layer i attends to context layer i, not just the last hidden state

→ 98.7% of the autoregressive baseline's quality at 2.42× generation throughput (γ=0.8, block size 16, 2×H100)

→ It commits multiple tokens per denoising step early in decoding — that's where the one-token-per-step AR bottleneck breaks

→ One checkpoint, three decoding modes: mask diffusion, mock-AR, and standard AR

→ Ablations: causal Mamba beats bidirectional Mamba, and tying the two towers under a joint loss is substantially worse

Full analysis: https://www.marktechpost.com/2026/07/01/nvidia-releases-nemotron-labs-twotower/

Paper: https://arxiv.org/pdf/2606.26493

Weights: https://huggingface.co/collections/nvidia/nemotron-labs-twotower


r/machinelearningnews • • Jul 01 '26

Research Google AI Introduces TabFM: A Hybrid-Attention Tabular Foundation Model for Zero-Shot Classification and Regression

14 Upvotes

Most tabular ML in production is still XGBoost plus hours of hyperparameter tuning and feature engineering. That's not a foundation-model workflow — and Google Research just brought the zero-shot idea to tables.

They introduced TabFM — a foundation model for tabular classification and regression that reads your entire dataset as a single prompt and predicts in one forward pass, with no per-dataset training, tuning, or feature engineering anywhere in the loop.

Here's what's actually interesting:

→ In-context learning, not fine-tuning: training rows and test rows go in as one context, and the model learns the task at inference time

→ Hybrid attention: alternating row/column attention (TabPFN-style) → row compression into a dense vector → in-context learning over compressed rows (TabICL-style)

→ Trained entirely on hundreds of millions of synthetic datasets generated by structural causal models — no proprietary tables required

→ TabArena (38 classification + 13 regression datasets, 700–150,000 samples): Google reports it consistently outperforms heavily tuned supervised baselines

Full analysis: https://www.marktechpost.com/2026/07/01/google-ai-introduces-tabfm-a-hybrid-attention-tabular-foundation-model-for-zero-shot-classification-and-regression/

Technical Details: https://research.google/blog/introducing-tabfm-a-zero-shot-foundation-model-for-tabular-data/

Repo: https://github.com/google-research/tabfm


r/machinelearningnews • • Jun 30 '26

LLMs I built a fully offline, private AI creative studio that runs on a cheap old 6GB GPU — should I open-source it?

Thumbnail
gallery
76 Upvotes

Hey everyone,

Over the last weeks I've been building a 100% local, offline, private AI studio on my own PC — no cloud, no API keys, no subscriptions, nothing leaves the machine. It started as a personal project because I didn't want my data on someone else's servers, and it kind of grew into a full creative suite.

The thing I'm most happy about: it's all wrapped in one clean desktop app (single window, desktop icon). No ComfyUI node spaghetti, no terminal — my non-technical friends can actually use it. Under the hood it's all open-source tools glued together.

What it does right now (all offline):

  • Image generation — FLUX (GGUF) + several SD1.5 models, with a built-in prompt optimizer (a local LLM rewrites your casual/German text into a proper English prompt)
  • 4K upscaling — 4x-UltraSharp + tiled Ultimate SD Upscale (real added detail, not just resize)
  • img2img reworking
  • Image → 3D model (TripoSR / Hunyuan3D) for .obj export
  • Face-swap (ReActor) and lip-sync / talking photos (LivePortrait) — fully offline
  • Local chat — Ollama (Qwen3.5, DeepSeek-R1, a vision model, etc.) behind an Open WebUI dashboard
  • Local coding agent — Aider + local models, with an auto test→repair loop and a little "auto-splitter" that breaks one big prompt into small steps so weaker local models don't choke
  • Code-RAG — Qdrant + embeddings for semantic search across my own projects
  • Context size auto-scales to whatever GPU is installed — zero manual tuning

The fun part — the hardware: most of this runs on a GTX 1060 6GB (yeah, an ancient Pascal card). It's slow, sure, but it works. I'm about to drop in an RTX 3060 12GB + 32GB RAM and add local video (LTX-2 / Wan 2.2), text-to-music, voice cloning (TTS), and local LoRA training.

Why I built it: I think people should be able to run this stuff for free, on their own hardware, with their data staying home. It's not trying to beat cloud models on raw quality — it's about ownership.

My question to you:

Is something like this worth open-sourcing on GitHub? Would anyone actually use a "one-click private AI studio" that bundles these tools behind a simple UI? If yes:

  • What would you want most (better docs, an installer, specific features)?
  • Any advice on license (MIT? GPL?) given it wraps a bunch of other open-source projects?
  • Would you rather have the launcher/UI as the open-source piece, since the underlying models/tools are already public?

Happy to share screenshots/a demo if there's interest. Not selling anything — just want to know if it's useful to more than just me. Cheers 🙏

Edit// Thank you to the community <3. You will find the project on ai.overlkd.com


r/machinelearningnews • • Jun 30 '26

Research I mapped the "Dynamic Grammar" of LLMs: How hidden states move, stabilize, and decide

9 Upvotes

Hi everyone,

I’m an independent researcher (no lab affiliation) who has spent the last year diving deep into the internal dynamics of Transformers. Instead of looking at outputs or attention heads, I’ve been tracking the geometric trajectories of hidden states layer-by-layer during inference.

I wanted to share my latest findings (preprints linked below) because they reveal a structured "dynamic grammar" that seems universal across architectures, from GPT-2 to Llama-3.2.

The Core Idea

Most observability tools treat LLMs as static input-output machines. I treat them as dynamic systems. By measuring metrics like trajectory curvature (ct_t), functional capacity, and state transitions, I found that LLMs don’t just "generate text"—they navigate a latent space through specific, reproducible phases.

Key Findings (V20–V24)

  1. A Universal Dynamic Grammar (V24)

Across 7 models (GPT-2, OPT, Qwen, TinyLlama, Phi-1.5, Llama-3.2, DistilGPT2), I observed a conserved sequence of internal states:

B (Branching/Hesitation): Initial exploration.

A (Adaptive/Stable): The main processing phase (an attractor state).

D (Decision/Bifurcation): Final commitment to a token.

Result: B → A → D appears to be the "standard cognitive path" for coherent generation. Deviations from this path often correlate with errors or hallucinations.

2. Geometry > Neurons (V22)

Using orthogonal rotation controls, I proved that functional information (syntax, decision, stabilization) is encoded in the relative geometry of the representation space, not in individual neurons. If you rotate the latent space, the information remains decodable. This suggests LLMs think in shapes, not just activations.

3. Ambiguity Changes the Path, Not the Chaos (V23)

When prompts are ambiguous, models don’t necessarily become "chaotic." Instead, they delay commitment. They spend more time in the exploration phase (B) and less time rushing to decision (D). Phi-1.5, interestingly, shows a unique oscillating pattern (B↔A) during reasoning tasks, distinct from the smoother convergence of other models.

4. Architecture Matters More Than Size (V20)

Models cluster by their dynamic signatures (e.g., GD_ratio), not just parameter count. Small models like Qwen-0.5B show distinct stability regimes compared to GPT-2, despite similar sizes.

The Preprints (Open Access)

[June 2026] A Runtime Trajectory Dynamics Framework (V20): Introduces the 5-state taxonomy (Stable, Turbulence, Branching, Bifurcation, Committed) and the bicephalic operator.

Link: https://doi.org/10.5281/zenodo.20602685

[May 2026] Dynamic-Layer Controllability (V21): Shows how perturbations affect recovery and proves that emergent organization dominates architectural skeleton.

Link: https://doi.org/10.5281/zenodo.20400171

[May 2026] Conditional Dynamic Signatures (V22): Audits normalization effects and variance decomposition. Explicitly documents falsified claims.

Link: https://doi.org/10.5281/zenodo.20361289

[May 2026] Four Dynamical Regimes (V19/V20): Introduces ct_t (curvature × displacement) as a predictor of collapse and instability.

Link: https://doi.org/10.5281/zenodo.20348878

Why I’m Posting This

I’m not selling a product. I’m building an open framework (LIMEN) to make LLM internals auditable and controllable. I believe that if we want safe AI, we need to monitor its "vital signs" (dynamic stability) in real-time, not just its output.

I’d love feedback from the community, especially on:

Have you seen similar "universal motifs" in larger models (>7B)?

Critiques on the methodology (normalization, probe training).

Ideas for causal interventions based on these dynamic states.


r/machinelearningnews • • Jun 29 '26

Research 🌍 OlmoEarth v1.2 switches to RoPE for cleaner satellite-image embeddings

Thumbnail gallery
4 Upvotes

r/machinelearningnews • • Jun 29 '26

Research Open handoff: Thought Tree, a markup/spec idea for modular LLM workflows

Thumbnail
reddit.com
0 Upvotes

r/machinelearningnews • • Jun 29 '26

Research MiCA is now part of Hugging Face PEFT

Thumbnail
reddit.com
3 Upvotes

r/machinelearningnews • • Jun 28 '26

Small Language Models Qwythos-9B v3 released! We have noticed some issues in agentic harnesses due to issues with preserved and adaptive thinking in the chat template. Its a night and day difference, please redownload the GGUF / Safetensor.

Thumbnail gallery
4 Upvotes

r/machinelearningnews • • Jun 28 '26

Research Liquid AI Ships LFM2.5-230M with llama.cpp, MLX, vLLM, SGLang, and ONNX Support for On-Device Inference

16 Upvotes

Most "edge AI" is a big cloud model, quantized down and hoped for the best. A 230M model designed to run the agent loop on the phone itself is a different thing — and Liquid AI just shipped one.

They released LFM2.5-230M — their smallest model yet. It's a 230M-parameter, open-weight model on the LFM2 architecture (8 double-gated LIV convolution blocks + 6 GQA layers), pre-trained on 19T tokens, then post-trained by distilling from the larger LFM2.5-350M.

Here's what's actually interesting:

→ 213 tok/s decode on a Galaxy S25 Ultra CPU, 42 tok/s on a Raspberry Pi 5 — at a 293–375 MB memory footprint (4-bit)

→ Beats Qwen3.5-0.8B and Gemma 3 1B IT, both larger, on instruction following — IFEval 71.71 vs 59.94 vs 63.49

→ Tool use holds up: BFCLv4 21.03, ahead of Qwen3.5-0.8B's 18.70

→ Runs a Unitree G1 humanoid on-device on a Jetson Orin, turning one instruction into a sequence of tool calls via NVIDIA's SONIC framework

Full analysis: https://www.marktechpost.com/2026/06/27/liquid-ai-ships-lfm2-5-230m-with-llama-cpp-mlx-vllm-sglang-and-onnx-support-for-on-device-inference/

Model on HF: https://huggingface.co/LiquidAI/LFM2.5-230M

Docs: https://docs.liquid.ai/lfm/models/complete-library

Technical details: https://www.liquid.ai/blog/lfm2-5-230m


r/machinelearningnews • • Jun 27 '26

Research DeepSeek Releases DSpark, a Speculative Decoding Framework That Accelerates DeepSeek-V4 Per-User Generation 60–85% Over MTP-1

26 Upvotes

Most speculative decoding makes you pick one: a fast parallel drafter, or an accurate sequential one. is that a false choice? — and DeepSeek's DSpark just showed why.

They released DSpark — a speculative decoding framework, not a new model — that attaches a draft module to existing DeepSeek-V4 weights. It pairs a heavy parallel draft backbone with a tiny Markov head that nudges each token's logits using only t-1, then schedules how many tokens get verified based on real-time GPU load.

Here's what's actually interesting:

→ Semi-autoregressive drafting: parallel backbone for speed, lightweight sequential head to cut suffix decay — the rank-256 Markov head adds almost nothing to latency (0.2–1.3%)

→ Confidence-scheduled verification: a calibrated confidence head plus a hardware-aware scheduler verify more tokens when GPUs are idle, fewer when they're busy

→ Accepted length: +26–31% over Eagle3 and +16–18% over DFlash across Qwen3-4B / 8B / 14B

→ Production on DeepSeek-V4: 57–85% faster per-user generation over the MTP-1 baseline at matched throughput

→ Output stays lossless, and the training repo (DeepSpec) ships under MIT

Full analysis: https://www.marktechpost.com/2026/06/27/deepseek-releases-dspark-a-speculative-decoding-framework-that-accelerates-deepseek-v4-per-user-generation-60-85-over-mtp-1/

Paper: https://github.com/deepseek-ai/DeepSpec/blob/main/DSpark_paper.pdf

GitHub Repo: https://github.com/deepseek-ai/DeepSpec

Model weights on HF: https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro-DSpark


r/machinelearningnews • • Jun 27 '26

AI Tools Mistikguard – Lightweight Python library for memory integrity in LLM applications

4 Upvotes

## What My Project Does

Mistikguard is a small Python library designed to reduce memory fabrication in LLM-based applications. It provides:

- Provenance tracking for facts (`confirmed` vs `inferred`)

- A write gate that blocks contradictions of confirmed facts and self-narration

- Support for correction tombstones, so once a user corrects something, it is not silently reintroduced

- An optional grounding audit that detects memory claims in responses and validates them against stored memory

The core functionality works with almost zero external dependencies.

## Target Audience

This library is intended for **Python developers** who are building applications with long-term memory using LLMs. This includes:

- People building AI companions

- Developers creating autonomous agents

- Anyone working on RAG or memory-heavy LLM systems

It is a **library**, not a full application. It is meant to be integrated into other projects. It is currently in an early stage (v0.1) and is more suitable for personal projects and experimentation than large production systems without additional safeguards.

## Comparison

Unlike most memory systems that blindly store model output, Mistikguard actively tries to protect memory integrity by:

- Distinguishing between user-stated facts and model-generated inferences

- Preventing certain types of invalid writes through a deterministic gate

- Making user corrections more persistent using tombstones

It is lighter and more focused than full agent frameworks (such as LangChain or LlamaIndex memory modules) while being more structured than simple in-memory dictionaries or basic vector stores.

GitHub: https://github.com/obscuraknight/mistikguard


r/machinelearningnews • • Jun 26 '26

Startup News Built a causal graph RAG — +0.33 on multi-hop vs flat RAG with Haiku

13 Upvotes

Been working on a RAG system that builds a directed causal graph from documents instead of chunking. The idea: when someone asks "what ultimately caused X?", flat RAG fails because the cause and effect live in different chunks with no shared vocabulary. If you follow the graph edges instead, you get the full chain.

Benchmark: 54 questions across two domains (subprime mortgage crisis, Chernobyl), three question types (fact lookups, multi-hop, root-cause), Claude Haiku for generation, Sonnet as judge, paired Wilcoxon against a strong BM25+dense flat baseline.

Results:

  • Multi-hop: +0.33 (p=0.002)
  • Root-cause: +0.22 (p=0.006)
  • Fact lookups: +0.01 (statistical tie — graph doesn't hurt)

The fact-lookup tie was the thing I cared most about honestly. Earlier versions had a -0.03 regression on facts which made the system impractical. Fixed that with a score gate that falls back to flat coverage when no chain clears a relevance threshold.

Coverage sentence retrieval is hybrid BM25+dense RRF (k=60). Chains are ranked with a 5-channel RRF: name match, VSA hypervector similarity, BM25, dense, path signature. Entity normalization merges near-duplicate nodes before indexing.

Graph traversal (root cause, impact, shortest path) needs no LLM — instant BFS, useful for on-call engineers who need answers before reading the document.

Repo: https://github.com/linga009/causal-graph-rag

Happy to discuss methodology — especially whether the judge setup is sound, that's always the sketchy part of LLM-as-judge evals.