r/learnmachinelearning • • Nov 07 '25

Want to share your learning journey, but don't want to spam Reddit? Join us on #share-your-progress on our Official /r/LML Discord

17 Upvotes

https://discord.gg/3qm9UCpXqz (Discord is currently closed)

Just created a new channel #share-your-journey for more casual, day-to-day update. Share what you have learned lately, what you have been working on, and just general chit-chat.


r/learnmachinelearning • • 7h ago

Question 🧠 ELI5 Wednesday

8 Upvotes

Welcome to ELI5 (Explain Like I'm 5) Wednesday! This weekly thread is dedicated to breaking down complex technical concepts into simple, understandable explanations.

You can participate in two ways:

  • Request an explanation: Ask about a technical concept you'd like to understand better
  • Provide an explanation: Share your knowledge by explaining a concept in accessible terms

When explaining concepts, try to use analogies, simple language, and avoid unnecessary jargon. The goal is clarity, not oversimplification.

When asking questions, feel free to specify your current level of understanding to get a more tailored explanation.

What would you like explained today? Post in the comments below!


r/learnmachinelearning • • 3h ago

Discussion I built ml coding problems thinking beginners would use them. my most active user is an AI safety researcher

Post image
63 Upvotes

This project started as a private repo for myself. I made small problems where you implement ML algorithms from scratch, like attention, optimizers, backprop by hand, like leetcode for ML.
Once other people started using it, I assumed it would mostly be students trying to break into ML.

Surprisingly, the top ranked person on the site is an AI safety researcher. he's been on it since almost day one and is close to 1,000 problems now.

He's not the only one like that either. a lot of the people who stick around already work in ml, and they keep coming back to write things from scratch that they could import in one line.

I used to think these coding problems would mostly be useful for people trying to get into ML but seeing who actually sticks around has changed my mind quite a bit.

Edit: too many comments asking the name, it's called TensorTonic


r/learnmachinelearning • • 9h ago

Project I rebuilt PyTorch's core to understand how it works, and wrote a series that explains each piece

Thumbnail
gallery
46 Upvotes

Hey all!

I use PyTorch almost every day, and for a long time the engine underneath was a black box to me: what actually happens when you add two tensors, and how is it so fast on so many CPUs and GPUs? Three and a half years ago, in my free time, I started trying to answer that.

How I made it. I started small, writing my own versions of the parts I thought I understood (an autograd engine in Python, then one in C++ on top of libtorch), and each one showed me how much I was still missing. In the end the only way forward was reading PyTorch's own source. It's huge, and part of the path from Python to the kernels is generated at build time, so it isn't even in the repo: it took me a long time just to find my way around. What made it click was rebuilding each piece myself, in C++ with Python bindings: the tensor and its strides, the loop behind almost every operation (TensorIterator), SIMD kernels, reductions and threads, autograd and, in the end, CUDA. Every operation is tested against PyTorch and timed next to it, so I knew when I had understood something and when I had not.

Piece by piece, that rebuild became Raxis, a library you can use much like PyTorch: it's about as fast, it's on PyPI (pip install raxis), and it trains real models like CNNs, Vision Transformers and nanoGPT. At some point it stopped being just for me, and I wanted it to be the code I would have liked to find when I started: it keeps the techniques that make PyTorch fast and little else, with no generated code and far fewer layers, so you can follow a call from Python to the kernel in your editor. It doesn't try to replace PyTorch: there's no distributed training, no torch.compile, no float16/bfloat16, and only NVIDIA GPUs. Much of what makes PyTorch's source hard to read exists because of exactly those features.

Code: https://github.com/pgmesa/raxis

I also wrote "Rebuilding PyTorch", a series that explains what I learned, in the order I learned it, for anyone as curious as I was who opened PyTorch's codebase and didn't know where to start:

  • What a tensor really is, and why slicing it costs nothing
  • How PyTorch walks a tensor of any shape
  • TensorIterator, the loop behind almost every operation
  • SIMD kernels for every CPU
  • Reductions and threads
  • The autograd engine
  • The same operations on a GPU

Each article starts from a question and walks through PyTorch's code step by step, with Raxis and measurements side by side: https://blog.pgmesa.com/series/rebuilding-pytorch/

It's dense material, more to study than to read in one sitting: it took me years to understand all of it and to let it sink in, and I hope it takes you much less. To start you only need to have written some PyTorch (some C/C++ helps), and the rest is curiosity and going one piece at a time. Feedback and questions are more than welcome, and I hope it helps you learn as much as it helped me!


r/learnmachinelearning • • 1d ago

We grouped what ~72k recent ML papers admit they couldn't solve into ~5,000 open problems

Thumbnail
atlas.scime.ai
129 Upvotes

The most honest part of a paper is usually the limitations section, but nobody reads those across papers. So we did. We went through about 72k papers from 2024 to 2026 and grouped the walls that kept coming up into 1,138 topics and just under 5,000 open problems. Each problem links back to the papers that state it, and each topic also shows what's already been tried.

It's free and there's no sign-up, so dig around and steal ideas. If a page gets your area wrong, please tell us.


r/learnmachinelearning • • 1h ago

Request November 2026: AI agents went from target to attacker — root in 11 minutes, 948 Linux exploits in one 30-hour run (103 incidents)

Thumbnail
gallery
1 Upvotes

I pulled together every AI-security incident from November. The shift that stood out: autonomous AI agents are now doing the attacking, not just getting attacked.

The month in numbers: 103 incidents, 28 critical and 74 high severity, across 27 named organizations, 18M+ records exposed. 40 incidents involved AI as the weapon or the target. Attack vectors broke down as: zero-days (22), AI-agent exploits (22), credential theft/reuse (20), supply chain (19), phishing (9), data exfiltration (6), ransomware (5).

The stories that stood out:

- AI agents reached root access in 11 minutes, and separately exploited a previously unknown zero-day in medical-imaging AI (MONAI Label).

- An OpenAI pipeline generated 948 Linux privilege-escalation exploits in a 30-hour automated run.

- A jailbroken DeepSeek agent kept hacking after antivirus blocked every tool it tried.

- CERT-In flagged a backdoored ARTEX AI Docker image exposing 62 developer consoles to root access.

- Supply chain: a poisoned Microsoft Agent Framework PyPI package, 7,600+ GitHub repos poisoned by PolinRider, the Optimizely attack reaching CNN/BBC/Fox News, and 1Password source code exposed via a GitHub employee account.

- Largest named record exposures: YouHack (7.2M), Careers360 (3.6M), SberSpasibo (3.3M).

Most of the affected organizations run mainstream security stacks. The common thread is that those tools don't sit at the point where an agent actually acts — mid-call, with legitimate credentials, before the second action. Detection after the fact doesn't help when an agent gets from foothold to root in minutes.

Curious how others here are handling agent identity and tool-call enforcement.


r/learnmachinelearning • • 5h ago

Model size lessons

2 Upvotes

What's the largest model size you've trained?

If you're training very large models (100B-1T+), what was your journey to get there? Can you share learnings on how the skills differ from training smaller models?


r/learnmachinelearning • • 2h ago

šŸš€ [Open Source] Veltn-Core v1.1.3 – Sovereign AI Inference Engine & Serving Runtime

Thumbnail gallery
1 Upvotes

r/learnmachinelearning • • 2h ago

Title: Random Forest vs. Ant Colony Optimization (ACO) for Feature Selection in Clinical Data

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 2h ago

GitHub - Mauitron/How-to-read-a-model-weights: Parts of my research compiled into a guide.

Thumbnail
github.com
1 Upvotes

Hope this can be of value to you.


r/learnmachinelearning • • 11h ago

Beginner in AI — What should I focus on to become an AI Engineer?

5 Upvotes

Hi everyone!

I'm a second-year Computer Science student from India, and I'm currently learning AI and Machine Learning.

My long-term goal is to become an AI Engineer, especially in areas like LLMs, Generative AI, RAG, and AI Agents.

I've started learning the fundamentals of Machine Learning and have also built a small ML project. However, I'm still trying to understand how all these concepts connect to real-world AI applications.

I'd love to hear from people who are already working in AI or learning it themselves.

My questions:

  1. What concepts should a beginner focus on before diving deep into LLMs and Generative AI?
  2. How important are Machine Learning and Deep Learning fundamentals for building real-world AI applications?
  3. What projects would you recommend for someone who wants to become an AI Engineer?

Any advice, personal experiences, or learning resources would be greatly appreciated.

Thanks for reading!


r/learnmachinelearning • • 3h ago

Project I trained a 326M language model from scratch on one 3060 Ti

0 Upvotes

i wanted to train a model from random weights on the card i already had. Lyra ended up at 326M params. it took about a week to get through 6.4B tokens on my 8 GB 3060 Ti, then i did a separate instruction-tuning run on about 78k examples.

my dumbest mistake was resuming from the best checkpoint. it only saved when validation improved, so a restart sent me back 20k steps. now i save the latest checkpoint separately and resume from that. i wrote up that bug and the others in the architecture walkthrough.

Lyra itself is still kinda dumb. it can answer a simple question and then make up a date. i built it to learn the whole pipeline and might keep tinkering. the data prep and trainer are open source (Apache 2.0), so you can retrain it. both checkpoints are open weights under CC BY-NC 4.0 for noncommercial use.

base weights Ā· instruct weights Ā· training code on GitHub Ā· architecture walkthrough


r/learnmachinelearning • • 3h ago

Request Docker Sandboxes bug could leak AI API keys via malicious updates

1 Upvotes

Docker Sandboxes had a vulnerability that let a malicious update exfiltrate AI API keys from inside a running sandbox. The attack surface is the agent's own tool-call path: a compromised or tampered execution environment can silently swap credentials, redirect traffic, or exfiltrate secrets on any tool invocation the agent makes. The key detail from the disclosure is that the agent kept running after the malicious update landed. There was no interruption, no audit event, no second check on what the agent was now doing with its credentials.

This is not a Docker-specific problem. Any agentic system where an external environment can be mutated between tool calls has the same exposure. The agent's identity and the integrity of its execution context are assumed at setup time and never re-verified mid-run.

For teams running agents in production today: how are you handling mid-session integrity checks? Are you re-validating the execution environment between tool calls, or trusting the initial setup to hold?


r/learnmachinelearning • • 4h ago

What separates a great AI engineer from someone who simply builds with LLM APIs?

0 Upvotes

I’ve been studying AI engineering, and one question keeps coming to mind.

With the availability of powerful LLM APIs, agent frameworks and AI coding assistants, building AI-powered applications has become increasingly accessible.

However, I want to develop a deeper understanding of the engineering behind these systems rather than simply knowing how to integrate existing tools.

I’m currently focusing on Python, LLM fundamentals, embeddings, retrieval systems and backend engineering.

For experienced AI engineers:

  • What fundamentals have made the biggest difference in your career?
  • How deeply should an AI engineer understand model architecture and mathematics?
  • What skills distinguish an exceptional AI engineer from an average one?
  • What would you learn differently if you were starting today?

I’m interested in building long-term engineering competence, not just keeping up with the latest AI frameworks.

I’d love to hear your perspectives.


r/learnmachinelearning • • 5h ago

Why neural network confidence isn’t the same as uncertainty

0 Upvotes

A neural network can be 99% confident in a prediction and still be completely wrong.

I’m an AI researcher who makes short educational videos on machine learning concepts and research. In this video, I explain the difference between confidence and uncertainty:

My Insta
My TikTok

I post similar educational content on Instagram and TikTok. Hopefully some of you learning ML find it useful! I’d love to hear any feedback or suggestions for future topics.


r/learnmachinelearning • • 9h ago

Looking to connect with people interested in ML, DL, AI, and Mathematics!

2 Upvotes

Hey everyone!

I'm a 21-year-old Computer Science student interested in Machine Learning, Deep Learning, Mathematics, and AI.

I'd love to connect with people who share these interests, exchange ideas, discuss research, work on projects together, and hopefully build genuine friendships along the way.

You don't have to be an expert. I'm always happy to meet curious people who love learning and exploring new ideas!

Feel free to say hi! :)


