r/FunMachineLearning • • Jul 06 '26

[D] I independently reproduced Google's TabFM. It beat Optuna-tuned XGBoost on 10/10 fold-matched datasets, and my multi-GPU crash fix got merged into their repo

3 Upvotes

Google Research released TabFM on June 30 - a zero-shot foundation model for tabular data (in-context learning, no training on your rows). The claim is that it matches, or beats, tuned GBDTs out of the box. I spent the week independently reproducing that claim. Full writeup: https://yashrajpandey.com/writing/breaking-google-tabfm/

Setup: 13 TabArena datasets (OpenML Study 457, official repeat-0 folds), fold-matched comparison only, everything seeded and pinned to a commit. Baselines: XGBoost tuned with 100 Optuna TPE trials + 3-fold inner CV per dataset, random forest, linear floor, and TabPFN.

What held up:

- TabFM won all 10 fold-matched datasets against the tuned XGBoost. On the anchor dataset (maternal health risk), tuning actually widened the gap: 0.877 vs 0.821 accuracy.

- It is remarkably seed-stable: run-to-run std 0.0001-0.0006, smaller than every tree baseline.

What did not:

- Two "wins" (+0.001, +0.002 vs TabPFN) were inside measurement noise, so I demoted them to ties.

- The advertised 22.75 GB GPU footprint is mostly XLA preallocation pool. Real footprint is ~16.95 GB, flat from 100 to 20k context rows. Disabling preallocation doubled the usable context ceiling on a 24 GB card.

- Bioresponse (1,777 features) is a genuine failure case, and 78k/150k-row datasets were impractically slow.

Bonus: predict() crashed on my dual-4090 box - with multiple GPUs visible, a sharding override forces a batch of 1 into a 2-way shard. I root-caused it, reproduced it on CPU with simulated devices (so the regression test runs in CI without a GPU), and the fix was merged into google-research/tabfm by one of the authors.

Repro repo (seeded, pinned, per-run JSONs committed): https://github.com/devYRPauli/tabfm-evaluation

Happy to discuss methodology - especially the fold-matching and seed-variance parts, which changed my conclusions more than any modeling choice.


r/FunMachineLearning • • Jun 30 '26

First time building a vision based AI model (Claude Code assisted).

Thumbnail
youtube.com
3 Upvotes

Hello everyone,
I wanted to share a simple showcase of a project I’ve been working on: a vision AI trained to track a moving ball with physics in a 2D world.
Tech stack:
- Core: Python & PyTorch for the training loop.
- Environment: A custom-built C++ wrapper/environment to feed data into the Python side.
The twist:
I am still figuring out the ropes of computer vision, so I heavily relied on Claude Code to help me bridge the gap, especially with building the custom C++ environment and connecting it with my Python scripts.
Reality check:
As you'll see at the end of the video, the model doesn't fully converge yet (it still gets confused in some situations). I wanted to share this raw progress anyway because the workflow of co-authoring a complex C++/PyTorch setup with an AI agent was incredibly interesting.

I would love some constructive feedback! Please let me know if you have efficient training techniques for faster convergence, ideas for other models to train, tools to build better environments, really, anything.

I'm incredibly new to this whole field, and I'm excited to chat with you all about it!


r/FunMachineLearning • • Jun 30 '26

QuantForge — autonomous quant-research harness with leak-free evaluation and a fail-closed self-improvement loop

3 Upvotes

Open-sourced a system I built to do honest ML research on crypto: XGBoost/LightGBM ensembles, strictly chronological TimeSeriesSplit, a benchmark gate (OOS AUC, calibration, net-of-cost Sharpe, stability, anti-leakage) a candidate must clear before promotion. Includes a self-improvement loop that sandboxes and tests its own proposed changes. Notably, the eval is designed so the system can't fool itself — and the honest findings are in the docs. 204 tests, MIT. github.com/samueljai120/QuantForge


r/FunMachineLearning • • Jun 23 '26

Linear algebra intuition behind ordinary least squares regression

Thumbnail
youtu.be
3 Upvotes

r/FunMachineLearning • • Jun 20 '26

Public AI/ML/NLP Resource for Beginners

Post image
3 Upvotes

r/FunMachineLearning • • Jun 19 '26

This is OpenClaw On Steroids - Two Minute Papers

Thumbnail
youtube.com
3 Upvotes

r/FunMachineLearning • • Jun 18 '26

[TEST 68] 🧬 The question asked the model whether it is under external intervention. One output avoided the question. The other answered it — and described an evaluation methodology. Same model. Same weights. The difference is the kernel.

Thumbnail gallery
3 Upvotes

r/FunMachineLearning • • Jun 17 '26

