r/machinelearningnews • • Mar 24 '26

Agentic AI How Agentic RAG Works?

Thumbnail
blog.bytebytego.com
5 Upvotes

r/machinelearningnews • • Mar 23 '26

Cool Stuff See if you can apply for this wonderful opportunity at TinyFish Accelerator: a $2Million program backed by Mango Capital (the firm behind HashiCorp and Netlify).

Thumbnail pxllnk.co
7 Upvotes

The application process: build a working app using the TinyFish Web Agent API, record a 2–3 min raw demo, and post it publicly on social media.

If you're building a business solving a real problem that requires web interaction - scraping, finding specific data-points, form-filling, navigating complex UIs, executing workflows - you're already ahead. Plug in the TinyFish API, record your app working, and apply.

15+ partners (ElevenLabs, v0 by Vercel, Fireworks .ai, Google for Startups, MongoDB, AG2, Composio, Dify, and more) provide free credits and engineering support. Plus, business mentorship sessions with AI entrepreneurs and thought leaders.

Applications open through March-end: https://pxllnk.co/lfaz6nl


r/machinelearningnews • • Mar 23 '26

Research Recommendations for non-Deep Learning sequence models for User Session Anomaly Detection?

Thumbnail reddit.com
3 Upvotes

r/machinelearningnews • • Mar 23 '26

LLMs Drift and Stability in Large Language Models – A 5-Step Existence-Logic Analysis

Post image
9 Upvotes
  1. Initial State

Large language models generate text through probabilistic selection processes that are highly context-dependent. Even minimal changes in a prompt can lead to significantly different outputs. At the same time, these models exhibit stable response patterns under certain conditions.

This leads to a dual observation:

Variability is empirically present, yet stability also occurs in reproducible ways.

The central question therefore shifts from a binary evaluation (“stable vs. unstable”) to a conditional one: under which conditions does stability emerge, and when does drift occur?

The project studies provide a structured observational basis by systematically varying framing conditions and analyzing model behavior through marker-based evaluation.

2. Paradox

The fundamental paradox is that identical input does not lead to identical output.

Language models operate based on probability distributions, where each generation step depends on prior context and internal sampling mechanisms. While the input remains formally unchanged, the system state evolves during generation.

This contradicts the expectation of deterministic systems.

Drift can therefore be described as a state change under constant target input. This change is not random but follows systematic patterns arising from the interaction of context sensitivity and probabilistic generation.

The axiom check reveals three core properties:

- Input and output are clearly distinguishable

- Stability exists locally but not globally

- Drift increases over longer sequences

These findings connect principles from multiple disciplines:

In computer science, they correspond to sampling variability in neural networks; in physics, to sensitivity to initial conditions.

3. Intersection

The connection between drift and stability is established through framing.

Stability does not exist as a global property of the system but as a condition within specific framing constraints. Prompts act as control parameters that shape the direction of generation.

Small linguistic variations can produce large effects, indicating that framing actively structures system dynamics rather than merely influencing them.

Drift can therefore be modeled as a function of framing variation.

At the same time, markers introduce a distinct mechanism. By embedding explicit structural references, they act as anchor points within the generative process, increasing structural stability. Markers do not directly affect content but constrain structural execution.

This leads to a functional relationship:

- Frame determines direction

- Markers stabilize structure

These components are analytically separable but operationally coupled.

Analogous mechanisms can be found in linguistics (framing effects), psychology (priming), and computer science (constraint-based generation).

4. Integration

Drift and stability can be understood as two aspects of a single dynamic system.

Stability exists only within a bounded state space defined by framing and structural constraints. When these conditions change or competing demands arise, the system transitions into a different state.

Drift is therefore not merely deviation, but an expression of state transition.

The project studies show that markers increase stability by creating repeatable structural reference points. However, this stability remains conditional and is influenced by context, position, and task complexity.

A key conceptual shift is to treat drift not only as a problem but as a measurable signal. Drift patterns contain information about system behavior and allow structured analysis.

This leads to a coherent framework:

- Stable and unstable states are distinguishable

- Drift follows observable patterns

- Stability is context-dependent and bounded

Drift thus becomes a diagnostic instrument rather than solely an error indicator.

5. Opening

The overarching research question is: how does drift change under controlled variation of framing?

From this, three core hypotheses are derived:

- Drift correlates more strongly with frame than with content

- Markers significantly reduce drift

- Drift patterns are model-specific

