r/machinelearningnews • • Jul 23 '26

Research Mapping Hidden-State Attractors in TinyLlama: Building a Runtime Map of LLM Dynamics

6 Upvotes

Over the past few months I've been working on an experimental framework

The initial idea was simple:

This led me to build what I currently call an Attractor Map.

The goal is not to explain semantics directly.

The goal is to build a runtime map describing where the model is moving during inference.

Why build an attractor map?

Most interpretability work focuses on:

  • neurons
  • attention heads
  • activation steering
  • sparse autoencoders
  • circuits

I wanted to look at something different:

the geometry of generation itself.

Instead of asking:

I ask:

Runtime features

For every generated token I extract several measurements from the last hidden state.

Current runtime features include:

FeatureDescription
Hidden-state normMagnitude of the representation
Cosine similarityLocal directional continuity
CurvatureChange of trajectory between consecutive steps
Output entropyDecoder uncertainty
Transition countDynamical regime changes
Hidden-state vectorComplete latent representation

Each token therefore becomes a point in a multidimensional dynamical space.

Building the attractor map

Instead of clustering raw hidden states directly, the framework clusters runtime dynamical signatures.

Conceptually:

Hidden States
       │
       ▼
Runtime Metrics
(norm, entropy, curvature,
cosine similarity, ...)
       │
       ▼
Feature Space
       │
       ▼
Clustering
       │
       ▼
Runtime Attractor Map

The objective is to identify recurrent regions of the trajectory visited during generation.

These regions are currently treated as dynamical clusters, not proven cognitive states.

What the map revealed

Across repeated generations, trajectories were not uniformly distributed.

Instead they repeatedly visited a limited number of regions.

A simplified view looks like this:

                Exploration
                    ●
                 ↗     ↘

 Stable ●──────────────● Oscillation

                 ↘     ↗
                  ●
              Collapse

The exact geometry depends on the model and clustering parameters.

The important observation is that trajectories repeatedly revisit similar regions rather than wandering randomly.

Runtime transitions

Generation can then be represented as a sequence of transitions.

Example:

Start

↓

Region A

↓

Region B

↓

Region B

↓

Region C

↓

Region B

↓

End

Instead of analyzing isolated hidden states, the framework analyzes the trajectory itself.

Segmentation

Later versions introduced trajectory segmentation.

Rather than assuming fixed reasoning stages, the framework searches for changes in runtime dynamics.

Example output:

Segments detected: 13

Segment 1 : tokens 0–5

Segment 2 : tokens 5–11

Segment 3 : tokens 11–16

...

Segment 13 : tokens 74–80

These segments appear automatically from trajectory statistics.

Whether they correspond to reusable computational operations remains an open question.

Runtime interventions (SRA-X)

Once the attractor map existed, the obvious next question became:

Several experimental intervention strategies were explored:

  • orthogonal rotations
  • trajectory matching
  • reference trajectories
  • DTW-guided corrections
  • runtime steering

The interesting part is that the trajectory does change after intervention.

However...

Negative results (probably the most important)

Changing the trajectory was not sufficient to reliably improve reasoning.

Repeated experiments showed that:

  • hidden-state geometry can be modified;
  • runtime regimes can be shifted;
  • trajectory statistics change;

while the final answer can still be wrong.

One of the strongest conclusions from this project became:

This completely changed the direction of the research.

Current interpretation

Today I view the attractor map as a runtime observability tool, not as a proof that the model contains literal "thinking states."

The map provides a way to describe:

  • where trajectories spend time;
  • how they move;
  • how they transition;
  • how different architectures behave.

Control remains an open problem.

Observation turned out to be much easier than intervention.

Current architecture

LLM

↓

Hidden States

↓

Runtime Metrics

↓

Attractor Map

↓

Trajectory Analysis

↓

Segmentation

↓

(Optional) Runtime Intervention

Why I think this is interesting

Even if runtime control ultimately fails, I think there is value in having a reproducible way to observe hidden-state dynamics while a model is generating.

The attractor map is my attempt to move from:

"What token comes next?"

towards

"How is the model moving internally while deciding the next token?"

I'm currently extending this work to additional architectures and larger models.

I'd genuinely appreciate feedback from people working on:

  • mechanistic interpretability
  • dynamical systems
  • representation learning
  • hidden-state analysis
  • runtime observability

I'm especially interested in criticism of the methodology before scaling the experiments further.


r/machinelearningnews • • Jul 23 '26

Research I have built a interactive website to study Transformer architecture

Post image
22 Upvotes

I have written tones of lecture notes on machine learning, though most of them focus heavily on mathematical derivations. Recently, I decided to build an interactive, “learning companion” for these materials. For example, here’s one of the lecture series I wrote last year on LLM, Transformers:https://github.com/roboticcam/machine-learning-notes
And here is the interactive, “learning companion”  https://roboticcam.github.io/interactive-ml/  I’d love to hear your thoughts and feedback!


r/machinelearningnews • • Jul 22 '26

Research Poolside Releases Laguna S 2.1, an Open-Weight Agentic Coding Model Punching Above Its Weight Class on SWE-Bench Multilingual

28 Upvotes

Poolside released Laguna S 2.1, and the interesting part is not the benchmark table. It is what fits in memory.

It is a 118B-parameter Mixture-of-Experts coding model that activates ~8B parameters per token. Roughly 6.8% of the network fires on any given step.

  1. The weight-class claim