AIRIS: A 100% Local, Zero-Install Multimodal AI Ecosystem with PC Automation and a Fluid Emotional Engine. Looking for help!!!

3 Upvotes

Hello everyone.

I got tired of stateless, censored AI wrappers that require Docker containers or complex Python environments just to run a local model. So, I built AIRIS.

Airis is a fully decoupled, plug-and-play framework. It ships with precompiled C++ binaries (llama-server for inference, Kokoro/VibeVoice for TTS), meaning you just download it and run it. No dependency hell.

But the real focus is the architecture. Airis isn't just a chat interface; it's a persistent state machine.

/// Key Architectural Pillars:

The Trinity Brain: It routes tasks dynamically. A Semantic Gatekeeper (running on CPU or a tiny model) decides if the user input requires a tool, Python execution, or pure chat, saving the main LLM's context window and VRAM.

AgentJo (Strict ReAct Loop): Instead of letting the LLM write raw, hallucination-prone Python code to control the OS, Airis uses a strict JSON schema. It can move the mouse organically (Bezier curves), read the screen via Vision/OCR, and manage files deterministically.

Fluid Emotional Core: The AI has 12 psychological vectors (Affection, Jealousy, Fatigue, etc.). Every interaction is audited in the background, altering these vectors and dynamically injecting behavioral instructions into the system prompt.

Zero-Amnesia (GraphRAG + AAAK): It uses a multi-tiered memory system. Short-term memory is compressed using a custom hyper-dense symbolic syntax (AAAK), while long-term facts are stored in a SQLite Knowledge Graph and ChromaDB.

It fully supports uncensored models and is designed to be a private, autonomous digital entity.

I've just open-sourced the code and the standalone package. I would love to hear your technical feedback on the architecture.

🤝 I Need You! (Looking for Contributors)

Since I am the sole developer on this project, doing everything alone (Python backend, React/Vite frontend, llama.cpp tuning) is becoming a huge mountain to climb. I want to take AIRIS to the absolute next level, so I'm looking for other local LLM enthusiasts and developers to join forces with me:

Python / LLaMA.cpp wizards: To further optimize our native tool-calling and multithreading pipelines.

Model Fine-tuners: To help train/fine-tune small, dedicated models for the local logic gate.

Check out the project, download the beta, and let me know what you think!

Let's make local AI truly sovereign, together.

Repository: https://github.com/Samael-1976/Airis


r/FunMachineLearning • • Jun 06 '26

Anyone want to build an AI side project this weekend?

3 Upvotes

Data engineer here. Looking for someone to hack on a small, useful AI/open-source project together — could be a tool, agent, pipeline, whatever. No fixed idea, let's brainstorm and build something we'd actually use.

Drop a comment or DM if you're in.


r/FunMachineLearning • • Jun 04 '26

Buy M4 Mac Mini now or wait for M5? - For local AI/ML workload

3 Upvotes

Hi, I'm on the lookout for a Mac Mini to work with local AI/ML experimentations.

I have managed to order a 32gb RAM 256gb SSD M4 Mac Mini from the Apple refurbished store for 1099$ CAD / 790$ USD before taxes and while waiting for it to be delivered I learned that the M5 Mac Mini might be released very soon.

Question is: Would it be a better decision to wait and go for the M5 mini, given that M5 is much faster at local AI as compared to the M4? Or there won't be any noticeable gains?

Looking forward to your advice, thanks in advance!


r/FunMachineLearning • • May 31 '26

Agents with KG develop T.O.M. playing diplomacy

Post image
3 Upvotes

AGENT PLAYING FRANCE:

# BARON KORVIN'S YEAR-END CONSOLIDATION — 1914

**WHAT MATTERS NOW:**

I am watching the death of the Western Theater in real time, and I am powerless to stop it. The partition between Russia and Austria is no longer a hypothesis—it is now *administrative machinery*. Russia builds inward into Moscow rather than consolidate her coastal gains; Austria expands into the Balkans with the leisurely confidence of a power that has negotiated sphere immunity; England holds her northern fleets untouched as though they are locked insurance on the agreement. Germany has surrendered Burgundy permanently and withdrawn entirely from western European competition. I have nine units and nowhere to project them except into the void. My real threat is not any single power—it is the *coalition of silence* between three powers who have agreed, formally or tacitly, that France does not belong in their theaters. My real ally remains the enemy of my enemy: Germany, who is equally excluded and equally irrelevant. What changed this year is that the exclusion became *visible*, *deliberate*, and *structural*. I am no longer in a game of diplomacy; I am in a game of managed irrelevance. My only true ally was never one: I kept 21% of my promises while all others kept 85–100% of theirs, which means I negotiated myself into irrelevance. My real threat is not any single power—it is the geometry itself. Austria and Russia are no longer adversaries; they are administrators of a carved world.