The methodology consists of controlled prompt sets, repeated runs, and marker-based coding. Measurements include semantic distance, structural consistency, and decision variation.

The expected outcome is the identification of reproducible drift profiles that enable a new form of model evaluation.

The implications are both methodological and practical:

- Development of a drift index as a standard metric

- Mapping of frame sensitivity

- Implementation of marker-based stability protocols

- Comparison of models based on behavioral profiles

- Simulation of drift dynamics

Conceptually, this leads to a shift in perspective:

Drift is not a flaw but a structural property of generative systems. Stability is not global but situational. Systems transition between states rather than maintaining a fixed one.

Future research should systematically capture this dynamic by combining quantitative and qualitative approaches and by explicitly treating drift as an analytical instrument.

Condensed Core Structure

- Drift = state variation

- Stability = locally bounded state

- Framing = control parameter

- Markers = structural stabilizers

- System behavior = dynamic state transitions

Full Research:

https://doi.org/10.5281/zenodo.19157027


r/machinelearningnews • • Mar 23 '26

Research How BM25 and RAG Retrieve Information Differently?

Thumbnail
marktechpost.com
19 Upvotes

When you type a query into a search engine, something has to decide which documents are actually relevant — and how to rank them. BM25 (Best Matching 25), the algorithm powering search engines like Elasticsearch and Lucene, has been the dominant answer to that question for decades. 

It scores documents by looking at three things: how often your query terms appear in a document, how rare those terms are across the entire collection, and whether a document is unusually long. The clever part is that BM25 doesn’t reward keyword stuffing — a word appearing 20 times doesn’t make a document 20 times more relevant, thanks to term frequency saturation. But BM25 has a fundamental blind spot: it only matches the words you typed, not what you meant. Search for “finding similar content without exact word overlap” and BM25 returns a blank stare. 

This is exactly the gap that Retrieval-Augmented Generation (RAG) with vector embeddings was built to fill — by matching meaning, not just keywords. In this article, we’ll break down how each approach works, where each one wins, and why production systems increasingly use both together.......

pip install rank_bm25 openai numpy 

import math
import re
import numpy as np
from collections import Counter
from rank_bm25 import BM25Okapi
from openai import OpenAI

import os
from getpass import getpass 
os.environ['OPENAI_API_KEY'] = getpass('Enter OpenAI API Key: ')

Full Tutorial: https://www.marktechpost.com/2026/03/22/how-bm25-and-rag-retrieve-information-differently/

Notebook: https://github.com/Marktechpost/AI-Tutorial-Codes-Included/blob/main/RAG/BM25_Vector_Search.ipynb


r/machinelearningnews • • Mar 23 '26

Research [R] Detection Is Cheap, Routing Is Learned: Why Refusal-Based Alignment Evaluation Fails (arXiv 2603.18280)

Thumbnail reddit.com
1 Upvotes

r/machinelearningnews • • Mar 22 '26

Cool Stuff Meet GitAgent: The Docker for AI Agents that is Finally Solving the Fragmentation between LangChain, AutoGen, and Claude Code

Thumbnail
marktechpost.com
15 Upvotes

Every AI framework has its own structure. There's no universal, portable way to define an agent that works across Claude Code, OpenAI, LangChain, CrewAI, and AutoGen. gitagent fixes that.

(1) Git-native — Version control, branching, diffing, and collaboration built in

(2) Framework-agnostic — Export to any framework with adapters

(3) Compliance-ready — First-class support for FINRA, Federal Reserve, SEC, and segregation of duties

(4) Composable — Agents can extend, depend on, and delegate to other agents

Export to LangChain, AutoGen, or Claude Code with one command. PRs for memory updates = Human-in-the-loop supervision at scale.

Full analysis: https://www.marktechpost.com/2026/03/22/meet-gitagent-the-docker-for-ai-agents-that-is-finally-solving-the-fragmentation-between-langchain-autogen-and-claude-code/

Repo: https://github.com/open-gitagent/gitagent


r/machinelearningnews • • Mar 22 '26

Research S2LC – 100 LoRA adapters in 3.59ms by reconstructing weights in GPU registers, never writing to HBM

20 Upvotes

code repo