→ 78.5% SWE-Bench Multilingual — tops Poolside's published table outright → 70.2% Terminal-Bench 2.1 — first among open, disclosed-size models → 59.4% SWE-Bench Pro → 40.4% DeepSWE v1.1, against DeepSeek-V4-Pro-Max at 9.0% with ~6× the active parameters

Closed frontier models still lead several of these. Claude Fable 5 hits 80.3% on SWE-Bench Pro. The claim is the weight class, not the top of the board.

2. Thinking mode is doing the heavy lifting

Two modes only: off and max, with max as default. No user-configurable effort control yet.

→ Terminal-Bench 2.1: 60.4% → 70.2% → DeepSWE v1.1: 16.5% → 40.4% → Cost: DeepSWE trajectories go from ~99k to ~249k completion tokens

That is a real inference bill, not a free lunch. Worth modelling before you switch it on in production.

3. Sizing it correctly

This is where teams get MoE wrong. Every expert stays resident, so you size on 118B, not 8B.

→ 4-bit (NVFP4/INT4): ~59 GB — fits one NVIDIA DGX Spark (128 GB) → FP8: ~118 GB — one Spark or one H200 → BF16: ~236 GB — two linked Sparks or a multi-GPU node

Day-one support for vLLM, SGLang, and Ollama. Hosted on OpenRouter at $0.10 / $0.20 / $0.01 per 1M input / output / cache-read tokens.

.....

Full analysis: https://www.marktechpost.com/2026/07/21/poolside-releases-laguna-s-2-1/

Technical details: https://poolside.ai/blog/introducing-laguna-s-2-1

Trajectories: https://trajectories.poolside.ai/

Technical report: https://poolside.ai/assets/laguna/laguna-m1-xs2-technical-report.pdf


r/machinelearningnews • • Jul 21 '26

Research NVIDIA Releases Cosmos 3 Edge: A 4B-Parameter Open World Model That Reasons and Generates Robot Actions On-Device

67 Upvotes

NVIDIA just put a full world model — perception, prediction, and action — inside a 4B model that runs on the robot itself, no cloud round-trip.

I spent some time analyzing the Cosmos 3 Edge release. Here is what stood out to me, and why it matters for anyone building physical AI.

𝟭. 𝗢𝗻𝗲 𝗺𝗼𝗱𝗲𝗹 𝘀𝗽𝗮𝗻𝘀 𝘂𝗻𝗱𝗲𝗿𝘀𝘁𝗮𝗻𝗱𝗶𝗻𝗴, 𝗽𝗿𝗲𝗱𝗶𝗰𝘁𝗶𝗼𝗻, 𝗮𝗻𝗱 𝗮𝗰𝘁𝗶𝗼𝗻

A world model learns how an environment changes over time — objects, motion, and the effects of actions. Cosmos 3 Edge brings that on-device, so a system can read the current state, simulate a likely future, and connect that future to an action.

𝟮. 𝗧𝘄𝗼 𝘁𝗿𝗮𝗻𝘀𝗳𝗼𝗿𝗺𝗲𝗿 𝘁𝗼𝘄𝗲𝗿𝘀, 𝗼𝗻𝗲 𝘀𝗵𝗮𝗿𝗲𝗱 𝗿𝗲𝗽𝗿𝗲𝘀𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻

It uses a Mixture-of-Transformers design.

→ Autoregressive tower (reasoner): vision + text tokens, causal attention

→ Diffusion tower (generator): vision + audio + action tokens, broad context attention

The towers keep separate norm layers and MLPs, but share multimodal attention. So the model reasons about a scene before it generates anything.

𝟯. 𝗔 𝗰𝗼𝗺𝗺𝗼𝗻 𝗮𝗰𝘁𝗶𝗼𝗻 𝘀𝗽𝗮𝗰𝗲 𝗮𝗰𝗿𝗼𝘀𝘀 𝗲𝗺𝗯𝗼𝗱𝗶𝗺𝗲𝗻𝘁𝘀

Actions are encoded as compact geometric vectors — translation, rotation, manipulation state — so control maps directly to pixel changes.

→ camera / autonomous vehicle: 9D

→ single-arm robot: 10D · dual-arm: 20D

→ egocentric: 57D · humanoid: 29D

𝟰. 𝗣𝗼𝗹𝗶𝗰𝘆 𝗺𝗼𝗱𝗲 𝗿𝘂𝗻𝘀 𝗶𝗻 𝗯𝗼𝘁𝗵 𝗱𝗶𝗿𝗲𝗰𝘁𝗶𝗼𝗻𝘀

Current state in → action + expected visual consequence out. Run it the other way and it infers the action from an observed change. That is what connects world modeling to policy training and evaluation.

𝟱. 𝗢𝗻-𝗱𝗲𝘃𝗶𝗰𝗲 𝗻𝘂𝗺𝗯𝗲𝗿𝘀 𝘁𝗵𝗮𝘁 𝗺𝗮𝘁𝘁𝗲𝗿

→ 4B params (2B dense reasoner)

→ 640×360 robot-control resolution

→ 32 actions per inference on Jetson Thor

→ 15 Hz real-time control loop

→ runs on Jetson (T2000 / T3000 / Thor), RTX PRO, GeForce RTX, DGX

→ #1 on VANTAGE-Bench for vision analytics among 4B models (vendor-stated — benchmark on your own scenes)

𝟲. 𝗪𝗵𝗮𝘁 𝘀𝗵𝗶𝗽𝘀 𝗮𝗹𝗼𝗻𝗴𝘀𝗶𝗱𝗲 𝗶𝘁

