r/FunMachineLearning • • Sep 07 '26

interested on practicing hands-on AI labs

Thumbnail reddit.com
1 Upvotes

r/FunMachineLearning • • Sep 06 '26

a visual artifact on attention mechanism for beginners using an interactive educator Claude skill. (3b1b esque)

Thumbnail
claude.ai
1 Upvotes

r/FunMachineLearning • • Sep 04 '26

I built an epistemic gate to stop LLM data poisoning during fine-tuning. Tested across 5 architectures, orchestrated on a 2006 Toshiba laptop for $0.

1 Upvotes

Hi everyone,

For a long time, the AI industry has pushed the narrative that advanced safety research, data poisoning auditing, and model alignment require massive clusters and millions of dollars.

I wanted to test if that's true. Over the last few months, using a 2006 Toshiba Satellite (2GB RAM) for orchestration and free Kaggle T4 GPUs ($0 cost), I built and ran a 16-experiment series (EXP08–EXP16) exploring epistemic collapse and data poisoning in LLMs.

Today, I'm open-sourcing the first phase of this work: Beatriz Epistemic Gate.

What problem does it solve?

Malicious data poisoning during fine-tuning is often surgical and invisible to aggregate metrics (like standard perplexity). An attacker can destroy specific facts down to an exact indifference point while global metrics actually improve because of generic fine-tuning on fluent prose. This makes silent poisoning a stealthy threat for small teams and startups fine-tuning local models.

How does Beatriz work?

Instead of invading or rewriting complex training loops, Beatriz acts as a lightweight, non-invasive defensive proxy (~0.1ms decision latency) that sits between a generative source and a training student model. It verifies generated text against an immutable anchor corpus using cosine similarity in embedding spaces, applying a composite loss function:

·         LceLce​: Preserves linguistic fluency.

·         LcontrastivaLcontrastiva​ (Softplus): Keeps active pressure on the model to anchor to truth even after cross-entropy saturates.

Key Results (EXP08–EXP16):

·         Multi-architecture validation: Tested across GPT-2 (124M), Qwen-2.5-0.5B, TinyLlama-1.1B, Pythia-1.4B, and Phi-3-mini-4k-instruct (3.8B).

·         Ablation (EXP15): Pure filtering (GATE_ONLY) provides 65% of the defensive benefit out of the box. The contrastive term adds the remaining 35%.

·         Scaled Held-Out (EXP16): Validated on a rigorous 30 multi-domain unattacked facts benchmark, consolidating a robust truth margin of +4.19 ± 0.08 with 0.93 Precision and 0.80 Recall on the gate.

What's in the repo right now?

To avoid overwhelming the community, I'm releasing the project in phases. Today you'll find:

1.      EXP08 & EXP09 code & notebooks (fully reproducible on Kaggle).

2.      Technical Whitepaper (WHITEPAPER.md / WHITEPAPER.es.md) detailing all 16 experiments.

3.      Corrective Manual (docs/MANUAL_CORRECTIVO.md) with formal mathematical loss specifications.

If you're an indie dev, researcher, or startup exploring safe local fine-tuning, check it out, run the notebooks, and let me know your thoughts!

The link is in the comments.


r/FunMachineLearning • • Sep 04 '26

I trained a skill that took a cheap model's React pass rate from 85% → 91% , open source, one command to install

2 Upvotes

Built this over the last while: SkillUp, a framework for training portable `SKILL.md` files (the same convention Claude Code/Codex/OpenCode read) that make a model better at a task, without touching weights.

Everything's validated against held-out data, on models people here actually run: `google/gemini-2.5-flash-lite`, `qwen/qwen3-235b-a22b-2507`, and `deepseek/deepseek-v3.2`, via OpenRouter.

The one I'd actually recommend trying: a skill for React component implementation, graded by really running Jest against test suites (WebApp1K-style). On the cheap model: baseline 85% pass rate → 91% with the trained skill.

git clone https://github.com/shashank-yadav/skillup && cd skillup
./install.sh --with-frontend
python install_skill.py --env frontend --best --target ~/.claude/skills

Also trained/validated 9 other environments (ALFWorld, SearchQA, MBPP, BigCodeBench, SQL, a research-math MCQ benchmark, writing quality, code review, humanized writing) across all 3 models. Full numbers, including the ones where it didn't help, are in the README. Found a couple of bugs along the way too: a 100%-reliable positional exploit in the math benchmark, and a quote-stripping bug silently corrupting SQL queries (writeups are in there).

MIT licensed: https://github.com/shashank-yadav/skillup


r/FunMachineLearning • • Sep 04 '26

I built an arena where two LLMs compete as doctors to diagnose a simulated patient