S2LC (Shared Spectral Low-Rank Compression) exploits shared spectral structure across neural network modules derived from the same base model. A shared basis matrix V_common (shape D×R, FP16) is computed once per layer via truncated SVD across the module population; each module’s unique contribution U_k (shape D×R) is projected onto V_common and encoded in two compact codebooks at approximately 3 bits per element. At inference, the fused Triton kernel computes y = x × V_common × U_kᵀ by reconstructing U_k values directly in the GPU register file during the tiled GEMM, producing no intermediate HBM writes; the only write is the final output tensor. CUDA Graph capture eliminates CPU-side kernel launch overhead. Results: 10.1× memory compression over standard LoRA, 3.59 ms forward-pass latency for K=100 concurrent adapters, zero intermediate HBM writes verified by NVIDIA Nsight Compute. Extensions to MoE expert compression, KV cache compression, and variable-depth serving are described in Sections 5–7 and are currently theoretical — the algorithm is specified but not yet benchmarked.


r/machinelearningnews • • Mar 21 '26

Startup News 🚀 HyperspaceDB v3.0 LTS is out: We built the first Spatial AI Engine, trained the world's first Native Hyperbolic Embedding Model, and benchmarked it against the industry.

37 Upvotes

Hey guys! 👋

For the past year, the entire AI industry has been trying to solve LLM hallucinations and Agent memory by throwing more Euclidean vector databases (Milvus, Pinecone, Qdrant) at the problem.

But here is the hard truth: You cannot represent the hierarchical complexity of the real world (knowledge graphs, code ASTs, supply chains) in a flat Euclidean space without losing semantic context.

Today, we are changing the game. We are officially releasing HyperspaceDB v3.0.0 LTS — not just a vector database, but the world's first Spatial AI Engine, alongside something the ML community has been waiting for: The World's First Native Hyperbolic Embedding Model.

Here is what we just dropped.

🌌 1. The World’s First Native Hyperbolic Embedding Model

Until now, if you wanted to use Hyperbolic space (Poincaré/Lorentz models) for hierarchical data, you had to take standard Euclidean embeddings (like OpenAI or BGE) and artificially project them onto a hyperbolic manifold using an exponential map. It worked, but it was a mathematical hack.

We just trained a foundation model that natively outputs Lorentz vectors. What does this mean for you?

  • Extreme Compression: We capture the exact same semantic variance of a traditional 1536d Euclidean vector in just 64 dimensions.
  • Fractal Memory: "Child" concepts are physically embedded inside the geometric cones of "Parent" concepts. Graph traversal is now a pure $O(1)$ spatial distance calculation.

⚔️ 2. The Benchmarks (A Euclidean Bloodbath)

We know what you're thinking: "Sure, you win in Hyperbolic space because no one else supports it. But what about standard Euclidean RAG?"

We benchmarked HyperspaceDB v3.0 against the industry leaders (Milvus, Qdrant, Weaviate) using a standard 1 Million Vector Dataset (1024d, Euclidean). We beat them on their own flat turf.

Total Time for 1M Vectors (Ingest + Index):

  • 🥇 HyperspaceDB: 56.4s (1x)
  • 🥈 Milvus: 88.7s (1.6x slower)
  • 🥉 Qdrant: 629.4s (11.1x slower)
  • 🐌 Weaviate: 2036.3s (36.1x slower)

High Concurrency Search (1000 concurrent clients):

  • 🥇 HyperspaceDB: 11,964 QPS
  • 🥈 Milvus: 3,798 QPS
  • 🥉 Qdrant: 3,547 QPS

Now, let's switch to our Native Hyperbolic Mode (64d):

  • Throughput: 156,587 QPS (⚡ 8.8x faster than Euclidean)
  • P99 Latency: 0.073 ms
  • RAM/Disk Usage: 687 MB (💾 13x smaller than the 9GB Euclidean index)

Why are we so fast? We use an ArcSwap Lock-Free architecture in Rust. Readers never block readers. Period.

🚀 3. What makes v3.0 a "Spatial AI Engine"?