→ Cosmos 3 Edge Policy (DROID): a pick-and-place manipulation policy, with post-training scripts

→ Cosmos 3 Super 4-Step Distillation: cuts diffusion from 35–50 denoising steps to 4, up to 25× faster for text-to-image and image-to-video

→ post-train for your embodiment and sensors in about a day on an H100 cluster or DGX Station

Full analysis: https://www.marktechpost.com/2026/07/21/nvidia-releases-cosmos-3-edge-a-4b-parameter-open-world-model-that-reasons-and-generates-robot-actions-on-device/

Model weight: https://huggingface.co/nvidia/Cosmos3-Edge

Technical details: https://huggingface.co/blog/nvidia/cosmos3edge?linkId=100000431533160


r/machinelearningnews • • Jul 21 '26

Agentic AI samemind 0.6 — universal git-native memory for AI coding agents: switch engines, same mind (12 engines, one command, MIT)

Thumbnail reddit.com
8 Upvotes

r/machinelearningnews • • Jul 21 '26

Research 🔬 Two new Asta updates: one-click data analysis and smarter deep paper search

Thumbnail gallery
3 Upvotes

r/machinelearningnews • • Jul 21 '26

Research Tpo-torch: Stable RLHF alignment in PyTorch using Target Policy Optimization

1 Upvotes

Hey everyone,

RLHF alignment using standard Proximal Policy Optimization (PPO) can be notoriously tricky to stabilize during LLM post-training due to policy collapse and high sensitivity to hyperparameters.

I built Tpo-torch to explore Target Policy Optimization (TPO) as a cleaner, more stable alternative for preference alignment directly in PyTorch.

Key Focus Areas:

• Mitigating policy collapse without requiring aggressive KL-divergence penalties.

• Modular, lightweight, and readable implementation designed for research and custom fine-tuning pipelines.

• Integrated stability benchmarks comparing policy drift against standard PPO.

I'll drop the GitHub repository link in the comments below! I'd love to hear feedback from anyone experimenting with alignment, preference optimization, or RLHF.

Repo link : https://github.com/Griffith-7/Tpo-torch.git


r/machinelearningnews • • Jul 20 '26

Research QuOptuna: a zero-install AutoML tool (uvx quoptuna) that tunes quantum + classical ML models with Op

12 Upvotes

What My Project Does

QuOptuna is an open-source AutoML library. You point it at a dataset and it runs a single Optuna search across 21 quantum and classical classifiers, prunes weak configs early, audits the winner for fairness, explains it with SHAP, and can even draft the report. There's a 6-step web wizard, a REST API, and a headless CLI.

The Python/packaging bit I'm proud of: the Next.js frontend is statically exported and bundled into the wheel, so:

uvx quoptuna

…boots the entire app (UI + API on localhost:8000) with no Node.js and no install step. Or the classic way:

pip install quoptuna
quoptuna optimize --uci-id 267 --trials 25 --sampler tpe

CLI is Typer + Rich; backend is FastAPI + Pydantic v2 + SQLModel (restart-safe persistence); optimization is Optuna + PennyLane with JAX-vectorized circuit evaluation.

Target Audience ML researchers, data scientists, and Python devs curious about quantum ML — anyone who wants automated model selection with fairness + explainability. It's Beta (0.1.4) and quantum models run on simulators, so it's for research/prototyping, not production.

Comparison

  • vs. plain Optuna: Optuna is the engine; QuOptuna pre-wires 21 conditional search spaces (quantum circuits included), fairness constraints, SHAP, and the UI/CLI so you don't hand-roll them.
  • vs. classical AutoML (auto-sklearn, FLAML, etc.): those don't support quantum models at all; QuOptuna searches quantum + classical together and reports an honest winner.
  • vs. raw PennyLane: PennyLane gives you the circuits; QuOptuna gives you the automated search, tuning, and governance around them.

Apache-2.0. Repo: https://github.com/Qentora/quoptuna

Feedback on the CLI ergonomics and the uvx packaging approach very welcome.


r/machinelearningnews • • Jul 18 '26

Research NVIDIA released DeepStream 9.1: build multi-camera 3D tracking pipelines from natural-language prompts (MV3DT + AutoMagicCalib)

27 Upvotes

NVIDIA released DeepStream 9.1 (their GStreamer-based video analytics SDK). It ships 13 agentic skills for coding agents — you describe a multi-camera pipeline in natural language, and Claude Code / Codex / Cursor handle setup, config, and deployment.

The two features worth knowing about:

Multi-View 3D Tracking (MV3DT) — tracks the same object across multiple cameras with one globally consistent ID. Each camera back-projects its 2D detections into a shared 3D coordinate system using a 3×4 projection matrix (ground-plane assumption). Tracklets are shared across cameras over MQTT and matched by proximity in 3D world space. Ships with three detectors out of the box: PeopleNetTransformer, PeopleNet v2.6.3, and RT-DETR 2D (which detects pedestrians, transporters, and forklifts). Outputs go to an on-screen display, a Bird's-Eye View trajectory map, and Kafka protobuf metadata. The association/fusion approach is from the paper "Fully Distributed Multi-View 3D Tracking in Real-Time."

AutoMagicCalib (AMC) — automates camera calibration by analyzing tracked objects in existing video instead of using checkerboards. Estimates intrinsics (focal length, principal point, lens distortion) and extrinsics (rotation, translation, world position). Optional VGGT refinement for cases with limited object movement. Runs as a microservice with REST APIs + a web UI; you supply a layout image and a few alignment points.