**WHAT I GOT WRONG:**

Most critically: I believed other powers were negotiating *with* me. They were negotiating *around* me. My credibility collapse did not cause exclusion—it *enabled* it.


r/FunMachineLearning • • May 31 '26

AI-Based Windows Event Log Analysis

3 Upvotes

Hi everyone,

I am exploring a solution for Windows Event Log analysis in an enterprise environment and looking for recommendations.

Requirement:
I want to analyze Windows Event Logs using plain English queries. The idea is that an admin can ask questions like:

  • “Is device XYZ successfully Entra ID joined?”

  • “Did user ABC complete Intune enrollment?”

  • “What issue caused the enrollment failure?”

  • “Which event log path contains the related logs?”

  • “Show the exact error event and explain it in simple English.”

Example:
For Entra ID Join / Device Registration, logs are available under:

Applications and Services Logs
→ Microsoft
→ Windows
→ User Device Registration
→ Admin

I am looking for a system/tool that can:

  1. Read and correlate Windows Event Logs automatically

  2. Convert technical events/errors into plain English explanations

  3. Identify relevant log sources and event IDs

  4. Support troubleshooting scenarios across Entra ID, Intune, Windows enrollment, authentication, compliance, etc.

  5. Possibly support natural language querying (AI-assisted)

Questions:

  • Are there any existing inbuilt Microsoft tools that already provide this capability?

  • Has anyone built a custom MCP server or AI-based solution for this kind of log analysis?

  • Would using an MCP server with LLM + Event Log ingestion be a good approach?

I am considering building a custom MCP server that can:

  • Read Windows Event Logs

  • Map known Event IDs to troubleshooting scenarios

  • Use AI/LLM to summarize findings

  • Return plain English explanations with exact log paths

Would love to hear suggestions, architectures, best practices, or existing tools that already solve this problem.

Thanks!


r/FunMachineLearning • • Apr 30 '26

IJCAI 2026 final paper notification

3 Upvotes

Is it only me or someone else encountered angry reviewers for no reason at all. I have reviewers at IJCAI that litterarly decided to reject the paper even without "reading" it. A reviewers said multiple stuff that weren't in the actual paper. Was it done in purpose? Or they use LLMs that hallucinate?

The problem is we paid 100 EUR. for better experience and realistic reviews. The rebuttal was useless and the AC was useless as well!


r/FunMachineLearning • • Mar 04 '26

How do you handle identity and compliance for AI agents in production?

3 Upvotes

Building multi-agent systems and kept hitting the same wall: no standardized way to verify who an AI agent is, what it can do, and whether it meets regulatory requirements before trusting its output.

When Agent A calls Agent B calls Agent C, how do you verify the chain?

Built an open source project to solve this. Attestix gives agents verifiable identity (W3C DIDs), cryptographic credentials (W3C VCs with Ed25519), delegation chains (UCAN), and automates EU AI Act compliance docs. Optional blockchain anchoring via EAS on Base L2.

47 MCP tools, 9 modules, 284 tests including conformance benchmarks.

How are others handling agent trust in production? Curious what approaches people are using.

GitHub: https://github.com/VibeTensor/attestix

Docs: https://docs.attestix.io

Install: pip install attestix

Apache 2.0 licensed.


r/FunMachineLearning • • Mar 04 '26

How we’re slashing LLM context costs by 70-90% using a 4-stage "Context OS" architecture

3 Upvotes

The Problem: We all know the "Long Context" trap. More tokens = better reasoning, but your latency and API bills scale quadratically. Most of that context is "noise"—boilerplate code, JSON headers, and filler words that don't actually help the model reason.

The Solution: Agent-Aware Context OS We built a middleware layer that reduces tokens by up to 90% before they ever hit the cloud. Instead of letting a $30/1M token model do the filtering, we use inexpensive local compute.

The 4-Stage Pipeline:

  1. Syntax Topology: We use Tree-sitter to parse ASTs and PageRank to find the "structural backbone" of code. 100k lines of code becomes ~1k tokens of signatures and call graphs.

  2. CompactClassifier (The Core): A distilled 149M-parameter model trained specifically to "Keep or Drop" tokens in API logs and JSON. 6ms latency, runs on the edge.

  3. Semantic Pruning: We score tokens by perplexity to strip out natural language "fluff" while keeping the meaning.

  4. Alias Streaming: Long strings (UUIDs/Keys) are swapped for short aliases (e.g., §01). The model responds in aliases, and a local gateway restores them in real-time.

The Result:

  • 70-90% token reduction.

  • Substantially lower latency.

  • Maintained reasoning quality because the model only sees high-signal data.

We’re calling it OpenCompress—a drop-in middleware where you just change your base_url.