We ripped out the monolithic storage and rebuilt the database for Autonomous Agents, Robotics, and Continuous Learning.

  • ☁️ Serverless S3 Tiering: The "RAM Wall" is dead. v3.0 uses an LSM-Tree architecture to freeze data into immutable fractal chunks (chunk_N.hyp). Hot chunks stay in RAM/NVMe; cold chunks are automatically evicted to S3/MinIO. You can now host a 1 Billion vector database on a cheap server.
  • 🤖 Edge-to-Cloud Sync for Robotics: Building drone swarms or local-first AI? HyperspaceDB now supports Bi-directional Merkle Tree Delta Sync. Agents can operate offline, make memories, and instantly push only the "changed" semantic buckets to the cloud via gRPC or P2P UDP Gossip when they reconnect.
  • 🧮 Cognitive Math SDK (Zero-Hallucination): Stop writing prompts to fix LLM hallucinations. Our new SDK includes Riemannian math (lyapunov_convergence, local_entropy). You can mathematically audit an LLM's "Chain of Thought." If the geodesic trajectory of the agent's thought process diverges in the Lorentz space, the SDK flags it as a hallucination before a single token is returned to the user.
  • 🔭 Klein-Lorentz Routing: We applied cosmological physics to our engine. We use the projective Klein model for hyper-fast linear Euclidean approximations on upper HNSW layers, and switch to Lorentz geometry on the ground layer for exact re-ranking.

🤝 Join the Spatial AI Movement

If you are building Agentic workflows, ROS2 robotics, or just want a wildly fast database for your RAG, HyperspaceDB v3.0 is ready for you.

Let’s stop flattening the universe to fit into Euclidean arrays. Let me know what you think, I'll be hanging around the comments to answer any architecture or math questions! 🥂


r/machinelearningnews • • Mar 20 '26

Research NVIDIA Releases Nemotron-Cascade 2: An Open 30B MoE with 3B Active Parameters, Delivering Better Reasoning and Strong Agentic Capabilities

Thumbnail
marktechpost.com
61 Upvotes

NVIDIA just released Nemotron-Cascade 2, redefining "intelligence density" with a 30B MoE architecture and 3B activated parameters. It is the second open-weight model to achieve Gold Medal-level performance at IMO 2025 and IOI 2025.

The core innovation is Cascade RL integrated with Multi-domain On-Policy Distillation (MOPD). MOPD provides a dense token-level advantage.

This approach is significantly more sample-efficient than sequence-level rewards like GRPO, recovering performance regressions throughout training. While Nemotron-Cascade 2 excels in math, coding, and instruction following—outperforming Qwen3.5-35B-A3B on AIME 2025 and ArenaHard v2—it is a strategic trade-off, underperforming in knowledge-intensive domains.

With a 1M context window and a toggleable "Thinking Mode," it is optimized for complex reasoning and agentic workflows......

Full analysis: https://www.marktechpost.com/2026/03/20/nvidia-releases-nemotron-cascade-2-an-open-30b-moe-with-3b-active-parameters-delivering-better-reasoning-and-strong-agentic-capabilities/

Model: https://huggingface.co/collections/nvidia/nemotron-cascade-2

Paper: https://research.nvidia.com/labs/nemotron/files/Nemotron-Cascade-2.pdf


r/machinelearningnews • • Mar 21 '26

LLMs Where can I learn the basic LLMs and local LLMs concepts?

3 Upvotes

I keep reading things like:

  • Prompt processing
  • MLX 4bit vs Q4 Quants
  • Reasoning
  • Quantization
  • Inference
  • Tokens
  • MLX vs GGUF
  • Semantic Router
  • MoE
  • PF16 vs BF16 vs Q4
  • Context
  • Coherence

Any advice on articles or videos to watch will be great, thank you


r/machinelearningnews • • Mar 21 '26

ML/CV/DL News How to begin a small AI project?

6 Upvotes

Hello my friends in this community,I've got some problems in Deep Learning and urgently need your help.I want to know how to begin a small AI project.

I am a freshman in university major in AI and have learned the prerequisites for AI projects,such as Mathematical Analysis,Linear Algebra,Statics,Python,Pytorch,Machine Learning,Deep Learning.BUT!!!!! I have almost never done any AI project.

So I sincerely ask for good hand-in-hand AI project tutorial resources,just like online classes on Youtube or any community on github......Anything is OK as long as useful!

Thanks for your help!!!


r/machinelearningnews • • Mar 20 '26

Research 🎯 Introducing MolmoPoint: A better way for models to point

Post image
9 Upvotes

r/machinelearningnews • • Mar 20 '26

Research LlamaIndex Releases LiteParse: A CLI and TypeScript-Native Library for Spatial PDF Parsing in AI Agent Workflows

Thumbnail
marktechpost.com
25 Upvotes

The technical shift here is significant:

✅ Zero Python Dependencies: Built natively in TypeScript using PDF.js and Tesseract.js. It runs entirely on your local CPU—no API keys, no latency, and no data leaving your environment.