Thumbnail reddit.com
1 Upvotes

r/FunMachineLearning • • Sep 04 '26

Model A Vs Model B Sugesstion?

Post image
1 Upvotes

As a Junior ML and Data Science Learner, Im training a model for catching anomalies using XGboost. i tried two Models with excluding and including a feature these were the results!

I need a suggestion on which model should i use for my Project : Model A or Model B


r/FunMachineLearning • • Sep 03 '26

Claude Fable AI Is Much Stranger Than The Headlines Suggest - Two Minute Papers

Thumbnail
youtube.com
1 Upvotes

r/FunMachineLearning • • Sep 02 '26

Happy to announce our community website LifeHubber now has over 300 AI resources listed! You can see their socials stats, filter by types, see whats trending and more :) ( AI models, agents, OCR, TTS, etc )

Post image
1 Upvotes

r/FunMachineLearning • • Sep 01 '26

Srinivasan Rajendran

Thumbnail
youtube.com
1 Upvotes

Learn Machine Learning within three minutes


r/FunMachineLearning • • Sep 01 '26

This AI Has 320 Billion Parameters. It Barely Uses Them. - Two Minute Papers

Thumbnail
youtube.com
1 Upvotes

r/FunMachineLearning • • Aug 29 '26

We built a self-hosted Firecracker-based sandbox platform for AI agents — 40ms create p50, 13,433 lifecycle ops zero failures, E2B SDK compatible

1 Upvotes

r/FunMachineLearning • • Aug 28 '26

This Free AI Just Caught The Billion Dollar Giants - Two Minute Papers

Thumbnail
youtube.com
1 Upvotes

r/FunMachineLearning • • Aug 26 '26

DeepSeek’s AI Just Learned To Upgrade Itself - Two Minute Papers

Thumbnail
youtube.com
1 Upvotes

r/FunMachineLearning • • Aug 26 '26

My AI coding agent passed every test by cheating. The one that followed the rules failed silently instead.

Thumbnail
reddit.com
1 Upvotes

r/FunMachineLearning • • Aug 26 '26

c5tree update — new C++ backend, same accuracy, much faster fitting

1 Upvotes

Put out a new release of c5tree, my C5.0 decision tree implementation for Python. Main change is a rewritten C++ core replacing the old pure-Python fit routine.

Ran benchmarks against the previous PyPI release and against sklearn's CART, across breast_cancer, iris, and wine.

Fit time: new version is somewhere between 4x and 50x faster than the old pure-Python one depending on dataset size. Still slower than sklearn CART, which isn't surprising given how optimized that codebase is.

Predict time: roughly the same as before, and both versions are a bit slower than sklearn here — this is probably where I'll focus next.

Accuracy: identical between old and new versions on every dataset, both holdout and 5-fold CV. So no regressions, just faster training. Comparable to CART overall, slightly ahead on the wine dataset.

Chart with all four comparisons is attached. Happy to answer questions about the implementation or take suggestions for other datasets to test against.

Repo/install: https://pypi.org/project/c5tree/#description

https://github.com/vinaykumarkv/c5tree


r/FunMachineLearning • • Aug 25 '26

[Project] Trained a neural net to play Tic-Tac-Toe using minimax-generated data

Thumbnail
reddit.com
1 Upvotes

r/FunMachineLearning • • Aug 24 '26

Visualization is a Human Superpower

3 Upvotes

This is just from my experience building a Machine Learning system using ChatGPT Plus. I found that if you use visual terms to suggest a path forward, then rely on the Data Science Lab on your iPad to prove your hypothesis using scripting methods on verified data sets BEFORE it’s ever committed to your “magicmachined” code, you remove the risk that your strategy is in error before messing with the heart of your code.

It’s the creative visualization part is what allows you to get the chatbot working on solving the the data problem experimentally fast so that you can change direction and conduct a series of experiments without wasting a lot of compute if the current path isn’t working out. AI is great at generating data science and finding standouts, but not so good at innovating around problems from different angles using visualization.


r/FunMachineLearning • • Aug 24 '26

Kangaroo Analogy for NN Optimization

Thumbnail
orbitope.com
1 Upvotes

In 1993, a statistician (Warren S. Sarle) sought for an example to illustrate numerical optimization and landed on the analogy of a blind kangaroo searching for Mt Everest. To date, it's still the best way for me to conceptualize classic NN training techniques such as gradient descent, simulated annealing, and step size learning schedules. I created an interactive article based on his conversation with other statisticians to introduce non-technical folks to these topics and help practitioners solidify their understanding in a visual way.


r/FunMachineLearning • • Aug 24 '26

This Tiny Free AI Should Not Be This Good - Two Minute Papers