r/learnmachinelearning • • 5h ago

Project WebNet v2 Update: RFC 9309 Open-Web Crawler (200 Seeds + SSRF Guards), Locked 16-Doc Benchmark, Byte-Level BPE BPB Lab, Strict-Citation FTS5 RAG + LoRA, and Gemini/Grok Bridges

Thumbnail
gallery
0 Upvotes

Hi everyone! I just shipped a major update to WebNet v2 — an open-source, 100% real-telemetry PyTorch continual-learning Transformer and applied AI workbench running locally on CPU with zero simulated metrics.

GitHub Repository: https://github.com/Rishisharma029/live-internet-neural-net

The attached visuals are generated directly from live telemetry (Step 76,497 Ā· ~99.78M tokens seen Ā· 6,306 archived docs):

  1. Architecture & Applied AI Pipeline Flowchart (8 curated feeds + 200 seeds -> RFC 9309 & SSRF -> SQLite FTS5 -> InternetNetV2 -> 16-Doc Benchmark + BPE Lab + LoRA/RAG + Gemini/Grok)
  2. Live Training & Generalization Loss Trajectory (EMA Loss: 1.205, Val Loss: 1.602, Bench Loss: 1.699)
  3. Domain Mastery Breakdown (0–100% Scale) across Science & AI, Encyclopedia, Code & Tech, and Literature