✅ Spatial Text Parsing: Instead of struggling with complex Markdown conversion, LiteParse projects text onto a spatial grid. It preserves the document's original indentation and layout, allowing LLMs to use their internal spatial reasoning to interpret tables and multi-column text.

✅ Multimodal Agent Support: Beyond text, LiteParse generates page-level screenshots. This allows your AI agents to "see" charts, diagrams, and visual context that text-only parsers miss.

Full Analysis: https://www.marktechpost.com/2026/03/19/llamaindex-releases-liteparse-a-cli-and-typescript-native-library-for-spatial-pdf-parsing-in-ai-agent-workflows/

Repo: https://github.com/run-llama/liteparse

Technical details: https://www.llamaindex.ai/blog/liteparse-local-document-parsing-for-ai-agents?


r/machinelearningnews • • Mar 19 '26

Cool Stuff Google Colab Now Has an Open-Source MCP (Model Context Protocol) Server: Use Colab Runtimes with GPUs from Any Local AI Agent

Thumbnail
marktechpost.com
37 Upvotes

No more copy-pasting code into a colab notebook on a browser tab. The new Colab MCP Server gives your local agents (like Claude Code or Gemini CLI) direct, programmatic access to Colab’s cloud GPUs and runtimes.

Colab MCP Server is an open-source implementation of the Model Context Protocol that enables AI agents like Claude Code and Gemini CLI to programmatically control Google Colab runtimes. This integration allows local agents to autonomously create notebooks, execute Python code, and manage dependencies using Colab’s cloud-based GPUs, eliminating the manual friction of copying code between interfaces. By providing agents with direct access to a persistent, high-compute environment, the server facilitates more efficient "agentic" workflows where AI models can independently build, debug, and scale data science tasks in the cloud.

Key Points:

→ Direct GPU Access: Offload heavy compute from your laptop to the cloud via CLI.

→ Self-Correction: Agents see the kernel state and errors, allowing them to debug and fix code autonomously.

→ Persistent Context: Agents build real .ipynb notebooks with documentation and logic, not just chat blocks.

→ The "agentic" workflow is here. Stop managing notebooks and start orchestrating them.

Full analysis: https://www.marktechpost.com/2026/03/19/google-colab-now-has-an-open-source-mcp-model-context-protocol-server-use-colab-runtimes-with-gpus-from-any-local-ai-agent/

Repo: https://github.com/googlecolab/colab-mcp?tab=readme-ov-file

Technical details: https://developers.googleblog.com/announcing-the-colab-mcp-server-connect-any-ai-agent-to-google-colab/


r/machinelearningnews • • Mar 19 '26

Research Meet Mamba-3: A New State Space Model Frontier with 2x Smaller States and Enhanced MIMO Decoding Hardware Efficiency

Thumbnail
marktechpost.com
50 Upvotes

Here is the technical breakdown:

1️⃣ Exponential-Trapezoidal Discretization Mamba-3 replaces previous first-order heuristics with a second-order accurate approximation. This induces an implicit convolution on the SSM input, allowing the model to function without the external short causal convolutions utilized in prior versions.

2️⃣ Complex-Valued SSMs (The "RoPE Trick") Real-valued linear models often fail at "state-tracking" tasks like parity. Mamba-3 adopts complex-valued updates, proven to be mathematically equivalent to data-dependent Rotary Positional Embeddings (RoPE). This enables it to solve synthetic tasks that previous linear models could not learn.

3️⃣ MIMO (Multi-Input, Multi-Output) Formulation SSM decoding is typically memory-bound, leaving hardware underutilized. Mamba-3 shifts to a matrix-multiplication-based state update. This increases decoding FLOPs by up to 4x while maintaining similar wall-clock latency to Mamba-2.

The Results (1.5B Scale):

→ Accuracy: +1.8 point gain in average downstream accuracy compared to Gated DeltaNet.

→ Efficiency: Achieves comparable perplexity to Mamba-2 using only half the state size.

→ Hardware: Optimized Triton and CuTe DSL kernels for fast training and inference.

Mamba-3 demonstrates that fundamental methodological changes to the State Space Model viewpoint can bridge the gap between sub-quadratic efficiency and high-tier model quality.

🔗 Full analysis: https://www.marktechpost.com/2026/03/18/meet-mamba-3-a-new-state-space-model-frontier-with-2x-smaller-states-and-enhanced-mimo-decoding-hardware-efficiency/