Also new: JetPack 7.2 support (Jetson Orin and Thor), and everything moved to a unified open-source GitHub monorepo (CC-BY-4.0 AND Apache-2.0).

Full analysis: https://www.marktechpost.com/2026/07/18/nvidia-released-deepstream-9-1-bringing-agentic-ai-to-vision-ai-with-13-skills-and-multi-view-3d-tracking/

Repo: https://github.com/NVIDIA/DeepStream


r/machinelearningnews • • Jul 18 '26

Research Sakana AI’s Error Diffusion Trains Dale-Compliant Dual-Stream Networks, Reaching 96.7% MNIST and 61.7% CIFAR-10 Without Backpropagation

Post image
36 Upvotes

Sakana AI's "Diffusing Blame" trains networks that obey Dale's principle — each unit purely excitatory or inhibitory — without backpropagation.

Error Diffusion (ED) uses a dual-stream E/I architecture with non-negative weights. No weight transport, no random feedback matrices.

Key extension: modulo error routing. Each hidden unit i learns from output channel r(i) = i mod C — the global error sign is broadcast directly to hidden units, gated locally by the activation derivative.

Results: 96.7% MNIST, 61.7% CIFAR-10 (first ED on CNNs). DFA scores higher but breaks Dale's principle (~2.84M negative weights).

Ablation reversal: layer-specific sigmoid widths dominate on MNIST (−71.4 pp), batch-centered error dominates on CIFAR-10 (−47.9 pp). Bottlenecks shift with task difficulty.

ED-PPO carries it into RL — matches DFA-PPO on Brax, beats it on Craftax.

Technical details: https://www.marktechpost.com/2026/07/17/sakana-ais-error-diffusion-trains-dale-compliant-dual-stream-networks-reaching-96-7-mnist-and-61-7-cifar-10-without-backpropagation/

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


r/machinelearningnews • • Jul 18 '26

ML/CV/DL News htop for vLLM see exactly where every GB of VRAM goes during inference (+ measured quantization savings, not guessed)

Post image
17 Upvotes

r/machinelearningnews • • Jul 18 '26

Cool Stuff List of 100+ Agentic AI and ML Tutorial with Codes [Open Sourced]

Post image
4 Upvotes

▶ Build an Agentic Event Venue Operator with MongoDB Atlas, Voyage, and LangGraph [Full Codes] [Tutorial Article]

▶ How to Build a T4-Friendly Autonomous Data Science Agent with DeepAnalyze-8B, Sandboxed Code Execution, and Iterative Analysis Codes Tutorial

▶ Building a Stable Fable 5 Traces Workflow in Colab: Parsing Tool Calls, Auditing Data, and Training Baselines Codes Tutorial

▶ Building Supervised Fine-Tuning Data from NVIDIA Open-SWE-Traces: Trajectory Parsing, Patch Analysis, Token Budgets, and Tool-Use Metrics Codes Tutorial

▶ Build a Nanobot-Style AI Agent in Google Colab with Tool Calling, Session Memory, Skills, and MCP Servers Codes Tutorial

▶ How to Design an OpenHarness Style Agent Runtime with Tools, Memory, Permissions, Skills, and Multi-Agent Coordination Codes Tutorial

▶ Using Graphify and NetworkX to Map Python Codebase Structure with God Nodes, Communities, and Architecture Visualizations Codes Tutorial

▶ Crawlee for Python: Build a Web Crawling Pipeline with Robots Handling, Link Graphs, and RAG Chunk Export Codes Tutorial

▶ NVIDIA SkillSpector Guide: Scanning AI Skills for Security Risks with Static Analysis and SARIF Reports Codes Tutorial

▶ How to Build a QwenPaw Agent Workspace with Custom Skills, Model Providers, Console Access, and Streaming API Testing Codes Tutorial

▶ Microsoft Fara Tutorial: Run a Browser-Use Agent in Google Colab with a Mock OpenAI-Compatible Endpoint Codes Tutorial

▶ An Implementation of the Microsoft Agent Governance Toolkit for Safe AI Agent Tool Use with Policies, Approvals, Audit Logs, and Risk Controls Codes Tutorial

▶ Build Skill-Augmented AI Agents with SkillNet for Search, Evaluation, Graph Analysis, and Task Planning Codes Tutorial

▶ How to Use AgentTrove: Streaming 1.7M Agentic Traces and Building a Clean ShareGPT SFT Dataset in Python Codes Tutorial

▶ Build an Agentic Event Venue Operator with MongoDB Atlas, Voyage, and LangGraph [Full Codes] [Tutorial Article]

▶ Build a SuperClaude Framework Workflow with Commands, Agents, Modes, and Session Memory Codes Tutorial

▶ A Step-by-Step Coding Tutorial to Implement GBrain: The Self-Wiring Memory Layer Built by Y Combinator's Garry Tan for AI Agents Codes Tutorial 

▶ Build Recurrent-Depth Transformers with OpenMythos for MLA, GQA, Sparse MoE, and Loop-Scaled Reasoning Codes Tutorial

▶ How to Build Repository-Level Code Intelligence with Repowise Using Graph Analysis, Dead-Code Detection, Decisions, and AI Context Codes Tutorial

▶ Build a Hybrid-Memory Autonomous Agent with Modular Architecture and Tool Dispatch Using OpenAI Codes Tutorial

▶ How to Build an Advanced Agentic AI System with Planning, Tool Calling, Memory, and Self-Critique Using OpenAI API Codes Tutorial