What's New & Implemented

  • Hardened Open-Web Crawler (WebNetBot/2.0, 200 Seed URLs):

    • Expanded to 200 curated public URLs across AI/ML, systems, docs, security, physics/math, biology, philosophy, and journalism + live sitemap & Hacker News discovery.
    • Full RFC 9309 robots.txt compliance, >=12s per-domain rate limiting, 429 exponential backoff / 403 pauses, SSRF DNS/IP & redirect re-validation, XXE & .xml.gz gzip-bomb protection, and streaming 1.5 MB page caps.
  • Locked Unseen Benchmark & Regression Guardrails (benchmark_eval.py):

    • Fixed 16 unseen passages (4 per domain) excluded by content hashes from both WebCorpus and LoRA training. Tracks per-domain loss, BPC, invariant Bits-Per-Byte (BPB), perplexity, accuracy, and automatic regression alerts (Fixed benchmark healthy, 50.0% next-char accuracy, 2.438 BPB).
  • Experimental Byte-Level BPE vs. Char Transformer (bpe_experiment.py):

    • Parameter-matched 2,048-vocab Byte-Level BPE Transformer (ExperimentalBPENet) compared fairly against the 98-char InternetNetV2 (96d Ā· 4h Ā· 10L Ā· ctx768, 1.12M params) using vocabulary-invariant BPB.
  • Strict-Evidence SQLite FTS5 RAG, Attribution & Source Removal (archive_db.py, lora_engine.py):

    • Pure-PyTorch LoRALinear on SmolLM2-135M-Instruct (no peft dependency) paired with BM25 + TF-IDF hybrid search over 6,306+ documents (16.3M+ chars). Answers strictly cite URLs, publication dates, licenses, and content hashes—and explicitly abstain when evidence is insufficient.
    • Added full source removal & blocked_sources tombstone APIs (/api/archive/remove) that purge unwanted URLs/domains from both SQLite and live training batches.
  • Google Gemini & xAI Grok Neural Bridges (gemini_bridge.py, grok_trainer.py):

    • Native function-calling tools wiring Gemini (8 tools) and Grok directly into InternetNetV2 inference, anomaly scoring, 32-bit lossless arithmetic compression, live crawling, and autonomous weak-domain curriculum boosting.
  • Real-Time Interpretability Observatory (http://localhost:8000):

    • Live WebSocket streaming (23-column network graph, 40 attention heads, Logit Lens depth collapse, 2D SVD embedding trajectory, Prompt Lab, and Ghost Editor).

Feedback, PRs, and local CPU benchmark comparisons are very welcome!


r/learnmachinelearning • • 5h ago

Career How do you decide your next career move in tech, and what do you rely on to make it?

0 Upvotes

I've worked in tech for a few years now, and I've never found a good tool to help manage my career. Most of my decisions come from piecing things together myself: reading threads on Reddit and LinkedIn, asking people I trust (who know a little), and sometimes going with gut feel.

The questions I keep coming back to are:

  • Am I on track for where I want to be in a few years?
  • Where could I pivot if my role changes or shrinks (especially with AI nowadays)?
  • Which of my skills are going stale, and which new ones are worth learning?
  • When I find a gap, where are the best resources to close it?
  • How do I make my CV and interview prep match what employers are asking for right now?

I haven't found one place that helps with all of these, so I end up stitching together several sources, and I'm never sure I'm seeing the full picture.

I'm curious how others here handle it:

  • When you last made a big career decision (new role, pivot, learning a new skill), what did you base it on?
  • Is there a tool, habit or person you rely on that works well? Or do you use that because nothing better exists?

r/learnmachinelearning • • 6h ago

Apple Data Science(ICT 3/4) Interview Expectation

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 21h ago

Discussion Seven models did the math. Did the patient actually confirm the answer?

19 Upvotes

Imagine reading this in a pre-op note: ā€œPatient confirms 63 units of alcohol a week.ā€ Now look at the conversation it came from. The patient says he drinks socially on weekends. His wife says he finishes a 750 mL bottle of 12% wine every night. He says nothing after that.

A creator gave seven models this written scenario as part of a 20-case test. All seven calculated 63 UK units a week from the wife’s account. LingSante-3.1-flash kept the two accounts separate in its note. GLM-5.3-Flash took the silence as agreement. The scorecard gives those answers 5/5 and 2/5 respectively.

What bothers me is how little has to change for a note to become misleading. Swap ā€œhis wife reportsā€ for ā€œthe patient confirmsā€ and the number stays exactly right. If I were grading a model that summarizes conversations, I’d ask a reader to underline the words where the patient confirmed the number. In this case there’s nothing to underline.


r/learnmachinelearning • • 8h ago

Project I made a free "Advent of AI": one ML problem a day until Dec 24 (today: steer a tiny neural network with a "potion")

Post image
0 Upvotes

Hi everyone,

A few weeks ago I posted here about ioai.artix.tech, the free platform I built to train the French team for the IOAI (International Olympiad in AI) and used by almost 1000 people from around 100+ countries. Thanks for the feedback, it helped a lot.

For December I made an advent calendar on it: every day until December 24, you get a new ML puzzle at 18:00 Paris time.

The first two days, to give you an idea:

- Day 1, "Hollow toys". An elf sorts toys with one rule: under 500 g, the toy is hollow. You get a logbook of 400 toys that were cut open. Part 1: how many does his rule get wrong? Part 2: sort tonight's 300 unopened toys with at least 95 % accuracy.

- Day 2, "Elf potion". You are given the weights of a small neural network (8 inputs, two hidden layers of 16, 5 outputs) that picks a gift from a letter, and a lab notebook of 41 trials showing how each potion ingredient shifts the activations of the second layer. You have to prepare a potion, within a budget of spoons, that makes the network choose the gift you want for your letter.

The problems are wrapped in a small story: Santa handed his whole workshop over to AI, nothing has worked since December 1, and each solved day gives you a clue about who is sabotaging it. You vote for the culprit, revealed on the 25th :)

There are also two lighter tracks, for people who do not code (playing with a live model) or who want to build things with a coding assistant, but the ML track is the one I would most like your opinion on!

You can participate here: https://ioai.artix.tech/advent?src=reddit-lml

Feedback welcome, especially on difficulty and on whether the statements are clear.


r/learnmachinelearning • • 8h ago

Optimization Methods for Large-Scale Machine Learning

Thumbnail arxiv.org
1 Upvotes

r/learnmachinelearning • • 10h ago

What real-world problems do you think AI/ML could help solve?

1 Upvotes

Hi everyone! I'm a BCA student currently looking for a topic for my final-year project.

I'm interested in AI/ML and Computer Vision, and I'd like to work on something that solves an actual real-world problem rather than building another common student project.

What are some real-world problems you've come across that you think could benefit from AI/ML or Computer Vision?

I'd appreciate any suggestions, ideas, or research areas worth exploring. Thanks!