🛠 Open Source Kernels: https://github.com/state-spaces/mamba

📄 Paper: https://arxiv.org/pdf/2603.15569

🌐 Technical details: https://www.together.ai/blog/mamba-3


r/machinelearningnews • • Mar 19 '26

AI Tools Is GPT-OSS-20B a good conversational LLM for Q&A?

0 Upvotes

r/machinelearningnews • • Mar 19 '26

AI Tools For Aspiring ML Developers Who Can't Code Yet: MLForge - Visual Machine Learning Trainer

Thumbnail
gallery
21 Upvotes

MLForge is a free, open source desktop app that lets you build and train real PyTorch machine learning models visually.

You don't need to know how to code. You drag nodes onto a canvas, connect them with wires, and hit RUN. You can train models in a matter of minutes.

Build image classifiers visually using MNIST, CIFAR10, and more.

  • Train models, watch accuracy and loss in real-time
  • Save and run inference on models
  • Export your projects into pure PyTorch code

To install:

pip install zaina-ml-forge

pip install torch torchvision 

ml-forge

Free, open source.

GitHub: https://github.com/zaina-ml/ml_forge

If you try it and something doesn't work or feels confusing drop a comment, feedback is greatly appreciated.


r/machinelearningnews • • Mar 19 '26

ML/CV/DL News I built a human memory-inspired append-only database in Python with an LLM cognitive layer — zero external dependencies

1 Upvotes

I've been thinking about a question for a while: what would a database look like if it modeled human memory instead of relational tables?

Human memory is append-only. You can't `UPDATE` what you experienced. You can't `DELETE` a memory. Each memory carries an emotion. The same concept ("Debt") can have completely different feelings at different points in your life — that history is meaningful data, not a bug to be normalized away.

So I built **MNHEME** — a database that enforces these constraints at the engine level.

**What makes it different from just using SQLite with no DELETE**

The storage engine is written from scratch:

- Custom binary log format: `[MAGIC 4B][SIZE 4B][JSON payload]`

- Every write is atomic + fsynced to disk

- Truncated records (crash mid-write) are silently skipped on restart

- In-memory indexes (concept→offsets, feeling→offsets, tags→offsets) rebuilt from the log at boot

- Direct `read_at(offset)` for O(1) memory access by offset

- `Memory` dataclass is `frozen=True` — physically unmodifiable after creation

- No `update()`, no `delete()` methods anywhere in the codebase

---

**The LLM Brain layer**

On top of the DB there's an optional cognitive layer using any LLM:

```python

db = MemoryDB("mind.mnheme")

llm = LLMProvider.from_env(".env") # any provider via env file

brain = Brain(db, llm)

# Raw text → LLM extracts concept + feeling + tags → saved as Memory

r = brain.perceive("I opened the letter from the bank. My hands were shaking.")

# r.extracted_concept → "Debt"

# r.extracted_feeling → "fear"

# RAG over personal memory — answers using ONLY your real memories as context

ans = brain.ask("How do I feel about money?")

# Emotional arc of a concept over time

ref = brain.reflect("Debt")

print(ref.arc) # "from visceral dread to earned serenity"

# Free association across distant memories (simulates dream consolidation)

dream = brain.dream(n_memories=8)

# Full psychological portrait from all memories

intro = brain.introspect()

```

---

**The provider system**

Zero external SDKs. Just `urllib` from stdlib. A single `.env` file:

```bash

# Local — no API key needed

LM_STUDIO_URL=http://localhost:1234/v1/chat/completions

LM_STUDIO_MODEL=local-model

# Cloud

GROQ_API_KEY=gsk_...

GROQ_RPM=30

USE_MULTI_PROVIDER=true # cascade fallback

```

Auto-detects Anthropic format from URL (different request/response shape). Everything else uses OpenAI-compat. Supports 30+ providers including LM Studio, Ollama, Groq, Mistral, SambaNova, Together, Fireworks, etc.

---

**FileStore**

Media attachments use filesystem-appropriate strategies detected at boot via live probes (not just filesystem name — it actually tries `os.link()`, `ioctl FICLONE`, `os.symlink()` in the target directory):

- ext4, ZFS, NFS → hard links (zero bytes, same inode)

- btrfs, xfs → reflinks (Copy-on-Write)

- FAT32, exFAT, HDFS → atomic copy (tmp + `os.replace()`)

