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

15 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 • • 1d ago

Question 🧠 ELI5 Wednesday

1 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 • • 4h ago

For the Developers who are out there need your help for becoming a good software engineer.

8 Upvotes

As a second-year Computer Engineering student, I'm currently exploring different areas of software development and continuously working to expand my technical knowledge.

However, I'd like to gain better clarity on what I should focus on beyond programming languages and frameworks.

I'd love to hear from experienced developers and fellow students in the industry:

What are the fundamental concepts, technical skills, or areas of computer science that students often overlook but every aspiring software engineer should understand?

Your recommendations and insights would be incredibly valuable in helping me build a strong foundation and make informed decisions about my learning journey.


r/learnmachinelearning • • 1h ago

can anyone help me understand

3 Upvotes

i ve 5+ years of experience in nodejs

i'm learning from 'build an llm from strach - Sebastian Raschka' ... chapter 3 has 'attention mechanism' .. i'm hitting the wall ..

most of the article and youtube vidoes .. it does that it does this ... i wanna understand what is happening .. any experience guys can help me out here ?


r/learnmachinelearning • • 1h ago

WiML/NeurIPS Paris 2026 – Cocktail Reception Guest Ticket Available

Thumbnail reddit.com
2 Upvotes

r/learnmachinelearning • • 1h ago

Software engineer looking to connect with CS, ML and AI researchers

2 Upvotes

Hey everyone! I’m a software engineer with five years of experience, and I’d like to move into a research role. I’m interested in computer science, especially machine learning and deep learning. I’d love to connect with people doing research in these areas, whether you’re a PhD student, an academic researcher, or working in an industry lab.

If you’ve made the switch from software engineering to research, what was your first research project, and how did you get involved? I’m especially curious about how you went from implementing other people’s ideas to finding a question of your own to investigate.

If you’re open to a quick chat, I’d love to hear what you’re working on. Feel free to comment or DM me. I’d also appreciate recommendations for reading groups or research communities that welcome software engineers.

#ComputerScience #AIResearch #MachineLearning #DeepLearning #SoftwareEngineering #ResearchCareers


r/learnmachinelearning • • 1d ago

FREE: Combined 6 free university courses on LLMs into one study path for software engineers

194 Upvotes

Berkeley's agent MOOCs, CMU's ML in Production, MIT's efficient DL course and Stanford CS336 are all free and great, but scattered. I put them into one path for devs with no ML background: 101 chapters, guides to all 77 lectures, 5 capstones, and Python examples that run without an API key.

Every chapter links back to the original lecture.

Site: https://acailic.github.io/ai-engineer-path/

Repo: https://github.com/acailic/ai-engineer-path