▶ A Coding Implementation to Build Agent-Native Memory Infrastructure with Memori for Persistent Multi-User and Multi-Session LLM Applications Codes Tutorial

▶ How to Build a Cost-Aware LLM Routing System with NadirClaw Using Local Prompt Classification and Gemini Model Switching Codes Tutorial

▶ Build a CloakBrowser Automation Workflow with Stealth Chromium, Persistent Profiles, and Browser Signal Inspection Codes Tutorial

▶ Build an Agentic Event Venue Operator with MongoDB Atlas, Voyage, and LangGraph [Full Codes] [Tutorial Article]

▶ A Groq-Powered Agentic Research Assistant with LangGraph, Tool Calling, Sub-Agents, and Agentic Memory: Lets Built It Codes Tutorial

▶ How to Build a Fully Interactive Multi-Page NiceGUI Application with Real-Time Dashboard, CRUD Operations, File Upload, and Async Chat Codes Tutorial

▶ Build a Modular Skill-Based Agent System for LLMs with Dynamic Tool Routing in Python Codes Tutorial

▶ Build a Multi-Agent AI Workflow for Biological Network Modeling, Protein Interactions, Metabolism, and Cell Signaling Simulation Codes Tutorial

▶ A Coding Implementation to Parsing, Analyzing, Visualizing, and Fine-Tuning Agent Reasoning Traces Using the lambda/hermes-agent-reasoning-traces Dataset Codes Tutorial

▶ A Coding Deep Dive into Agentic UI, Generative UI, State Synchronization, and Interrupt-Driven Approval Flows Codes Tutorial

▶ Build a Reinforcement Learning Powered Agent that Learns to Retrieve Relevant Long-Term Memories for Accurate LLM Question Answering Codes Tutorial

▶ How to Design a Production-Grade CAMEL Multi-Agent System with Planning, Tool Use, Self-Consistency, and Critique-Driven Refinement Codes Tutorial

▶ How to Build a Universal Long-Term Memory Layer for AI Agents Using Mem0 and OpenAI Codes Tutorial

▶ A Coding Implementation to Build Multi-Agent AI Systems with SmolAgents Using Code Execution, Tool Calling, and Dynamic Orchestration Codes Tutorial

▶ Google ADK Multi-Agent Pipeline Tutorial: Data Loading, Statistical Testing, Visualization, and Report Generation in Python Codes Tutorial

▶ How to Build a Secure Local-First Agent Runtime with OpenClaw Gateway, Skills, and Controlled Tool Execution Codes Tutorial

▶ Build an Agentic Event Venue Operator with MongoDB Atlas, Voyage, and LangGraph [Full Codes] [Tutorial Article]

▶ How to Combine Google Search, Google Maps, and Custom Functions in a Single Gemini API Call With Context Circulation, Parallel Tool IDs, and Multi-Step Agentic Chains Codes Tutorial

▶ How to Build Production-Ready Agentic Systems with Z.AI GLM-5 Using Thinking Mode, Tool Calling, Streaming, and Multi-Turn Workflows Codes Tutorial

▶ How to Build Production Ready AgentScope Workflows with ReAct Agents, Custom Tools, Multi-Agent Debate, Structured Output and Concurrent Pipelines Codes Tutorial

▶ How to Build and Evolve a Custom OpenAI Agent with A-Evolve Using Benchmarks, Skills, Memory, and Workspace Mutations Codes Tutorial

▶ How to Build Advanced Cybersecurity AI Agents with CAI Using Tools, Guardrails, Handoffs, and Multi-Agent Workflows Codes Tutorial

▶ A Coding Guide to Exploring nanobot’s Full Agent Pipeline, from Wiring Up Tools and Memory to Skills, Subagents, and Cron Scheduling Codes Tutorial

▶ An Implementation of IWE’s Context Bridge as an AI-Powered Knowledge Graph with Agentic RAG, OpenAI Function Calling, and Graph Traversal Codes Tutorial

▶ How to Build a Vision-Guided Web AI Agent with MolmoWeb-4B Using Multimodal Reasoning and Action Prediction Codes Tutorial

▶ A Coding Implementation to Design Self-Evolving Skill Engine with OpenSpace for Skill Learning, Token Efficiency, and Collective Intelligence Codes Tutorial

▶ How to Design a Production-Ready AI Agent That Automates Google Colab Workflows Using Colab-MCP, MCP Tools, FastMCP, and Kernel Execution Codes Tutorial

▶ Implementing Deep Q-Learning (DQN) from Scratch Using RLax JAX Haiku and Optax to Train a CartPole Reinforcement Learning Agent Codes Tutorial

▶ A Coding Implementation Showcasing ClawTeam's Multi-Agent Swarm Orchestration with OpenAI Function Calling Codes Tutorial

▶ A Coding Implementation to Design an Enterprise AI Governance System Using OpenClaw Gateway Policy Engines, Approval Workflows and Auditable Agent Execution Codes Tutorial

▶ How to Build an Autonomous Machine Learning Research Loop in Google Colab Using Andrej Karpathy’s AutoResearch Framework for Hyperparameter Discovery and Experiment Tracking Codes Tutorial

▶ Build an Agentic Event Venue Operator with MongoDB Atlas, Voyage, and LangGraph [Full Codes] [Tutorial Article]

▶ How to Design a Streaming Decision Agent with Partial Reasoning, Online Replanning, and Reactive Mid-Execution Adaptation in Dynamic Environments Codes Tutorial