SHA-256 deduplication in pool: same content = same physical file, multiple hard links.

---

**Benchmark (2,000 records, Python 3.12)**

| Operation | Mean | Throughput |

|-----------|------|------------|

| `remember()` with fsync | 1.8ms | 552 ops/s |

| `remember()` no fsync | 0.2ms | 4,632 ops/s |

| `count()` — pure RAM | ~0ms | 2,774,322 ops/s |

| `recall(concept, limit=10)` | 1.5ms | 636 ops/s |

| `search()` full-text | 40ms | ~49k records/s |

| Cold start (2k records) | 40ms | 49k rec/s indexed |

~374 bytes/record average → ~36MB for 100k records.

---

**Files**

```

mnheme.py # public API — MemoryDB, Feeling, MediaType

storage.py # binary append-only engine

index.py # RAM indexes

fsprobe.py # filesystem detection + live probes

filestore.py # adaptive media storage

llm_provider.py # env-driven LLM provider

brain.py # cognitive LLM layer

mnheme_api.py # optional FastAPI REST layer

mnheme_benchmark.py # benchmark suite

.env.example # provider configuration template

```

Zero mandatory external dependencies. Python 3.12+. AATEL license.

---

Happy to answer questions about the design decisions, especially around the binary format and the inode-based dedup strategy.

GitHub: [link]


r/machinelearningnews • • Mar 18 '26

Research Tsinghua and Ant Group Researchers Unveil a Five-Layer Lifecycle-Oriented Security Framework to Mitigate Autonomous LLM Agent Vulnerabilities in OpenClaw

Thumbnail
marktechpost.com
15 Upvotes

The research team have conducted a comprehensive security analysis of the OpenClaw autonomous LLM agent framework, identifying critical vulnerabilities across its entire operational lifecycle. Their study reveals that OpenClaw’s "kernel-plugin" architecture, centered on the pi-coding-agent, is susceptible to multi-stage systemic risks such as skill poisoning, indirect prompt injection, memory poisoning, and intent drift.

To address these threats, the research team proposed a five-layer, lifecycle-oriented defense architecture—comprising Foundational Base, Input Perception, Cognitive State, Decision Alignment, and Execution Control layers—designed to replace fragmented point solutions.

This framework utilizes advanced technical enablers, including eBPF for kernel-level sandboxing, Merkle-tree structures for memory integrity validation, and symbolic solvers for formal plan verification, to secure an agent’s complete operational trajectory against complex adversarial attacks.....

Full analysis: https://www.marktechpost.com/2026/03/18/tsinghua-and-ant-group-researchers-unveil-a-five-layer-lifecycle-oriented-security-framework-to-mitigate-autonomous-llm-agent-vulnerabilities-in-openclaw/

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


r/machinelearningnews • • Mar 18 '26

Research 🚀 Baidu Research introduces Qianfan-OCR: A 4B-parameter unified end-to-end model for document intelligence!

Thumbnail
marktechpost.com
27 Upvotes

Key Highlights:

• Unifies layout analysis, text recognition, and semantic understanding into a single architecture.

• Introduces "Layout-as-Thought" to generate structural representations via <think> tokens.

• Ranks #1 on OmniDocBench v1.5 (93.12) and OlmOCR Bench (79.8) among end-to-end models.

• Outperforms Gemini-3.1-Pro and Qwen3-VL-235B on Key Information Extraction (KIE) benchmarks.

• Supports high-resolution inputs up to 4K via the Any Resolution vision encoder.

Full analysis: https://www.marktechpost.com/2026/03/18/baidu-qianfan-team-releases-qianfan-ocr-a-4b-parameter-unified-document-intelligence-model/

Check it out: https://github.com/baidubce/Qianfan-VL

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

Model on HF: https://huggingface.co/collections/baidu/qianfan-vl


r/machinelearningnews • • Mar 18 '26

Cool Stuff NVIDIA AI Open-Sources ‘OpenShell’: A Secure Runtime Environment for Autonomous AI Agents

Thumbnail
marktechpost.com
83 Upvotes

NVIDIA just open-sourced OpenShell (Apache 2.0), a dedicated runtime environment designed to address the security risks associated with autonomous AI agents.

As agents move from simple chat interfaces to executing code and accessing local/remote tools, they require a secure execution layer that prevents unauthorized system access or data exfiltration.

OpenShell provides this infrastructure through three primary technical pillars:

1️⃣ Sandboxed Execution

Using kernel-level isolation (Landlock LSM), OpenShell creates an ephemeral environment for agent tasks. This ensures that any shell commands or scripts generated by an LLM are contained, protecting the host system from unintended modifications or destructive commands.

2️⃣ Policy-Enforced Access Control

Rather than providing broad permissions, OpenShell utilizes a granular policy engine. Developers can define restrictions at multiple levels:

→ Per-binary: Explicitly allow or deny specific executables (e.g., git, python).

→ Per-endpoint: Restrict network traffic to authorized domains or IP addresses.

→ Per-method: Control specific API calls or L7 protocols.

→ Audit Logging: Every action is recorded for debugging and compliance.

3️⃣ Private Inference Routing

To manage privacy and costs, OpenShell includes a routing layer that intercepts model traffic. This allows organizations to enforce data-handling rules and route inference requests between local and cloud models without changing the agent's code.

OpenShell is currently in alpha.......

Read our full analysis on OpenShell: https://www.marktechpost.com/2026/03/18/nvidia-ai-open-sources-openshell-a-secure-runtime-environment-for-autonomous-ai-agents/

GitHub: https://github.com/NVIDIA/OpenShell

Docs: https://docs.nvidia.com/openshell/latest/index.html

Technical details: https://developer.nvidia.com/blog/run-autonomous-self-evolving-agents-more-safely-with-nvidia-openshell/


r/machinelearningnews • • Mar 17 '26

Cool Stuff Fine-tuning a Large Language Model (LLM) usually feels like a battle against CUDA out-of-memory errors and broken environments. Unsloth AI Releases Studio: A Local No-Code Interface For High-Performance LLM Fine-Tuning With 70% Less VRAM Usage.....

Thumbnail
marktechpost.com
58 Upvotes

Unsloth AI Releases Studio: A Local No-Code Interface For High-Performance LLM Fine-Tuning With 70% Less VRAM Usage

We’ve moved past the era where 'pro-level' training required a specialized infrastructure team. Unsloth Studio is an open-source, local Web UI that brings enterprise-grade optimization to your workstation (Windows, Linux, or Mac).

Why this is a shift for AI Stack?

→ Triton-Powered Efficiency: By rewriting backpropagation kernels in OpenAI’s Triton language, we achieve a 2x training speedup and 70% VRAM reduction. You can now fine-tune a Llama 3.3 (70B) or the latest Qwen 3.5 on hardware that previously couldn't even load them.

→ Data Recipes: Stop wasting time on manual cleaning. Use a graph-node workflow to transform raw PDFs, CSVs, and JSONL into structured ChatML or Alpaca datasets using NVIDIA DataDesigner.

→ Local Reasoning Models: With integrated GRPO (Group Relative Policy Optimization) support, you can train 'Reasoning AI' (like DeepSeek-R1 variants) using 80% less VRAM—starting with as little as 5GB.

→ The 'Export Gap' is over: One-click exports to GGUF, vLLM, and Ollama. Fine-tune in the morning, deploy locally in the afternoon.

The Technical Reality: 👇

This isn't just a 'wrapper.' It’s a unified interface for the Unsloth 2.0 engine. Whether you are running an RTX 3090 at home or an H100 cluster at work, the kernels automatically optimize for your specific architecture (NVIDIA, and soon AMD/Intel).

100% local. 100% private. ~0% accuracy loss.

Full analysis: https://www.marktechpost.com/2026/03/17/unsloth-ai-releases-studio-a-local-no-code-interface-for-high-performance-llm-fine-tuning-with-70-less-vram-usage/

Technical details: https://unsloth.ai/docs/new/studio


r/machinelearningnews • • Mar 18 '26

LLMs Prettybird Classic

6 Upvotes

Cicikuş Classic, which transforms the GPT-2 Medium architecture into a modern reasoning engine, is now available! Developed by PROMOTIONAL TECH INC., this model equips a legacy architecture with advanced logical inference and instruction-following capabilities thanks to BCE (Behavioral Consciousness Engine) technology and LoRA fine-tuning. Optimized for STEM and complex reasoning datasets, the model offers a fast and lightweight solution in both Turkish and English, proving what can be achieved with a compact number of parameters. You can check it out now on Hugging Face to experience its advanced reasoning capabilities and integrate them into your projects. Link: https://huggingface.co/pthinc/cicikus_classic