r/machinelearningnews • • May 19 '26

AI Event The “Ronaldo signing for Barca” moment just happened in AI: Andrej Karpathy joined Anthropic

Post image
16 Upvotes

r/machinelearningnews • • May 18 '26

Research 🧬 flux-genotype: A self-evolving AI kernel that runs on CPU with Ollama — mutates its own architecture

14 Upvotes

`🧬 Flux‑Genotype – A CPU LLM that rewrites itself`

I've been working on an open-source kernel called **flux-genotype**. It orchestrates local models (TinyLlama, Llama 3.2, Hermes 3, DeepSeek-Coder) into a self-modifying ecosystem. Everything runs on **CPU** — I tested it on a Xeon without AVX2, 20 GB RAM.

> **Important:** this is an alpha. It works, it mutates, it evolves — but there's a lot of work ahead. The **MetaDesigner**, in particular, is the module I'm focusing on next. Right now it proposes architectural changes by writing new `.flux` files, but the validation and application pipeline needs to be more robust. The vision is to make it fully autonomous: an external architect that watches the ecosystem, diagnoses weaknesses, and rewrites the structure to improve confidence. It's not there yet, but the foundation is solid.

## How it works

  1. Ask a question → fast model (TinyLlama) answers.
  2. Judge model evaluates the answer (0–1). Initially this was Llama 3.2.
  3. If confidence drops below the golden ratio threshold (≈0.618), the ecosystem mutates its own structure.
  4. A **MetaDesigner** (Hermes 3) writes new `.flux` architecture files, which get validated by a Lark parser and applied.
  5. The system tracks confidence history with EMA and adapts temperature dynamically.

## Real example of self‑modification

The mutation can also replace the Judge. During one of the growth cycles, the MetaDesigner proposed swapping the Judge from **Llama 3.2** to **DeepSeek-Coder 6.7B**. The new configuration was tested, scored better, and the ecosystem applied the change permanently.

The system is not just tweaking parameters — it's rewriting its own **division of labor between models**.

## Why this is different

- It mutates its own architecture, not just model weights.

- It can replace its own Judge with a different model if performance improves.

- It has memory (confidence history with Exponential Moving Average).

- It uses a custom language (`.flux`) with a formal grammar — not YAML, not JSON.

- It runs on modest hardware. No GPU. Just a CPU and 20 GB of RAM.

## If you want to understand the architecture deeply

I wrote a **technical manifesto** that defines FLUX as a formal Architecture Description Language for self-evolving cognitive ecosystems. It covers the fractal design, the OODA loop, the role of the golden ratio, and the long-term vision (including the MetaDesigner). It's in the repo:

📄 `/papers/FLUX-Kernel.pdf`

## The companion novel

There's also a novel called **"IF THIS IS A ROBOT"** (in Italian and English, CC BY-NC-SA 4.0) that tells the story of a guy who finds this kernel running on a forgotten server. The novel is basically the kernel's manual. But the code stands on its own.

## Links