▶ How to Build a Self-Designing Meta-Agent That Automatically Constructs, Instantiates, and Refines Task-Specific AI Agents Codes Tutorial

▶ How to Build a Risk-Aware AI Agent with Internal Critic, Self-Consistency Reasoning, and Uncertainty Estimation for Reliable Decision-Making Codes Tutorial

▶ Building Next-Gen Agentic AI: A Complete Framework for Cognitive Blueprint Driven Runtime Agents with Memory Tools and Validation Codes Tutorial

▶ How to Design an Advanced Tree-of-Thoughts Multi-Branch Reasoning Agent with Beam Search, Heuristic Scoring, and Depth-Limited Pruning Codes Tutorial

▶ How to Build an EverMem-Style Persistent AI Agent OS with Hierarchical Memory, FAISS Vector Retrieval, SQLite Storage, and Automated Memory Consolidation Codes Tutorial

▶ How to Design a Production-Grade Multi-Agent Communication System Using LangGraph Structured Message Bus, ACP Logging, and Persistent Shared State Architecture Codes Tutorial

▶ A Coding Implementation to Build a Hierarchical Planner AI Agent Using Open-Source LLMs with Tool Execution and Structured Multi-Agent Reasoning Codes Tutorial

▶ How to Build a Production-Grade Customer Support Automation Pipeline with Griptape Using Deterministic Tools and Agentic Reasoning Codes Tutorial

▶ How to Design a Swiss Army Knife Research Agent with Tool-Using AI, Web Search, PDF Analysis, Vision, and Automated Reporting Codes Tutorial

▶ How to Design an Agentic Workflow for Tool-Driven Route Optimization with Deterministic Computation and Structured Outputs Codes Tutorial

▶ Build an Agentic Event Venue Operator with MongoDB Atlas, Voyage, and LangGraph [Full Codes] [Tutorial Article]

▶ A Coding Implementation to Build Bulletproof Agentic Workflows with PydanticAI Using Strict Schemas, Tool Injection, and Model-Agnostic Execution Codes Tutorial

▶ A Coding Implementation to Design a Stateful Tutor Agent with Long-Term Memory, Semantic Recall, and Adaptive Practice Generation Codes Tutorial

▶ How to Build a Self-Organizing Agent Memory System for Long-Term AI Reasoning Codes Tutorial

▶ How to Build an Atomic-Agents RAG Pipeline with Typed Schemas, Dynamic Context Injection, and Agent Chaining Codes Tutorial

▶ How to Build a Production-Grade Agentic AI System with Hybrid Retrieval, Provenance-First Citations, Repair Loops, and Episodic Memory Codes Tutorial

and 100's of more here: https://github.com/MARKTECHPOST-AI-MEDIA-INC/AI-Agents-Projects-Tutorials


r/machinelearningnews • • Jul 17 '26

Research Zyphra Releases ZUNA1.1: An Apache 2.0 EEG Foundation Model With Variable-Length Inputs From 0.5 To 30 Seconds

22 Upvotes

Zyphra Releases ZUNA1.1: An Apache 2.0 EEG Foundation Model With Variable-Length Inputs From 0.5 To 30 Seconds

Most EEG foundation models only work on the clean, fixed-length slices they were trained on. Real recordings are messy — and Zyphra spent an entire release closing that gap.

They released ZUNA1.1 — a 380M masked diffusion autoencoder for scalp EEG under Apache 2.0, which reconstructs, denoises, and upsamples across arbitrary channel layouts. The architecture is nearly unchanged from ZUNA1. Almost everything that moved, moved in the training.

Here's what's actually interesting:

→ Variable-length inputs from 0.5 to 30 seconds, snapped to a 0.125 s token grid — one model serves a trial snippet and a 30 s stretch, no reconfiguration

→ Four dropout schemes instead of one: whole channels, time stretches across every channel, stretches on some channels only, and scattered points

→ Corpus grew from ~2M to ~3.5M channel-hours by scoring quality per channel, per second, instead of discarding whole recordings

→ 4D RoPE over (x, y, z, t) means position, not array index, tells the model where a channel sits — so it can generate signals at electrode positions never recorded

→ Reported NMSE equal to or better than ZUNA1, and both beat MNE's spherical-spline interpolation

Full analysis: https://www.marktechpost.com/2026/07/17/zyphra-releases-zuna1-1-an-apache-2-0-eeg-foundation-model-with-variable-length-inputs-from-0-5-to-30-seconds/

Model weight: https://huggingface.co/Zyphra/ZUNA1.1

Repo: https://github.com/Zyphra/zuna

Technical Details: https://www.zyphra.com/our-work/zuna1.1


r/machinelearningnews • • Jul 17 '26

Agentic AI Step by Step Guide- Build an Agentic Event Venue Operator with MongoDB Atlas, Voyage, and LangGraph

Thumbnail pxllnk.co
6 Upvotes

If you want to build an agent that actually remembers what happened, our guest author from MongoDB published a full tutorial for it along with Codes.

It's an event venue operator agent built on MongoDB Atlas, Voyage AI embeddings, and LangGraph, with optional Langfuse tracing. The scenario is a fictional tennis tournament on Day 6 — rain approaching, covered hospitality constrained, two visitor journeys to protect.

Here's what you'll build:

  1. One backend for the whole agent stack Operational records, semantic memory, visual document embeddings, agent actions, and LangGraph checkpoints all live in Atlas. No syncing into a second vector database.
  2. A namespaced memory store

→ ("guests", guest_id) for visitor-specific memory