A free, self-contained course distilled from six open university courses:

  1. UC Berkeley — LLM Agents MOOC (Fall 2024)
  2. UC Berkeley — Advanced LLM Agents MOOC (Spring 2025)
  3. UC Berkeley — Agentic AI MOOC (Fall 2025)
  4. Carnegie Mellon — Machine Learning in Production (Christian Kästner's course 17-645 and book)
  5. MIT — 6.5940 TinyML and Efficient Deep Learning Computing (Fall 2024)
  6. Stanford — CS336 Language Modeling from Scratch (Spring 2026)

If something's wrong, tell me or open issue.


r/learnmachinelearning • • 19m ago

Rubiks cube solver using Reinforcement Learning (Beating Sebastian Lague's solver)

1 Upvotes

I made multiple attempts at solving the Rubiks Cube using Reinforcement learning. This is a personal project, but I am a 1st year master in CompSci.

Initially, I tried to map states to actions with both Rainbow DQN and GRPO using curriculum learning. This had no success. After scrambling 6 moves it was already to hard for the agent.

Then I found the DeepCubeA approach and I took some inspiration from that. I trained a DQN to estimate the cost-to-go for each possible action, using a combination of demonstrations and self-generated rollouts. Essentially, each output estimates how many moves are still needed to solve the cube after taking that action. I then used these estimates as a heuristic to guide beam search.

With a beam_width of 2^18 and 1.5 hours of Kaggle GPU usage, here are the results for 1000 cubes (100 moves scrambles):

Time per cube: 10.30s

Avg steps: 19.67

Success: 100%

This beats Sebastian Lague's solver which had an average steps of 19.9 to solve the cubes. Not that it is a competition or something :)

Github: https://github.com/Cain15/RL4RubiksCube

Youtube: https://youtu.be/UWPQ-Mzkq_A?si=USXe6cprGiUrqd_8


r/learnmachinelearning • • 32m ago

Career Coursera Plus: Save $160 (40% OFF) on 10,000+ Python & Tech Courses

Thumbnail
pythoncoursesonline.com
1 Upvotes

r/learnmachinelearning • • 52m ago

Need genuine BTech final year project ideas in AI/ML or GenAI/Agents (form due tomorrow lol)

1 Upvotes

Hey guys,

Me and my friend are currently in our 5th sem of BTech CS and our college just dropped the form for final year projects. We have to submit our preferred domain and a rough topic by tomorrow, and we’ll basically be building this from scratch all the way till our 8th sem.

Our department is being pretty strict about the final outcome—it needs to end up as either a solid working prototype/product, a research paper, or a patent.

We really want to stick to either Core AI/ML & Deep Learning or GenAI, LLMs & Autonomous Agents.

The thing is, we really don't want to do those overdone generic projects like a basic PDF RAG chatbot, fake news detection, or standard heart disease prediction using a Kaggle dataset. Since we actually have a good amount of time till 8th sem, we want to build something genuinely cool, technically solid, and actually useful (or publishable). Also keep in mind we are broke undergrads so we mostly rely on Colab, Kaggle GPUs, and free API tiers.

If you were starting a project right now in DL or Agentic AI with a 2-person team, what would you build? Would love any specific problem statements, cool papers to look into, or underrated ideas you guys have!


r/learnmachinelearning • • 3h ago

What I learned distilling a frontier LLM into a 307M & 1.7B encoder for 23-label fallacy detection (soft scores crushed binary labels, then scaling hit a wall at ~20k texts)

1 Upvotes

I ran a small research project to test a practical question: how much of a frontier LLM's judgment survives when you distill it into a tiny bidirectional encoder that runs in a single forward pass on a plain CPU?

Full write-up (with dataset breakdown & notebook): https://elei.io/research/fallacy-encoder/

Live playground to test both encoders (free, no sign-in): https://didistutter.dev

The setup:

- Task: 23-label reasoning & tone classification (e.g., false dilemma, slippery slope, ad hominem, loaded wording) in one forward pass — no prompt, no chain-of-thought.

- Base encoders: mmBERT-base (307M, 8k context) and BidirLM-1.7B-Embedding (1.7B).

- Teacher: GPT-6.1 Sol giving both yes/no labels and 0–100 confidence scores.

- Independent referee: DeepSeek V4.1 Flash (never seen during training) on URL-grouped held-out sets (1,000 real web texts + 400 exam passages from 16 published fallacy datasets) so no thread or page ever leaks across train/test.

Headline numbers (Macro Average Precision):

- Exam passages (400 texts): BidirLM-1.7B hit 0.743 vs. 0.721 for the second full-size LLM

- Open web text (1,000 texts): BidirLM-1.7B hit 0.646 vs. 0.693 for the second LLM; distilled mmBERT-307M hit 0.559 (training 3.9x faster)

- Both stay quiet on ~95% of clean ordinary comments and run in 40–160ms (307M) or <0.5s (1.7B) on CPU.

Three takeaways that genuinely surprised me:

  1. Soft targets (0–100) crushed binary yes/no labels. On the exact same 7,673 texts, keeping the teacher's 0–100 confidence score jumped mmBERT-307M by +0.068 Macro AP on web (0.386 -> 0.454) and +0.091 on exam (0.452 -> 0.543). Near-misses teach the encoder way more than throwing away everything below threshold.
  2. Scaling hit a wall early. After 19,673 real web texts, adding 12,000 more mined comments OR 8,208 carefully written synthetic examples failed to clearly move Macro AP.
  3. Per-class threshold fitting overfit badly. Fitting 23 separate thresholds on the 501-text val set came out erratic (0.06 to 0.68) and didn't beat a single flat cut-off (0.35) on calibrated probabilities.

Main caveat: 11 of the 23 flaws show up fewer than 20 times in the 1,000-text web test, so tail-class performance is still noisy.

If you want to poke at both encoders (switch between 307M and 1.7B, or slide the thresholds live to see calibrated probabilities), the playground is up at https://didistutter.dev — curious what breaks them for you!


r/learnmachinelearning • • 13h ago

LLM Explained

6 Upvotes

r/learnmachinelearning • • 7h ago

Does reducing reasoning tokens actually make LLMs better? (Meta vs. UkisAI Swift)

2 Upvotes

I've been reading Meta's recent work on "overthinking" in reasoning models and UkisAI's technical report on their Swift models. I noticed that these approaches often conflate two different failure modes.

  • Overthinking: The model reaches the correct answer but keeps doubting itself and eventually changes it.
  • Looping: The model keeps repeating the same reasoning until it runs out of tokens.

Meta tried applying a decoding-time penalty to certain hesitation tokens (like "wait" and "but"). UkisAI tried a similar idea, but built a custom token list and also baked the behavior into the weights via LoRA.

The interesting part is the trade-off. Swift generated 24-51% fewer thinking tokens, but its math accuracy dropped (AIME fell from 98.7 to 94.0). Swift 1.5 recovered some of it through GSPO RL and distillation (AIME 96.0), but didn't fully get back to the base model.

This got me thinking: how do we actually know the model is reasoning better, rather than just generating less text?

A few things I'd like to understand better from the community:

  • Would the results look different with greedy decoding or lower temperatures? (UkisAI tested at temp 1.0, but looping is usually worst at low temps).
  • Can we definitively measure whether a model is looping less, rather than just producing shorter answers?
  • Could penalizing certain tokens inadvertently suppress useful verification steps?

I'm wondering whether token reduction alone is sufficient evidence to claim that reasoning has improved.

Curious to hear what others think, especially anyone who has experimented with inference-time optimization.

Papers:


r/learnmachinelearning • • 4h ago

Am I solving the wrong problem by forcing heterogeneous enterprise data into a fixed taxonomy?

1 Upvotes

I’m a data scientist working on a semantic classification problem involving enterprise performance metrics (KPIs) and learning content, and I’m starting to question my approach.

We have tens of thousands of customer-defined KPIs across different industries and languages. Some are standardized metrics, such as customer satisfaction or sales conversion, while others contain internal abbreviations, ambiguous terminology or highly business-specific concepts. Metadata quality varies considerably.

My initial approach was to build a standardized taxonomy and map each KPI to a family.

I’ve experimented with rule-based methods, multilingual embeddings, LLM classification, contextual enrichment and clustering. While precision is relatively good, coverage remains challenging, and expanding the taxonomy seems to have diminishing returns due to the long tail of customer-specific concepts.

There is a separate but related problem of semantically organizing enterprise learning and training content.

I’m increasingly wondering whether classification into predefined categories is the right formulation for either problem.

Would it make more sense to construct a structured semantic corpus or knowledge base, where taxonomies are just one possible representation of the underlying information?

I’m particularly interested in:

  • How to represent heterogeneous business concepts without forcing everything into predefined categories.
  • Bottom-up ontology discovery versus manually defined taxonomies.
  • Handling ambiguous and customer-specific terminology.
  • Whether knowledge graphs, hierarchical representations or enriched semantic documents are better suited to this problem.
  • How to build something reusable across multiple downstream product applications.
  • How to meaningfully evaluate such a system.

Has anyone worked on a similar problem? Are there research papers, frameworks or alternative approaches you’d recommend?

I’m less interested in trying another LLM or embedding model and more interested in whether there is a fundamentally better way to formulate the problem.


r/learnmachinelearning • • 4h ago

Books

1 Upvotes

I'm currently reading AI engineering and data intensive applications along with a few other technical books.

As a second-year Computer Engineering student, I want to strengthen my understanding of the core concepts every developer should know, particularly computer networks, operating systems, system design, application workflows, and software architecture.

I'd love to hear book recommendations from senior developers and fellow students that can help me build strong fundamentals and become a better software engineer.

What books would you recommend?


r/learnmachinelearning • • 6h ago

Camera + lens + lighting advice for AI inspection of stainless steel hose clamps (~2500 parts/day, mixed sizes)

1 Upvotes

Hi all, I'm building an in-house visual inspection prototype for metal clamps (V-band, T-bolt, spring-loaded T-bolt, torque-limiter clamps; stainless steel).

The software side is my own: YOLO Model for defect detection + PatchCore/PaDiM anomaly detection, Python on a Windows PC. I'm looking for advice on the Hardware : camera, lens and especially lighting.

What we need to detect :

  • Thread damage on the T-bolt and nut
  • Wrong bridge assembly / missing parts
  • Spot-weld (nugget) defects (visual signs only)
  • Band damage: dents, kinks, cracks, scratches
  • Missing stamping (stamped part number)
  • Out-of-round shape (planned with a backlit silhouette)

Production numbers

  • ~2500 clamps per day, so roughly 8 s per part in one shift
  • Mixed sizes: diameter from about [40] mm to [40] inch
  • Smallest defect we'd like to catch: about [0.5] mm
  • Parts are placed by hand for now (no conveyor yet)
  • We do NOT want to change zoom/focus per part, so I'm planning one fixed setup for all sizes and normalising the scale in software

What I've tried so far

  1. Luxonis OAK-1-W (12MP, wide angle): fixed focus, one side of the image soft
  2. 8MP USB UVC webcam module: OK for testing, not industrial
  3. The Imaging Source DFK Z30GP031 (5MP, motorised zoom, GigE PoE): works, but zoom repeatability and a dim red LED ring light (colour camera) give long exposures and strong reflections on the shiny band

Current plan / questions

  1. Camera : I'm leaning towards a 5MP global shutter colour camera with a Sony IMX264 (e.g. Hikrobot, Daheng, Basler ace 2 Basic), USB3 so it connects directly to the PC. Is 5MP enough, or should I go to 12MP for threads/stamping on the largest clamps? Any brands to avoid?
  2. One camera or two? Is it realistic to inspect threads and stamping from one top-down photo, or is a second dedicated camera for the bolt area the norm?

Thanks for any advice!


r/learnmachinelearning • • 7h ago

Project Building BubblSpace, a small language model from scratch, in the open.

Thumbnail
bubblspace.com
1 Upvotes

Training a 1B MoE model on single H100 with all stages for a budget of $1000

I wanted to share about this project. Model was trained on 1 H100 ( cheaper pcie version) along with a single A10 to run evals continuously on the new checkpoints. Model is trained on around 40 billion tokens. on same token budget BubblSpace is ahead of Olmo2 1b on Winogrande. Most phases will be done by tonight

objective

  • Run full pre training cycle (Phase1 Base model -->Phase 2 Agentic+Coding--> Phase 2.5a Mid training--> Phase 2.5b Context length extension --> Phase 3 SFT (Current) --> Phase 4 RL.
  • Write custom evals.
  • build data pipeline.
  • Perform small experiments ( like WSP) on new checkpoints.
  • Be confident before starting a DP/EP/TP run on bigger model.
  • Build a model which has better understanding of relationships ( Models that bind)

All the code , data , wandb runs & checkpoints are open and available of github/hf / wandb. (All the links are on project page https://www.bubblspace.com/) Since we use a single H100 we don't need DP.

Learning

  • Even on a single H100 profiling helped. Data loading optimizations help in a big way to reduce training time.
  • Importance of cool down / anneal phase- This was not very obvious to me however cooldown phase has a very big impact on small models.
  • Evals, evals & evals - It is very hard to understand how model is actually performing. Setting up a full pipeline right up front really helps.
  • Skills like calculation appear late- Olmo2 1b strained 4T tokens . Calculation skills appear late in training between 160b- 4T runs.

Next Project :A bigger model using parallelism with deeper profiling


r/learnmachinelearning • • 8h ago

The 86400x error that passes every dimensional check

1 Upvotes

I want to describe a bug class that bites people writing their first simulation, because the numbers stay plausible the whole way. You write an SIR model, declare the infection rate as 0.3 per day and step the integrator with t measured in days. Then one afternoon you switch the rate to 0.3 per second, or a helper returns seconds while the parameters assume days. The dimensions still match, 1/time against 1/time, so a dimension check passes and the curve just comes out wrong by a factor of 86,400. Nothing throws. You tune the parameters until the curve looks right again, and now the fit is meaningless.

That gap is what I built axiomize for. It is a modeling layer that takes a model declaration, keeps a versioned Model IR, and validates it before any numbers are produced. Units are mandatory on every parameter and variable, so a declaration looks like this: beta with unit 1/day, S and I in persons, N in persons, t in days. The check runs on canonical unit scales rather than dimension exponents alone, so 1/day against 1/s is refused instead of being accepted as both being inverse time.

The failure is loud by design. Simulation routes through the same validation as axiomize model --action validate, and a mismatch raises ModelDimensionMismatch carrying the failing checks rather than returning an array of numbers. There is also an audit for the quiet version of this problem: unit_declaration_audit reports every symbol that would silently default to dimensionless, which is usually where an unlabeled constant hides.

The part that mattered for my own work is what leaves the tool. Models export to canonical JSON, SBML Level 3, CellML 2.0, Modelica and a SHA-256 bundle, and values with units round-trip bit-exactly, which is asserted in the test suite rather than promised in prose. A run ledger keeps the provenance, so a stored result can be checked before someone reuses it. For coursework or a paper, that is the difference between shipping a notebook and shipping something a reviewer can rerun.

Install is pip install axiomize, or npm install -g axiomize if you want the Node entry point. The CLI has axiomize capabilities, axiomize solve, axiomize fit, and 16 actions under axiomize model, including plan, validate, simulate, numerical-verify and export.

What it does not do: it does not make a bad model good, it makes a bad model fail loudly. Numerical verification compares against closed-form theory and separates numerical error from stochastic variability before claiming convergence, but if your equations are wrong the tool will happily verify the wrong model consistently. Bayesian sampling needs the full extra with PyMC and JAX, and FEM needs FEniCS; both are reported as unavailable rather than silently swapped for something else.

One honest limit: dimensional and scale checking catches unit errors, not physics errors. A model with correct meters and seconds can still be the wrong model, and the worked examples in the repo use illustrative parameter values, not literature-backed ones. The checking is a floor, not a validation of your science.

MIT, 1.15.0 on both PyPI and npm: https://github.com/Furox-Art/axiomize


r/learnmachinelearning • • 21h ago

Question What AI Projects Should I Showcase in My CV in 2026?

11 Upvotes

I have 5 years of Python development experience and am targeting Senior AI Engineer roles.

I have experience with Python, FastAPI, LLMs, RAG and AI automation.

What 3–4 projects and technologies would make my CV stand out in today's AI engineering job market?

Looking for suggestions based on actual industry hiring trends, not basic tutorial projects.

Thanks!


r/learnmachinelearning • • 14h ago

Request Critical Juniper Session Smart Conductor Flaw Exploited in Attacks

3 Upvotes

CVE-2026-103406 in Juniper's Session Smart Conductor allows remote attackers to execute arbitrary commands as root with no authentication required. CISA has confirmed active exploitation in the wild.

What makes this category of vulnerability different from a typical endpoint compromise: Session Smart Conductor sits at the traffic-routing layer. Root access there means an attacker controls flows across the entire network, not just the node they landed on. The blast radius is structural, not incidental.

Patching cadence rarely matches exploitation speed on CISA's KEV list. The gap between public disclosure and patch deployment is measured in days to weeks. Active exploitation means that gap is already being used.

For those running critical routing infrastructure: what does your actual containment posture look like when a core conductor process is compromised before a patch is available? Not asking about patching — asking about what limits propagation in the window before you can patch. Curious what practitioners are actually doing here, not what the frameworks say to do.


r/learnmachinelearning • • 10h ago

AI Engineer Interview Series | Part 01/10

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 10h ago

Looking for the Long Range Arena (LRA) Pathfinder dataset

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 10h ago

Up to what extent I should understand(differentiate) gradient descent, Adam and AdamW?

1 Upvotes

I will have a ml engineer interview on next Monday and I am trying to write a post about gradient descent, Adam and AdamW. But, now I feel lost.


r/learnmachinelearning • • 10h ago

Introducing IDSS: AI-Powered Intelligent Decision Support System using Generative AI & AutoML

Thumbnail
linkedin.com
1 Upvotes

🚀 Introducing IDSS – Intelligent Decision Support System

Hello Streamlit Community! 👋

We are excited to introduce our final-year Data Science project: Intelligent Decision Support System Using Generative AI and Machine Learning (IDSS).

IDSS is an AI-powered platform designed to simplify and automate the data science workflow. It combines LLM-powered agents with a deterministic AutoML engine to perform intelligent data analysis, model training, evaluation, and decision support.

✨ Key Features

  • 📊 Automated Exploratory Data Analysis (EDA)
  • 🤖 AI-powered data analysis using intelligent agents
  • ⚙️ Automated Machine Learning (AutoML)
  • 🧠 Automatic model training and hyperparameter tuning
  • 📈 Model comparison and performance evaluation
  • 💡 AI-generated insights and recommendations
  • ✅ Grounding checks to prevent AI-generated inaccurate results

🛠️ Technology Stack

Python | Streamlit | Machine Learning | Generative AI | LLM Agents | AutoML

🔗 Project Announcement

Read our project announcement on LinkedIn:

https://www.linkedin.com/posts/raj-patil-223172290_finalyearproject-generativeai-machinelearning-ugcPost-7531562469257797632-3bBW/

🙌 Feedback Welcome!

This project was developed collaboratively by our final-year Data Science team.

We would love to hear your feedback, suggestions, and ideas for improvement from the Streamlit community.

Thank you! 🚀