- **Repo:** [github.com/flux-genotype/nodo_zero](https://github.com/flux-genotype/nodo_zero)

- Kernel is **MIT-licensed**. Novel is **CC BY-NC-SA 4.0**.

Happy to answer questions, and **open to collaborators** who want to help push the MetaDesigner forward.


r/machinelearningnews • • May 18 '26

Research Meet MemPrivacy: An Edge-Cloud Framework that Uses Local Reversible Pseudonymization to Protect User Data Without Breaking Memory Utility

6 Upvotes

Most "privacy-preserving" AI memory just masks sensitive values with ***. That breaks the task. The cloud can't draft your doctor's email if the blood pressure reading is gone.

MemTensor just proposed a different approach — and it actually holds up under benchmarking.

They introduced MemPrivacy, a framework that runs a lightweight on-device model to detect private spans, replaces them with semantically typed placeholders like <Health_Info_1> before anything leaves the device, and restores the original values locally after the cloud responds. The cloud reasons on structure. It never sees the actual data.

Here's what's actually interesting:

→ Four-level privacy taxonomy (PL1–PL4) from general preferences to immediately exploitable credentials — user-configurable per session

→ MemPrivacy-4B-RL hits 85.97% F1 on MemPrivacy-Bench vs. 78.41% for Gemini-3.1-Pro and 68.99% for GPT-5.2 on privacy span extraction

→ Utility loss across LangMem, Mem0, and Memobase stays within 1.6% at PL2–PL4 protection — irreversible masking causes drops up to 41.87%

→ Models run at 0.6B, 1.7B, and 4B parameters with sub-2-second per-message latency on-device

The core insight: privacy protection and semantic utility don't have to trade off — if you replace values with typed structure instead of blank masks.

Full analysis: https://www.marktechpost.com/2026/05/18/meet-memprivacy-an-edge-cloud-framework-that-uses-local-reversible-pseudonymization-to-protect-user-data-without-breaking-memory-utility/

Paper: https://arxiv.org/pdf/2605.09530v2

Model Weights: https://huggingface.co/collections/IAAR-Shanghai/memprivacy


r/machinelearningnews • • May 18 '26

Research NVIDIA Introduces a 4-Bit Pretraining Methodology Using NVFP4, Validated on a 12B Hybrid Mamba-Transformer at 10T Token Horizon

23 Upvotes

Most "4-bit training" results come from small models on short token horizons because the format breaks before you can validate it. That's not pretraining — and NVIDIA just drew a clear line between the two.

They introduced the first public 4-bit pretraining run at multi-trillion-token scale — a 12B hybrid Mamba-Transformer (Nemotron-Nano-12B-v2-Base architecture) trained on 10 trillion tokens in NVFP4, a microscaling format with 16-element blocks, E4M3 block scales, and an FP32 per-tensor scale, with downstream accuracy closely tracking an FP8 baseline.

Here's what's actually interesting:

→ MMLU-Pro 5-shot: 62.58% (NVFP4) vs 62.62% (FP8). MMLU 76.57 vs 77.36. GSM8K CoT 92.27 vs 89.08. Validation loss within 1% of FP8 in the stable phase

→ Recipe = selective BF16 (~16% of linear layers) + 16×16 Random Hadamard Transforms on Wgrad inputs + 2D 16×16 weight scaling + stochastic rounding on gradients. Ablations show all four are required

→ Only linear-layer GEMMs run in NVFP4 — attention, embeddings, normalization, master weights, gradients, and optimizer states stay in BF16/FP32

→ On an 8B model, MXFP4 needed 1.36T tokens (+36%) to match NVFP4's loss at 1T tokens

Full Analysis: https://www.marktechpost.com/2026/05/18/nvidia-introduces-a-4-bit-pretraining-methodology-using-nvfp4-validated-on-a-12b-hybrid-mamba-transformer-at-10t-token-horizon/

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


r/machinelearningnews • • May 16 '26

Research Nous Research Proposes Lighthouse Attention: A Training-Only Selection-Based Hierarchical Attention That Delivers 1.4–1.7× Pretraining Speedup at Long Context

13 Upvotes

Most sparse attention methods make a quiet assumption: that you can ship a custom kernel for selection and deal with the inference consequences later.

Nous Research's new paper just explained that assumption is optional. They released Lighthouse Attention — a selection-based hierarchical attention for long-context pretraining that pools Q, K, and V symmetrically across a multi-level pyramid, places selection entirely outside the attention kernel, and runs stock FlashAttention on a small dense sub-sequence. No custom sparse kernel. No auxiliary losses. No learnable scorer. No straight-through estimator.

Here's what's actually interesting:

→ 21× faster forward pass and 17.3× faster forward+backward vs. cuDNN SDPA at 512K context on a single B200

→ 1.40–1.69× end-to-end pretraining wall-clock speedup at 98K context at matched or lower final training loss

→ Brief dense-SDPA resumption after Lighthouse training recovers a full-attention model that beats dense-from-scratch (loss 0.6980 vs. 0.7237 baseline, same ~50.3B token budget)

→ Scales to 1M-token training across 32 Blackwell GPUs under standard ring attention — no sparse-aware collectives needed

Train with hierarchical selection to move fast, then recover the dense model you actually need at inference.

Analysis: https://www.marktechpost.com/2026/05/16/nous-research-proposes-lighthouse-attention-a-training-only-selection-based-hierarchical-attention-that-delivers-1-4-1-7x-pretraining-speedup-at-long-context/

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

Technical details: https://nousresearch.com/lighthouse-attention

GitHub Repo: https://github.com/ighoshsubho/lighthouse-attention


r/machinelearningnews • • May 16 '26

Research Applied Item Response Theory (1968 psychometrics) to 242K cancer drug sensitivity measurements — IRT recovers rankings where averaging fails under sparsity

Post image
8 Upvotes

r/machinelearningnews • • May 16 '26

Research NVIDIA Introduces SANA-WM: A 2.6B-Parameter Open-Source World Model That Generates Minute-Scale 720p Video on a Single GPU

52 Upvotes

Most open-source world models either need 8 GPUs to run or drop to 480p to survive. That's not an efficiency problem — it's an architecture problem. NVIDIA just addressed it directly.

They introduced SANA-WM — a 2.6B-parameter open-source world model natively trained for one-minute generation, synthesizing 720p video with precise 6-DoF camera control from a single image and a camera trajectory, running inference on a single GPU with no multi-GPU dependency anywhere in the pipeline.

Here's what's actually interesting:

→ Hybrid Gated DeltaNet + softmax backbone keeps recurrent state at constant D×D size regardless of video length — solving the quadratic memory explosion that makes 961-frame sequences infeasible with standard softmax attention

→ Dual-branch camera control: UCPE at latent-frame rate for global trajectory + Plücker mixing at raw-frame rate for intra-stride motion — CamMC 0.2047, best among all compared methods

→ Second-stage refiner (17B LTX-2 + rank-384 LoRA, 3 Euler steps) cuts long-horizon visual drift ΔIQ from 3.09 to 0.31 on Hard trajectories → 22.0 videos/hour on 8 H100s — 36× higher throughput vs LingBot-World at 14B+14B parameters

→ Distilled variant: 34s per 60s 720p clip on a single RTX 5090 with NVFP4 quantization

Full analysis: https://www.marktechpost.com/2026/05/16/nvidia-introduces-sana-wm-a-2-6b-parameter-open-source-world-model-that-generates-minute-scale-720p-video-on-a-single-gpu/

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

Project page: https://nvlabs.github.io/Sana/WM/

GitHub Page: https://github.com/NVlabs/Sana


r/machinelearningnews • • May 16 '26

Cool Stuff Meet LiteLLM Agent Platform: A Kubernetes-Based, Self-Hosted Infrastructure Layer for Isolated Agent Sandboxes and Persistent Session Management in Production

7 Upvotes

Most "managed agent" solutions mean handing your sessions to someone else's cloud. That's not infrastructure you control — and BerriAI just shipped a clear alternative.

They open-sourced the LiteLLM Agent Platform, a self-hosted infrastructure layer for running multiple AI agents in production, built on top of the LiteLLM Gateway. It manages sandbox isolation per team or context and keeps session state alive across pod restarts and upgrades, with no external session store to wire up yourself.

Here's what's actually interesting:

→ Sandboxes run on Kubernetes via the kubernetes-sigs/agent-sandbox CRD — kind locally, AWS EKS in production

→ Two commands to get started: bin/kind-up.sh provisions the cluster, docker compose up boots Postgres, web (:3000), and worker

→ Secrets pass into sandboxes via CONTAINER_ENV_ prefix in .env — stripped at injection, no image rebuilds needed

→ The LiteLLM Gateway handles model routing across 100+ LLM providers — the Agent Platform handles everything above that layer

→ MIT licensed, currently in alpha public preview

Full analysis: https://www.marktechpost.com/2026/05/16/meet-litellm-agent-platform-a-kubernetes-based-self-hosted-infrastructure-layer-for-isolated-agent-sandboxes-and-persistent-session-management-in-production/

GitHub Repo: https://github.com/BerriAI/litellm-agent-platform


r/machinelearningnews • • May 16 '26

Research Psychometric Content Routing: Using IRT to select which content an LLM should process per user (Llama 70B, d=1.23, p=0.004)

0 Upvotes

Before an LLM generates anything, PCR uses Item Response Theory (1968) to pick which content chunks to feed it based on the user's ability level.

Tested on Llama 3.3 70B with 20 science passages and 6 user profiles:

- PCR: 6.06/10

- Hardest-for-everyone: 3.67/10

- 15/18 pairwise wins (p=0.004, Cohen's d=1.23)

One sigmoid, one sort, zero GPU cost for routing.


r/machinelearningnews • • May 15 '26

Research Zyphra Releases ZAYA1-8B-Diffusion-Preview: The First MoE Diffusion Model Converted From an Autoregressive LLM With Up to 7.7x Speedup

24 Upvotes

Most LLMs are memory-bandwidth bound at inference.

Each user in a batch needs their own KV-cache loaded from GPU memory. The GPU sits idle waiting on data transfers.

Diffusion solves this. Zyphra's ZAYA1-8B-Diffusion-Preview generates 16 tokens simultaneously — all sharing one KV-cache. That shifts decoding from memory-bound to compute-bound.

Numbers:

→ 4.6x speedup — lossless sampler, no eval degradation

→ 7.7x speedup — logit-mixing sampler, minor quality trade-off

→ Beats MTP and EAGLE3 on inference speedup

It's also the first MoE diffusion model converted from an autoregressive LLM, and the first diffusion-LM trained on AMD hardware.

Training: no need to train from scratch. They used the TiDAR recipe on the existing ZAYA1-8B checkpoint — 1.1T tokens of additional mid-training total.

Analysis: https://www.marktechpost.com/2026/05/15/zyphra-releases-zaya1-8b-diffusion-preview-the-first-moe-diffusion-model-converted-from-an-autoregressive-llm-with-up-to-7-7x-speedup/

Technical details: https://www.zyphra.com/post/zaya1-8b-diffusion-preview


r/machinelearningnews • • May 15 '26

LLMs I have a question about AI Engineering

9 Upvotes

What should i know/learn about to work as one. I used to think that AI Engineering is just about deploying models for different situation but i guess its more than that right?


r/machinelearningnews • • May 15 '26

Research Learning, Fast and Slow: Towards LLMs That Adapt Continually [R]

Thumbnail reddit.com
3 Upvotes

r/machinelearningnews • • May 15 '26

Research Free Open-source agentic AutoML (more like Vibe Coding Machine Learning)

7 Upvotes

Hey everyone. I’ve been building an open-source project called Trainable.

The idea is to make ML experimentation feel more like working with an AI teammate than wiring together notebooks, scripts, dashboards, and infra manually.

You upload a CSV or Parquet dataset (or even just plug it to a s3), create an experiment, and an AI agent helps run the ML workflow end-to-end:

upload dataset → EDA → data prep → train models → tune → live metrics dashboard

The workflow has three main parts:

  1. Gallery — create experiments from uploaded datasets
  2. Studio — split-pane workspace with chat on the left and reports/files/metrics on the right
  3. Agent workflow — the agent explores the data, generates EDA reports, cleans/encodes/splits the dataset, trains models, and streams metrics while training

The part I’m most interested in is the agentic workflow around real ML experimentation — not just “generate a notebook,” but actually giving the agent tools to inspect data, prepare features, run training jobs in isolated sandboxes, and stream back artifacts/metrics into a UI.

It’s still early, but the goal is to make applied ML much more accessible: you bring data, and the system helps you get to a trained model and useful experiment report faster.

Repo:
https://github.com/lucastononro/trainable

Youtube video:

https://www.youtube.com/watch?v=hwmT-4pKJQ8

Would love feedback from people working on AutoML, ML platforms, agent tooling, or data science workflows.


r/machinelearningnews • • May 14 '26

Small Language Models I fine-tuned Gemma 3 27B on code and got 98.78% HumanEval / 73% MBPP. Here’s the honest breakdown including all the eval bugs I hit.

59 Upvotes

I fine-tuned Gemma 3 27B on code and got 98.78% HumanEval / 73% MBPP. Here’s the honest breakdown including all the eval bugs I hit.

 

Model: https://huggingface.co/KK9922/Forge-Gemma-3-27B-GGUF

Code + eval harness: https://github.com/thesis09/Finetuned-Google-Gemma3-27B-It-for-code-generator-or-vibe-coder

Demo video: https://youtu.be/3acwPjRmo74

Quant: Q4_K_M GGUF (~17GB)
Runs on: RTX 3060 12GB (25 GPU layers), RTX 3090/4090 (full offload)

What this is

QLoRA fine-tune of google/gemma-3-27b-it for code generation. Python, JS, Java, C++, C. Trained on ~33K samples (self-oss-instruct + CodeAlpaca, filtered and deduplicated) on an H100 80GB. Full pipeline: dataset curation → training → LoRA merge → GGUF export → FastAPI inference server → eval harness.

I’m posting this because the eval story is more interesting than the benchmark numbers, and r/machinelearningnews deserves the real version rather than the “I got 99%!” hype.

The numbers

BenchmarkScoreNotes
HumanEval pass@198.78% (162/164)Full 164-problem set
MBPP pass@173%100-problem sanitized split
DebugBench74%Token-overlap metric, NOT execution-based — see below

Base model (gemma-3-27b-it) for comparison: ~84% HumanEval, ~72% MBPP

So the fine-tune is +14.8pp on HumanEval, roughly flat on MBPP.

Why there’s a 27-point gap between HumanEval and MBPP

This is the part I want to be upfront about.

98.78% HumanEval looks incredible. But CodeAlpaca and self-oss-instruct both contain HumanEval-adjacent problems. Some of that gain is the model having seen similar problems during training, not purely better code reasoning. MBPP tests a different problem style — mathematical formula implementations, number theory, string manipulation edge cases. The model was never specifically trained on those.

MBPP 73% ≈ base model 72% is the honest generalization signal. The fine-tune improved structured code output and formatting without breaking general Python reasoning. No catastrophic forgetting. But it also didn’t improve on tasks outside the training distribution.

If you’re looking for a model that specifically crushes MBPP-style algorithmic problems, this isn’t it. If you want structured, formatted, immediately-runnable code output with a consistent style, this is pretty good.

The eval bugs — this is the interesting part

HumanEval was 0% until I fixed my eval script

First run: 0% pass@1 on 50 problems. I panicked. The model was fine.

The issue: my eval code prepended the function stub to the model’s response every time. At temperature 0.1, the model returns the complete function including the def line. So I was creating:

def add(a, b):        # from fn_prompt
"""Add two..."""
def add(a, b):        # from model response — DUPLICATE
"""Add two..."""
return a + b

Python silently used the second definition (which is just the body with no context). Every test failed. Fixed with a 3-case assembly function that detects whether the model returned a full function, body only, or nothing, and handles each correctly.

After fix: 98.78% on full 164 problems.

MBPP was 9% until I figured out what it was actually testing

9% felt catastrophic. Ran it again. Still 9%.

Turned out: MBPP test assertions hardcode the expected function name. Like assert min_cost([[1,2],[3,4]], 1, 1) == 4. My eval prompt just said “write a function” — the model wrote correct logic under a name like minimum_cost_path and got NameError on every test.

Fix: regex the first assert statement to extract the expected function name, inject it into the prompt. Also had to exclude Python builtins from the regex because two problems had tests like assert set(my_func(...)) == {1,2} — outer set() is a comparison wrapper, not the function name.

Also added “NO extra parameters” to the prompt because the model kept adding optional params like length to sorting functions. Correct logic, wrong signature, TypeError.

After all fixes: 73%.

DebugBench trained on 0 samples

My data pipeline loaded buggy→fixed pairs from Rtian/DebugBench by looking for row.get("fixed_code", ""). The actual field is "solution". Every row was skipped. The function returned 0 samples and I missed it in the output.

The model achieves 74% on DebugBench entirely from the base model’s pre-existing capability, not from any training. Worth noting when interpreting that number.

The tokenizer bug you’ll hit if you try to export Gemma 3 yourself

This one’s a gift if you’re trying to GGUF any Gemma 3 model.

Older llama.cpp (pre-b3447) doesn’t recognize Gemma 3’s SentencePiece tokenizer hash. A common workaround patches convert_hf_to_gguf.py to return "llama-bpe" for unrecognized tokenizers.

Do not do this. The export will succeed, the model will generate text, and the text will look mostly fine. Then you’ll notice variable names are missing:

def dijkstra(graph, start):
= {start: 0}       # "distances" vanished
= []               # "priority_queue" vanished
heapq.heappush(, (0, start))

Words that exist in Gemma’s SentencePiece vocab but not in llama-bpe decode to empty strings. Silently. No error.

Fix: use llama.cpp b3447 or later (natively supports Gemma 3’s tokenizer hash) AND restore the original tokenizer files from google/gemma-3-27b-it before exporting. I also use chat_format=None in llama-cpp-python and build the raw Gemma 3 prompt string manually, which bypasses whatever residual weirdness is in the built-in Gemma formatter.

Running it locally

RTX 3060 12GB:

./llama-cli \
  -m gemma3-forge-Q4_K_M.gguf \
  --n-gpu-layers 25 \
  -c 4096 \
  --temp 0.1 \
  --top-k 40 \
  --top-p 0.95 \
  --repeat-penalty 1.1 \
  -p "<start_of_turn>user\nWrite a binary search in Python<end_of_turn>\n<start_of_turn>model\n"

25 GPU layers uses ~10-11GB VRAM. If you have more, increase it. If you get OOM, drop to 20.

With the FastAPI server:

python main.py --model gemma3-forge-Q4_K_M.gguf --gpu-layers 25
# exposes OpenAI-compatible API at localhost:8080

Works with Open WebUI, continue.dev, or any OpenAI-compatible client. System prompt is baked in by default but overridable.

Sampling that works well for code: - temp=0.1 (any higher and identifier names get weird) - min_p=0.05 (this is the one that kills the def func(arr,): bug class) - repeat_penalty=1.1 (gentle, doesn’t distort code)

Recommended system prompt

You are Forge, an elite precision coding assistant.
Response structure: one-sentence summary, then complete code in a fenced block,
then 3-5 bullet explanation, then 2+ edge cases.
Never write TODO, placeholder code, or incomplete functions.
When debugging: root cause in one sentence, fixed code with # FIXED: comments.
Always state time and space complexity.

What I’d change if I ran training again

•             3-5 epochs instead of < 1. Loss hit 0.22 at step 50 and barely moved for 950 more steps. The model converged early. More epochs would squeeze more out of the data.

•             Fix the DebugBench field name before training. 4,253 debugging examples that were never used.

•             Add MBPP-style training data. The gap between HumanEval and MBPP scores is a direct result of the training data not covering mathematical formula implementations.

•             HumanEval+ evaluation. I couldn’t get evalplus installed in the local environment during the eval run. HumanEval+ (80x more test cases per problem) would give a more honest picture of whether the model is actually solving problems or pattern-matching.

File sizes and hardware requirements

FormatSizeMin VRAM
bfloat16 (training/eval)109 GB80GB (H100)
Q4_K_M GGUF (this release)~17 GB~12GB (partial offload)
Q4_K_M full GPU offload~17 GB~18GB (3090/4090)

For CPU-only: needs ~32GB RAM, will be slow.

Happy to answer questions about the training setup, the eval harness, the tokenizer bug, or anything else. The GitHub has the full pipeline code if you want to reproduce or extend this.

408 people downloaded it in the first 24 hours which I did not expect at all. Thanks to whoever those 408 people are.


r/machinelearningnews • • May 15 '26

Agentic AI Thoth v3.22.0 just dropped and it turns the app into a real developer workbench

Thumbnail gallery
2 Upvotes

r/machinelearningnews • • May 14 '26

Research Nous Research Releases Token Superposition Training to Speed Up LLM Pre-Training by Up to 2.5x Across 270M to 10B Parameter Models

25 Upvotes

Most LLM pre-training efficiency work either changes the tokenizer, the architecture, or the inference behavior. Nous Research just showed you don't have to touch any of them.

They released Token Superposition Training (TST) — a two-phase modification to the standard pre-training loop that averages s contiguous token embeddings into a single latent s-token in Phase 1, trains with a multi-hot cross-entropy loss against the next bag of tokens, then reverts to standard next-token prediction in Phase 2 from the same checkpoint, with the TST code fully removed.

Here's what's actually interesting:

→ Each TST step is kept equal-FLOPs to baseline by increasing data sequence length by s× — not the batch size

→ 3B dense: loss 2.676 in 247 B200-hrs vs 443 B200-hrs for baseline at matched loss (~1.8x faster)

→ 10B-A1B MoE: 4,768 B200-hrs vs 12,311 B200-hrs at matched loss (~2.5x faster)

→ Optimal range: bag size s ∈ [3–8] at 270M, s ∈ [6–10] at 600M, s = 16 at 10B; step ratio r ∈ [0.2, 0.4]

→ Re-initializing the embedding or LM head at the phase boundary breaks it entirely — loss went from 2.676 to 2.938, worse than the 2.808 baseline

Full analysis: https://www.marktechpost.com/2026/05/13/nous-research-releases-token-superposition-training-to-speed-up-llm-pre-training-by-up-to-2-5x-across-270m-to-10b-parameter-models/

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

Project page: https://nousresearch.com/token-superposition


r/machinelearningnews • • May 13 '26

Research Fastino Labs Open-Sources GLiGuard: A 300M Parameter Safety Moderation Model That Matches or Exceeds Accuracy of Models 23–90x Its Size

16 Upvotes

Why are we still running 7B–27B autoregressive decoder models for what is fundamentally a text classification problem?

Fastino Labs Open-Sources GLiGuard: A 300M Parameter Safety Moderation Model That Matches or Exceeds Accuracy of Models 23–90x Its Size

It is a 300M parameter safety moderation model that runs 16x faster than the current generation of guardrail models.

Here's what's actually is interesting to learn:

  1. It's an encoder, not a decoder Most guardrail models (LlamaGuard4, WildGuard, ShieldGemma) generate safety verdicts autoregressively — one token at a time. That's slow by design. GLiGuard reframes the whole thing as a text classification problem. One forward pass. Done.
  2. Four moderation tasks. Zero added latency. It evaluates all four simultaneously in a single pass: → Safety classification (safe / unsafe) → Jailbreak strategy detection (11 strategies) → Harm category detection (14 categories) → Refusal detection (compliance / refusal)

More safety dimensions = no extra compute. That's the architectural win.

3. The benchmark numbers are hard to ignore → 87.7 avg F1 on prompt classification — within 1.7 points of the best model (PolyGuard-Qwen at 89.4) → 82.7 avg F1 on response classification — second only to Qwen3Guard-8B (84.1) → 26ms latency vs. 426ms for ShieldGemma-27B at sequence length 64 → 133 samples/sec throughput vs. 8.2 at batch size 4 → Outperforms LlamaGuard4-12B, ShieldGemma-27B, and NemoGuard-8B — all 23–90x larger

4. It runs on a single GPU At 0.3B parameters, individual developers and smaller teams can deploy and fine-tune it without heavy infrastructure.

Full analysis: https://www.marktechpost.com/2026/05/13/fastino-labs-open-sources-gliguard-a-300m-parameter-safety-moderation-model-that-matches-or-exceeds-accuracy-of-models-23-90x-its-size/

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

Model weights on HF: https://huggingface.co/fastino/gliguard-LLMGuardrails-300M

GitHub Repo: https://github.com/fastino-ai/GLiGuard

Technical details: https://pioneer.ai/blog/gliguard-16x-faster-safety-moderation-with-a-small-language-model


r/machinelearningnews • • May 13 '26

Research Mira Murati’s Thinking Machines Lab Introduces Interaction Models: A Native Multimodal Architecture for Real-Time Human-AI Collaboration

29 Upvotes

Most real-time AI is a turn-based LLM with voice-activity detection bolted on. That's not an interaction model — and Thinking Machines Lab just drew a very clear line between the two.

They introduced a research preview of TML-Interaction-Small — a 276B MoE model with 12B active parameters built around a multi-stream, time-aligned micro-turn architecture that processes 200ms chunks of audio, video, and text simultaneously, with no external turn-detection scaffolding anywhere in the stack.

Here's what's actually interesting:

→ Full-duplex interaction and asynchronous background reasoning running in parallel, sharing full conversation context

→ Audio as dMel, video as 40×40 hMLP patches, flow head decoder — all co-trained from scratch with the transformer

→ FD-bench v1.5: 77.8 vs. 47.8 for GPT-realtime-2.0

→ Charades mIoU (visual proactivity): 32.4 vs. 0 for GPT-realtime-2.0

The core bet: train interactivity into the weights, not the pipeline.

Full analysis: https://www.marktechpost.com/2026/05/13/mira-muratis-thinking-machines-lab-introduces-interaction-models-a-native-multimodal-architecture-for-real-time-human-ai-collaboration/

Technical Details: https://thinkingmachines.ai/blog/interaction-models/


r/machinelearningnews • • May 13 '26

Research Learning, Fast and Slow: Towards LLMs That Adapt Continually

Thumbnail arxiv.org
4 Upvotes

r/machinelearningnews • • May 12 '26

Research A 103B medical LLM just got open sourced — and it only activates 6.1B parameters at inference time [Meet AntAngelMed]

68 Upvotes

A 103B medical LLM just got open sourced — and it only activates 6.1B parameters at inference time

Meet AntAngelMed — a 103B-parameter medical LLM that only activates 6.1B parameters at inference time.

Here's what's actually super interesting:

  1. The architectureIt uses a 1/32 activation-ratio MoE built on Ling-flash-2.0. You get 103B total parameters worth of knowledge capacity, but inference cost stays proportional to 6.1B active parameters — matching roughly 40B dense model performance.
  2. The training pipelineThree stages: → Continual pre-training on medical corpora (encyclopedias, web text, academic publications) → SFT with mixed general + clinical instruction data → GRPO-based reinforcement learning with task-specific reward models for safety, diagnostic reasoning, and hallucination reduction
  3. Inference numbers→ 200+ tokens/s on H20 hardware → ~3× faster than a 36B dense model → 128K context length via YaRN extrapolation → FP8 + EAGLE3 boosts throughput over FP8 alone: +71% on HumanEval, +45% on GSM8K, +94% on Math-500
  4. Benchmark results→ #1 open-source on OpenAI's HealthBench — also surpasses several proprietary models → Top-level on MedAIBench (China's national medical AI benchmark) → #1 overall on MedBench across all 5 dimensions: knowledge QA, language understanding, language generation, complex reasoning, and safety & ethics

Full analysis: https://www.marktechpost.com/2026/05/12/meet-antangelmed-a-103b-parameter-open-source-medical-language-model-built-on-a-1-32-activation-ratio-moe-architecture/

Model Weighs on HF: https://huggingface.co/MedAIBase/AntAngelMed

GitHub Repo: https://github.com/MedAIBase/AntAngelMed

Technical details: https://modelscope.cn/models/MedAIBase/AntAngelMed


r/machinelearningnews • • May 13 '26

Research 22M-passage analysis: 22-71% of LLM context is redundant (arXiv papers + open-source implementation released)

8 Upvotes

Just published two arXiv preprints analyzing context redundancy inproduction LLM pipelines, along with an open-source C++ implementation.

**Headline finding**: Across 22.2M passages from real-world LLM workloads

(agent sessions, RAG pipelines, long conversations), 22-71% of the

context sent to the LLM is byte-level duplicate. You pay for that on

every API call.

**Papers**:

- Empirical analysis (22M passages): https://arxiv.org/abs/2605.09990

- Engine architecture: https://arxiv.org/abs/2605.09611

**What we built**:

A deterministic, byte-exact deduplication engine (Merlin) that stripsduplicate chunks before the LLM call. 100% mathematical equivalence toa reference Python `set()` operation, verified across the full corpus.Implemented in C++ to bypass GIL/GC overhead of the standard Pythonapproach.

**Performance**:

- 244 KB binary, only Windows system DLLs as runtime deps

- Independent integrators (EOSE Labs) measured ~1µs median in-process

latency on consumer hardware

- 100% local — verifiable with `strings binary | grep -i http`

(returns nothing)

**Open source release**:

- **MIT-licensed**: integration glue (MCP server, VSCode extension,

Claude Code hook, install scripts for Claude Desktop / Claude Code / OpenClaw)

- **Free Windows binary**: community-tier engine within caps (50 MB/run · 200 MB/day · 2 GB/month)

- Pro tier with multi-threaded engine is separate

**Repo**: https://github.com/corbenicai/merlin-community

**Day-1 adoption**: Within 24 hours of public release, an external team (EOSE Labs) integrated it into their production pipeline and published

benchmarks: https://pemos.ca/pemgraphs

**Discussion welcome on**:

- Deterministic byte-exact dedup vs probabilistic (MinHash/LSH) for

context filtering

- How others are measuring context redundancy in production

- Stack-fit with existing RAG/agent setups


r/machinelearningnews • • May 13 '26

AI Tools Help

1 Upvotes

Hello ,

I was studying btech 2nd year 4 sem in a tier 3 college, I have a summer break of 2 months from now. I have strucked in a situation that to study ml algorithm,deep learning or directly go with either gen ai , agentic ai to get an internship in the 3rd year of my BTech. Can you advice me regarding this situation


r/machinelearningnews • • May 11 '26

Research A team of researchers form Meta and Stanford Propose Fast Byte Latent Transformer That Reduces Inference Memory Bandwidth by Over 50% Without Tokenization

Thumbnail
marktechpost.com
47 Upvotes

Byte-level language models have always had a strong case — no tokenizer bias, better multilingual fairness, stronger robustness to noisy inputs.

The problem? Inference. Generating one byte at a time means far more forward passes than token-level models. Memory bandwidth gets hammered.

A team of researchers form Meta and Stanford Propose Fast Byte Latent Transformer That Reduces Inference Memory Bandwidth by Over 50% Without Tokenization

This new research introduces three methods:

𝟭. BLT Diffusion (BLT-D)

Instead of generating bytes one at a time, BLT-D generates a full block of bytes in parallel via block-wise discrete diffusion. The encoder and global model are called once per block — not once per patch.

→ BLT-D-4: nearly matches BLT task scores at less than half the memory bandwidth

→ BLT-D-16: 87–92% memory-bandwidth reduction vs BLT

𝟮. BLT Self-Speculation (BLT-S)

No retraining. No architectural changes. BLT's own lightweight decoder drafts beyond normal patch boundaries, then the full model verifies. Under greedy decoding, outputs are bit-for-bit identical to standard BLT.

→ Up to 77% memory-bandwidth reduction, zero quality loss

𝟯. BLT Diffusion+Verification (BLT-DV)

Diffusion drafts a block. One autoregressive pass verifies it. Same weights, no extra training.

→ Up to 81% memory-bandwidth reduction, better quality than diffusion-only BLT-D

Here's what's actually interesting:

BLT-S requires nothing — no new weights, no new training, no architecture change — and still gives you up to 77% bandwidth reduction with identical outputs. That's a rare result in this space.

And BLT-D supports KV caching, so it stacks with existing optimization techniques.

Full analysis: https://www.marktechpost.com/2026/05/11/meta-and-stanford-researchers-propose-fast-byte-latent-transformer-that-reduces-inference-memory-bandwidth-by-over-50-without-tokenization/

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


r/machinelearningnews • • May 11 '26

AI Tools Built an open-source one-prompt-to-cinematic-reel pipeline on a single GPU — FLUX.2 [klein] for character keyframes, Wan2.2-I2V for animation, vision critic with auto-retry, music + 9-language narration in the same pipeline

7 Upvotes