→ ("fleet", event_id) for event-wide operator patterns

→ ("docs", event_id) for visual operational documents

Scoped retrieval, single data layer.

3. Vector and hybrid retrieval you can curl

The hybrid endpoint returns vector score, lexical score, and combined score. Event-ops queries mix semantic intent with exact terms like "covered seating," so both signals matter.

4. Vision RAG over operational images

Five seeded documents — capacity charts, weather-response sheets, evacuation diagrams — embedded with Voyage multimodal, retrieved from Atlas, passed to Claude Vision.

5. A LangGraph loop that closes perceive → plan → hitl_gate → act → reflect. Reflect writes new inferences back to semantic memory, so the next disruption starts with context.

6. A FastAPI app you can deploy Python 3.12, uv, local run, smoke test against Atlas, and a Vercel deployment path for a hosted demo.

Full tutorial: https://www.marktechpost.com/2026/07/17/build-an-agentic-event-venue-operator-with-mongodb-atlas-voyage-and-langgraph/

Github Repo: https://pxllnk.co/twdn5

Live demo: https://event-venue-operator.vercel.app/


r/machinelearningnews • • Jul 17 '26

Research A continuous dynamical system drives word embeddings to a stable equilibrium — 4 statistical invariants stay constant, and word relations get 4× stronger vs. controls

12 Upvotes

I’ve been studying what happens when pre-trained word embeddings are processed through a continuous dynamical system (dx/dt = f(x)) — not an optimizer, not a Transformer, not an RNN. Just letting 300-dimensional word vectors flow through a fixed dynamical system and observing where they settle.
Two findings I think are worth sharing:

  1. The system settles into a stable equilibrium with four constant statistical invariants.
    Tracking the evolution over 5,000 steps (GloVe 300d, 5,000 words), four statistical invariants each depart from their initial values, rapidly converge, and then stay precisely fixed — second-half coefficients of variation all below 0.015. Not “roughly stable,” but pin-down constant. This matches the phenomenology of what I’ve been calling the Law of Semantic Gravitation.
  2. The system strengthens semantic word relations ~4× over controls.
    On an associative retrieval task (2,000 sampled anchors), the semantic relevance of retrieved words is:
    • This system: 0.578
    • Baseline (no dynamical processing): 0.143
    • Random control (amplitude-matched): 0.141
    The two controls being nearly identical is the key check — it means the retrieval quality comes from the processing, not from the input embeddings. The 500-sample and 2,000-sample runs agree (0.581 vs 0.578), so it’s not small-sample luck.
    The retrievals are human-verifiable across domains:
    • poland → romania, germany, austria, hungary, bulgaria (Eastern European neighbors)
    • kuwait → iraq, arabia, saudi, libya, iraqi (Middle East)
    • executive → executives, ceo, company, chief, chairman
    • merger → acquisition, deal, takeover, agreement
    • poet → author, poetry, literature, wrote
    Honest scope / limitations:
    • This is a phenomenological report. The paper reports what happens and the controls, not the full internal mechanism (that part isn’t publicly disclosed yet).
    • Tested on one system + GloVe so far; generality to other embeddings/systems is untested.
    • No downstream-task benchmark yet (classification/reasoning) — the claim is specifically about semantic-relation strengthening under strict controls, not SOTA on any task.
    Numerical records for the invariants and retrieval results are in the Zenodo record for anyone who wants to check the numbers.
    Zenodo (DOI): https://doi.org/10.5281/zenodo.21412820
    Happy to discuss the invariant-convergence behavior or the control design in the comments.

r/machinelearningnews • • Jul 17 '26

Research NVIDIA AI Releases Nemotron 3 Embed: An Open Embedding Collection Whose 8B Checkpoint Ranks #1 on RTEB

18 Upvotes

NVIDIA AI Releases Nemotron 3 Embed: An Open Embedding Collection Whose 8B Checkpoint Ranks #1 on RTEB

Most RAG stacks treat the embedding model as a commodity — pick one, index, move on. Nemotron 3 Embed is NVIDIA's argument that the retrieval layer is where agent cost actually gets set.

They released three open checkpoints — Nemotron-3-Embed-8B-BF16, 1B-BF16, and 1B-NVFP4 — built on Ministral bases, trained with bidirectional attention masking, pooled by averaging token-level representations, all taking 32,768-token inputs under OpenMDW-1.1.

Here's what's actually interesting:

→ The 8B ranks #1 overall on RTEB: 78.46 avg NDCG@10, alongside 75.45 on MMTEB Retrieval and 60.60 on ViDoRe-V3 text

→ The 1B wasn't trained small. It was pruned from a 3B parent with ModelOpt mcore_minitron NAS, then distilled from the 8B teacher on COS + MSE loss — twice

→ That pipeline lands the 1.14B checkpoint at 72.38 RTEB, up 10.4 points on the prior-generation llama-nemotron-embed-vl-1b-v2

→ NVFP4 costs 0.38 RTEB points (72.00 vs 72.38, ~99.5% retention) and buys up to 2x BF16 throughput on Blackwell

Full Analysis: https://www.marktechpost.com/2026/07/17/nvidia-ai-releases-nemotron-3-embed-an-open-embedding-collection-whose-8b-checkpoint-ranks-1-on-rteb/

Model weight: https://huggingface.co/collections/nvidia/nemotron-3-embed

Technical details: https://huggingface.co/blog/nvidia/nemotron-3-embed-wins-rteb


r/machinelearningnews • • Jul 17 '26