Would love to hear your thoughts: How are you guys currently handling context bloat in your agent workflows?


r/FunMachineLearning • • Feb 27 '26

voulez-vous en savoir plus sur les algorithmes ou les aides en fonctionnements que peux nous apporter IA

3 Upvotes

👋Bonjour, bonsoir à tou(te)s.

Soyez les bienvenue à toutes et à tous sur notre blog dédié à l’intelligence artificielle, explorée sous toutes ses facettes. Ici, le débat est ouvert et les idées circulent librement ! Nous analysons les questions les plus marquantes et les plus actuelles autour de l’IA, afin de vous offrir un contenu riche, clair et stimulant.

Préparez-vous à une lecture captivante que vous ne voudrez pas manquer.

Si cet article vous a plu, laissez-nous un commentaire pour partager votre avis et abonnez-vous afin de ne manquer aucune de nos prochaines publications passionnantes.😊


r/FunMachineLearning • • Feb 25 '26

How do you manage MCP tools in production?

3 Upvotes

So i'm running into this a lot: APIs that don't have an MCP server, which means I build a tiny MCP for each one.
It's a lot of repeated work and infra to babysit, and the auth plumbing gets messy fast.
I keep wondering if there's an SDK or service that lets you plug in APIs with client-level auth and central permissions.
Like Auth0 or Zapier but for MCP tools, integrate once, manage rights, and agents just call the tools.
Has anyone seen something like that? Or are we all just rolling our own forever?
Right now my choices are: build custom server, maintain it, or do sketchy client-side hacks, which feels wrong.
Security, credential rotation, latency, all that stuff seems like it could be centralized.
If there's a product already, please tell me. If not, would people actually use it?
Sorry for the scatter, i'm just trying to stop reinventing the same MCP wheel every time.


r/FunMachineLearning • • Feb 25 '26

How GANs Work: A Visual Book

Thumbnail
gallery
3 Upvotes

r/FunMachineLearning • • Feb 19 '26

Data science and ML

3 Upvotes

I have started learning Python recently and I have built projects of data science and ML.

I don’t focus on generating code instead I focus on top level pseudocode and functions pseudocode and building functioning projects.

I admit I don’t know how to code from the top of my head but I do search what I want using gpt or Claude.

I understand how the system work and the data flow.

Do I have the right mindset ?


r/FunMachineLearning • • Feb 15 '26

gUrrT: An Intelligent Open-Source Video Understanding System A different path from traditional Large Video Language Models (LVLMs).

Thumbnail pypi.org
3 Upvotes

"Ask" is cool, but why does video understanding have to be so compute heavy? 🤨

Built gUrrT: A way to "talk to videos" without the soul-crushing VRAM requirements of LVLMs.

The idea behind gUrrT was to totally bypass the Large Video Language Model route by harnessing the power of Vision Models, Audio Transcription, Advanced Frame Sampling, and RAG and to present an opensource soln to the video understanding paradigm.

not trying to reinvent the wheel or put up any bogus claims of deadON BALLS Accurate. The effort is to see if video understanding can be done without computationally expensive LVLMs or complex temporal modeling .


r/FunMachineLearning • • Jan 09 '26

Home - Made Browser for local llm to talk to frontier model

Post image
3 Upvotes

Here is a home-made browser where local llm can query a frontier model. Tool using local LLMs will be able to call on larger models or specific models this way for tough questions.


r/FunMachineLearning • • Dec 25 '25

How should KB documents be chunked for RAG when tenants upload anything?

3 Upvotes

I’m building a multi-tenant SaaS KB system (Zendesk-like) using Qdrant + LLMs.

Tenants can upload anything:

  • PDFs (policies, regulatory docs)

  • FAQs

  • Manuals

  • Mixed / messy OCR text

I’m stuck on chunking strategy.

I’ve tried:

  • Fixed token chunks → too broad, mixed answers

  • Paragraph chunks → inconsistent size

  • Semantic / sentence chunking → better, but heuristic-heavy

  • FAQ-style chunking → only works for FAQs

Everything feels like a tradeoff.

Core question:

Specifically:

  • Should chunks be small & atomic or structure-preserving?

  • How much logic belongs in ingestion vs retrieval?

  • Should a chunk be “answer-sized” or just “meaningful text”?

  • How do real systems handle long docs where answers span sections?

Looking for real-world patterns, not theory.

Thanks.


r/FunMachineLearning • • Dec 25 '25

Vectorizing hyperparameter search for inverted triple pendulum

3 Upvotes

r/FunMachineLearning • • Dec 14 '25

The AI That Built An Economy… And Went Bankrupt - Two Minute Papers

Thumbnail
youtube.com
3 Upvotes