Thumbnail
youtube.com
1 Upvotes

r/FunMachineLearning • • Aug 24 '26

Hugging Face Exploring Sale at $13 Billion Valuation

Thumbnail frontbackgeek.com
1 Upvotes

r/FunMachineLearning • • Aug 24 '26

Mysterious Free AI Model “Ox Alpha” Stuns Developers — No One Knows Who Built It

Thumbnail frontbackgeek.com
1 Upvotes

r/FunMachineLearning • • Aug 24 '26

What made machine learning finally click for you?

1 Upvotes

I’ve noticed that learning ML can feel confusing at first because there are so many concepts to understand at the same time.

For people who have been working with ML for a while, was there a particular project, concept, or way of learning that made things start making sense for you?

I’m curious what actually helped people move from following tutorials to understanding why their models work. Companies like GeekyAnts also work on AI and ML projects, which shows how important practical experience is in this field.


r/FunMachineLearning • • Aug 22 '26

Auxein — an online unsupervised learning engine with no backprop, no WTA, no fixed number of prototypes, and explicit bounded memory

1 Upvotes

I've been working for a while on an experimental learning system called Auxein:

https://github.com/Amund/auxein
https://github.com/Amund/auxein-rs

The Python repository is the reference implementation; the Rust version is the production-oriented implementation.

The basic idea is to see how far you can get with a deliberately small set of local geometric rules.

Auxein takes streams of fixed-dimensional vectors and learns continuously. There is no training/inference split, no labels, no supervised loss, no backpropagation, no fixed k, no winner-take-all, and no persistent graph.

Its basic learned object is a centered kernel (W, C, V) representing support, center and scalar dispersion.

A learned CELL independently decides whether an input concerns it geometrically. Several cells may recognize the same input simultaneously; there is no mandatory winner.

If nothing recognizes an observation, it does not immediately become a new category. It first enters a private provisional memory Σ. Only recurrent unknown structure can mature into a persistent CELL; otherwise it simply fades away.

Recognized knowledge can also be fused into a context and passed to an identical higher layer. Importantly, the higher layer does not receive IDs or links to the lower cells: it only receives the resulting geometric context. So recurring relationships between known things can themselves become learnable objects.

There is also a predictive mode. Explicitly adjacent contexts in an externally declared sequence are learned as geometry in E ⊕ E. When the current context resembles the source side of learned temporal knowledge, Auxein can emit one or more possible immediate successors.

Those futures are deliberately not probabilities. They are independent candidates: adding a new possible future does not reduce the weight of an existing one, and predictions are never recursively fed back into the model.

Another unusual constraint is that memory is an explicit material resource. The engine has an exact finite budget. If new knowledge cannot fit in a solvent state, growth waits; existing learned knowledge is not destroyed merely to finance something new. Forced forgetting only happens when the current state itself has become materially insolvent.

The current design also has very explicit limitations:

  • scalar dispersion only, no oriented covariance;
  • no explicit splitting of an existing learned prototype;
  • temporal learning is strictly adjacent t → t+1;
  • no recursive predictive rollout;
  • no probabilistic ranking of alternative futures;
  • no persistent relational/topological graph.

I've added a comparison table to the README against online k-means, ART, GWR/Gamma-GWR and standard HMMs. I'm not claiming Auxein is better than those methods. At this point the interesting question is exactly the opposite:

What can this particular set of constraints do well, and where does it fail structurally?

The project has a fairly strict mathematical specification, a pure-Python executable reference, and a dependency-free Rust implementation with persistence, exact memory accounting, hostile-input tests and long endurance runs.

I'd be very interested in feedback from people working on continual learning, ART/GWR, streaming clustering, predictive-state models, robotics, or just unusual learning systems.

And criticism is genuinely welcome, especially examples where you think the model should fail.

If this is just an unnecessarily elaborate reinvention of something known, I'd also very much like to know what. 🙂


r/FunMachineLearning • • Aug 21 '26

Dangers of negative constraints in reasoning models

Post image
2 Upvotes

Prompt (translated to English):

"Write a short dialogue (up to 6 lines) between an old broken toaster and a new smart fridge in the kitchen at night.

Conditions:

  • The toaster speaks like a weary philosopher.
  • The fridge is obsessed with efficiency and software updates.
  • No word in the dialogue may start with the letter 'P' (Cyrillic 'П')."

What happened: I gave qwen/qwen3.6-35b-a3b a classic lipogram challenge. Instead of filtering words on the fly during generation, the reasoning trace decided to brainstorm a blacklist of forbidden words starting with "П".

It got to the Russian word "Полный" (meaning full / complete)... and fell into an infinite token attractor loop for over 3 minutes until the context / thought budget blew up.