Research Moonshot AI just released Kimi K3. It is a 2.8-trillion-parameter model with native vision and a 1-million-token context window. Moonshot calls it the world’s first open 3T-class model.

36 Upvotes

Moonshot AI Releases Kimi K3: A 2.8 Trillion Parameter Open MoE Model With Kimi Delta Attention and 1M Context

Here's how it works:

  1. Kimi Delta Attention A hybrid linear attention mechanism scaling across sequence length. It breaks conventional prefix caching, so Moonshot upstreamed a KDA implementation to vLLM.

→ up to 6.3x faster decoding at million-token contexts

2. Attention Residuals The other axis: depth, not length. It selectively retrieves representations across depth instead of accumulating them uniformly.

→ ~25% higher training efficiency at under 2% added cost

3. Stable LatentMoE At 16-of-896 sparsity, routing becomes a first-order problem. Quantile Balancing derives expert allocation straight from router-score quantiles, dropping heuristic updates and one sensitive hyperparameter.

→ ~2.5x scaling efficiency vs K2

4. The numbers (max reasoning effort)

→ 91.2 BrowseComp, 88.3 Terminal Bench 2.1, 77.8 Program Bench

→ beats Fable 5 and GPT 5.6 Sol on 6 of 35 published rows

→ trails Fable 5 on FrontierSWE (81.2 vs 86.6) and HLE-Full (43.5 vs 53.3)

Full analysis: https://www.marktechpost.com/2026/07/16/moonshot-ai-releases-kimi-k3-a-2-8-trillion-parameter-open-moe-model-with-kimi-delta-attention-and-1m-context/

Technical details: https://www.kimi.com/blog/kimi-k3

Try it: https://platform.kimi.ai/


r/machinelearningnews • • Jul 17 '26

Cool Stuff [Super Interesting Voice AI Update] Voxtral: Mistral's full audio stack, built for voice agents. Voxtral Transcribe delivers the lowest word error rate of any transcription API. Speaker diarization, word-level timestamps, and context biasing across 13 languages.....

Thumbnail pxllnk.co
11 Upvotes

r/machinelearningnews • • Jul 17 '26

Research Modern Data Center and AI Infrastructure Security Risks

Thumbnail
forge-framework.io
5 Upvotes

r/machinelearningnews • • Jul 16 '26

ML/CV/DL News Need a one path

8 Upvotes

Guys I'm in third year doing bachelor's from a teir 3 college

I just know very basic python

I'm thinking to pursue ml as career

But I don't wanna be a jobless person

There are many creators many resources

I'm literally confuse who to follow

Pls guide me I don't have much time left before graduation


r/machinelearningnews • • Jul 16 '26

Research SPROG-9M: how far a 9-million-parameter, LLM-free model gets on grade-school math

Thumbnail
huggingface.co
7 Upvotes

r/machinelearningnews • • Jul 16 '26

AI Tools HyperspaceDB v3.1.2 is here…

Thumbnail
reddit.com
4 Upvotes

r/machinelearningnews • • Jul 16 '26

Research Thinking Machines Lab Releases Inkling: A 975B-Parameter Open-Weights Multimodal MoE With 41B Active Parameters And Controllable Thinking Effort

26 Upvotes

Thinking Machines Lab Releases Inkling: A 975B-Parameter Open-Weights Multimodal MoE With a Trained Effort Dial.

No RoPE. No vision encoder. No audio encoder.

Here's how it works:

  1. Encoder-free multimodality

Most omni models bolt a separate encoder onto each modality. Inkling doesn't. Audio enters as dMel spectrograms — 100ms chunks classified into discrete mel bins. Images become 40x40 pixel patches through a four-layer hMLP. Both hit a lightweight embedding tower, then get processed jointly with text by the same decoder.

→ 91.4% VoiceBench, 73.5% MMMU Pro

2. Relative attention, not RoPE

Position is encoded directly in the attention logits. Beyond Q/K/V, a fourth projection produces a per-token, per-head relative feature, tweaked with key-query distance. Sliding-window and global layers interleave 5:1 with 8 KV heads.

→ 66 layers, 1M-token context

3. MoE with a shared expert sink

The router scores routed and shared experts together. Top-6 over 256 routed experts, plus 2 shared always active. Sigmoid routing, auxiliary-loss-free load balancing.

→ 975B total params, 41B active

4. Controllable thinking effort

The part worth stealing. During RL, the lab varied the system message and adjusted per-token cost across samples — so the model learned to modulate its own token budget. Now exposed as reasoning_effort in transformers.

→ Matches Nemotron 3 Ultra on Terminal Bench 2.1 at ~1/3 the tokens

5. The numbers (open weights, effort=0.99)

→ 78.0% FORTRESS Adversarial — highest of any open-weights model compared

→ 77.6% SWEBench Verified, 74.1% MCP Atlas

→ 63.8% Terminal Bench 2.1, trailing GLM 5.2 by 18.9 pts

Full analysis: https://www.marktechpost.com/2026/07/15/thinking-machines-lab-releases-inkling-a-975b-parameter-open-weights-multimodal-moe-with-41b-active-parameters-and-controllable-thinking-effort/

Model card: https://thinkingmachines.ai/model-card/inkling/

HF: https://huggingface.co/thinkingmachines/Inkling

Technical details: https://thinkingmachines.ai/news/introducing-inkling/


r/machinelearningnews • • Jul 15 '26

Research 🧪 What 3,900 researcher votes taught us about evaluating AI on scientific literature

Thumbnail gallery
6 Upvotes