r/learnmachinelearning • • 2d ago

Career Working professional, looking for part time work where I work on research related things

1 Upvotes

Hi guys, I'm a working professional currently working as a data scientist and I've gotten bored of the same bullshit, so I'm looking for part-time work where I can work on real and interesting problems. Any leads will help, thank you.


r/learnmachinelearning • • 2d ago

Help Suggest me courses for learning GenAI and Agentic AI

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 2d ago

Tutorial Choosing a Vector Database for AI RAG: HNSW, Hybrid Search, and Architecture Tradeoffs

Thumbnail interconnectd.com
2 Upvotes

Most RAG systems fail at retrieval long before the LLM generates a bad answer. Picking a vector database comes down to workload scale, index choice like HNSW versus IVF, metadata filtering, and whether you need hybrid search alongside keyword matching.

​I put together a practical architecture guide covering how vector indexing, chunking, and retrieval trade-offs play out in production AI systems: https://interconnectd.com/blog/70/vector-databases-for-ai-the-complete-architecture-guide/

Curious how you are handling index memory and hybrid search in your current setups. Are you sticking with a dedicated vector store or running pgvector?


r/learnmachinelearning • • 3d ago

Colors are our embeddings of light: an intuition for tokens and embeddings

Thumbnail fedemagnani.github.io
59 Upvotes

I wrote a post to build some intuition about tokenization and embeddings, using human sight as an analogy. While being different in a thousand of aspects, embedding and visual systems have some similarities and tracking them helped me in sparking intuition so I wanted to write a post about it.

Similarly to LLMs, human eyes also produce a vectorial representation of the encoded source (in this case, light) through the cone cells living in our retina, which is later processed by the visual cortex, giving us the perception of colors. This "embedding" of light is called the LMS tristimulus vector, and it acts as a sort of learned feature for light, developed over millions of years of evolution while chasing reproductive success.

LMS tristimulus vector as an "embedding" of light

Similarly to embeddings, each entry of the LMS vector alone is not enough to tell anything useful about the encoded source (because of the problem of univariance), and studies suggest that the sensitivity functions producing each quantum catch (i.e. each entry of the vector) have been shaped to serve very practical goals related to reproductive success, such as identifying young leaves and fruits.

Relating the embedding space and the "color space" is fascinating because in both cases we have a system (model or human) which learns to encode a source in a coordinate system that helps it achieve a certain goal, hence attaching to the source a "meaning" that makes sense just for that system (because of the way it is structured and has been trained). This meaning takes the form of a lossy encoding which extracts only what matters for the end goal, being purely instrumental to its achievement.

Any feedback/recommendation is warmly welcomed!

https://fedemagnani.github.io/llm/2026/11/22/colors-are-our-embeddings-of-light.html


r/learnmachinelearning • • 3d ago

Question For those who became AI Engineers, how did you actually learn the field?

44 Upvotes

I’d like to hear from people who are already working in this field:
● Did you mainly learn through online courses?
● Did you use books to build your knowledge?
● Did you learn by building projects, experimenting, and understanding the code?
● Did you follow a structured roadmap, or just learn things as you needed them?
● Which courses, books, or resources made the biggest difference?


r/learnmachinelearning • • 2d ago

Discussion Starting MS online (ML & DL) in a Month : How Should I Prepare and eventually transition??

1 Upvotes

Hi everyone!
I have close to 10 years of software engineering experience(leading investment banking firm )primarily in full-stack development, with a UI-heavy background.
I’m comfortable working with Python, Node.js and JavaScript, but I haven’t worked extensively in traditional ML/DL.
I’m starting UT Austin’s MSCSO program next month, with Machine Learning and Deep Learning as my first-semester courses. I have roughly one month to prepare and want to make the most of it.
I’d love advice from people who have taken these courses or transitioned from SWE into AI/ML.
A few questions:

  1. Prerequisites: Which topics in linear algebra, calculus, probability and statistics should I prioritize before starting?

Is this book good enough : https://mml-book.github.io/book/mml-book.pdf

2. Technical preparation: How comfortable should I be with NumPy, Pandas, Scikit-learn and PyTorch? Or anything else that I should be learning??
3. Learning resources: Which courses, books or YouTube playlists would you recommend for preparing specifically for ML and DL?
4. Practical experience: Are there any small projects or implementations you’d recommend completing before the semester?
5. UT Austin MSCSO: For those who have taken these courses, what do you wish you had studied beforehand? How mathematically intensive are they?
6. Career transition: My other goal is to move into an AI/ML engineering role sometime in 2027. Given my SWE experience, which roles and skills should I target first? Looking to target FAANG .
7. Research: Eventually, I’d like to move towards ML research. What’s a good way to start building research-oriented skills alongside the coursework?
I’m not looking for shortcuts. I want to build strong fundamentals while also making a realistic transition into the AI/ML space.


r/learnmachinelearning • • 2d ago

Help BRT/RF vs Bayesian Methods

4 Upvotes

I am trying to do a spatial study predicting occurrence. I have a whole bunch of geographic covariates stored as rasters and want to use a method to compare their associations with an occurrence (it's logistic, it either happened or it didn't). I know how to use BRTs and RF and think they would be an applicable methodology. But other people are using Bayesian methods to help with spatial autocorrelation etc. I have reasons that I'd rather do ML but I need to have my rationale water tight.

Is anyone able to have an opinion or have a discussion about the differences? I could use anything I can get. Chat GPT is just being sycophantic at this point.


r/learnmachinelearning • • 2d ago

Request FBI Investigating Apparent Hack of Its Key National Criminal Justice Database, AP Source Says

2 Upvotes

The FBI is investigating a breach of its national criminal justice database — a system shared across law enforcement agencies nationwide. An AP source confirmed the investigation is active.

The pattern is one security teams will recognize immediately: a high-value data store, authenticated credentials that turned out to be compromised, and lateral movement that continued long enough to matter. The database holds sensitive records for agencies across the country. The breach is not a perimeter failure. The identity got in. The problem is what happened after.

This is the core tension in defending high-value shared systems: authentication tells you who claimed to be at the door. It says nothing about whether that identity is operating within its declared scope once it is inside. Lateral movement exploits exactly that gap. By the time anomalous queries are detected and a human reviews them, the damage is done.

For those of you working on access control for sensitive government or enterprise data stores — not perimeter security, but what happens after a credential is authenticated — how are you actually handling scope enforcement at query time? Is your detection fast enough to matter, or are you essentially doing forensics after the fact?


r/learnmachinelearning • • 2d ago

Question How are you handling reliability in production AI agents?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 2d ago

Title: [P] I tried reducing GPU memory by saving only what backprop needs. I published the SHV experiments, including the ones that failed.

1 Upvotes

I started looking into GPU memory optimization for a pretty ordinary reason: I kept running out of VRAM when trying to train models on my own hardware.

The project is called SHV (Sub-loop Heterocoding VRAM).

The idea I've been testing is to avoid keeping every native forward intermediate until backward. Instead, a custom autograd path saves a smaller representation designed around what a particular backward operation actually needs, then decodes or recomputes that information when the gradient is calculated.

I tested several versions on GPT-2 Small using NVIDIA GPUs. A few results from the Tesla T4 experiments:

  • In an MLP/LayerNorm subgraph, the custom saved-state path reduced full-step peak allocated memory by about 53%, but throughput was only about 46% of native. That's a subgraph result, not a whole-model figure.
  • A short full-model EM4+D9 experiment reduced peak allocated memory by about 14.7% relative to Native+D9 and passed its numerical checks across three fresh data orders. The D9 optimizer itself, though, was far too slow compared with ordinary optimizers.
  • When I tested the activation method separately at sequence length 512, it saved about 30.9% versus native training, while PyTorch activation checkpointing saved about 41.4% and was faster. The D9 state format also lost to a real bitsandbytes 8-bit AdamW baseline.

I also investigated tiled/recomputed output loss. It substantially reduced the memory used by a full-logits baseline, but Liger Kernel already gets essentially the same peak memory on this workload. I'm not treating that as an SHV-specific breakthrough.

I've put the code, benchmark ZIPs, SHA-256 checksums, experimental protocols, and negative results here:

GitHub: https://github.com/Mr-wuff/Sub-loop-Heterocoding-VRAM

Raw benchmark results: https://github.com/Mr-wuff/Sub-loop-Heterocoding-VRAM/tree/main/artifacts/results

It's currently a research preview, not a drop-in training runtime. I haven't demonstrated that a 16 GB GPU behaves like a 32 GB GPU, or validated long-run training across models. The software license is also still being finalized.

What I want to explore next is whether the lifetime of information needed by different backward consumers can be reorganized to save memory after checkpointing and efficient optimizers are already enabled.

If you've worked on autograd internals, CUDA/Triton, or memory profiling, I'd be interested in hearing what you think is a promising or flawed direction.

Reproduction attempts, bug reports, and concrete alternative implementations are welcome.


r/learnmachinelearning • • 3d ago

Do AI Engineers use Microsoft Foundry?

2 Upvotes

Hey, guys, I am now studying for AI-200 (Microsoft Certification) and started using Microsoft Foundry. I am very new to this whole AI world and did one lab to build an AI agent, based on this Microsoft Learn module: Develop your first agent with Microsoft Foundry - Training | Microsoft Learn

Do AI Engineers use this kind of technology on a daily basis? Or is this much more of a dev work or something like this? I liked studying it, so I am now very interested in discovering more about the AI field of knowledge.


r/learnmachinelearning • • 3d ago

Project I compared 7 address-matching models on one shared dataset: XGBoost came out on top, and almost all of its lead comes from addresses with a missing house number

Thumbnail
gallery
2 Upvotes

I was looking into address matching and couldn't find a comparison of the usual models on one shared dataset; each method had been evaluated on its own data. So I built one by linking Overture Maps places to their Foursquare records (real Connecticut addresses)

What came out of it:

  • Clean, obviously matching or obviously different pairs are easy. Every approach got 98–100% right.
  • A missing house number on one side (641 SCOFIELDTOWN RD vs SCOFIELDTOWN RD) was by far the hardest case. The model that splits the address into house number, street and ZIP, and explicitly marks "no number here", found 94.5% of these matches; the models reading the raw string found only 63–76%. When the missing number was treated as 0 instead of "missing", even the best model dropped to 20%.
  • Look-alike streets (431 HALLETT ST vs 431 HARRIET ST) were the other hard case, and there the approaches were roughly even.
  • The tree models came out on top overall. XGBoost and a random forest on simple string-similarity features beat every neural model, DistilBERT included, at telling real matches from look-alike streets (AUC 0.92 vs 0.86–0.90).

My suspicion is that it comes down to the setup. XGBoost has segmentation built in: it compares the house number, street and ZIP separately, so a missing number shows up as its own explicit signal. The transformers compare the two raw strings and have to work out the structure themselves. I suspect that’s why the tree models do so well on these pairs.

For the pair 641 SCOFIELDTOWN RD / SCOFIELDTOWN RD, simplified:

XGBoost receives:      house number: 641 vs (none)  →  -1 "not comparable"
                       street:       SCOFIELDTOWN RD vs SCOFIELDTOWN RD  →  similarity 1.0
                       ZIP:          same  →  similarity 1.0


Transformer receives:  "641 SCOFIELDTOWN RD"  vs  "SCOFIELDTOWN RD"

My suspicion is that it comes down to the setup. XGBoost gets the address already split into house number, street and ZIP, with a missing number explicitly marked "not comparable". The transformers see the whole string and have to work that out themselves.

The obvious next step is a segmentation step in front of the neural models, which seems like it would close most of the gap. But I'm curious whether there are other approaches worth trying short of building a segmentation model. Has anyone dealt with something similar?

Code, paper and models: https://github.com/DZhang3210/address-matching-by-pair-typeWrite-up: https://dzhang3210.github.io/posts/address-matching/I also turned the test pairs into a game where you play against the models: https://addressmatcher.vercel.app


r/learnmachinelearning • • 3d ago

Project train or fine-tune a model across several machines when none of them can fit it alone

Post image
2 Upvotes

most machines cant train or fine-tune the bigger models on their own, but a few of them together usually have enough memory. so i wrote a thing that splits the model by layers across them and trains it like its one model.

they connect over the internet, so it doesnt matter where each one is. you can even add notebooks from the services that give out free GPUs.

on one run it kicked the slowest device out halfway because it was holding the others back, and training just kept going on the rest without losing anything.

your training code stays the same. works for fine-tuning (LoRA, QLoRA, full) and for training from scratch, and mixes nvidia, amd, apple silicon and cpu.

https://github.com/abdallah-swe/layerpool

feedback welcome


r/learnmachinelearning • • 3d ago

Discussion What do you think of deep-ml and tensortonic for ML practice?

3 Upvotes

I have been looking for leetcode style practice platform for ML interviews and I am looking into these two websites:

  1. deep-ml https://www.deep-ml.com/
  2. tensortonic https://www.tensortonic.com/

I am wondering what's the general take of the community on these websites and their utility -- especially their pro (paid) plans. Do you know of other alternatives? Any alternatives for question banks?

Personally, I like the interface and information content (theory for each problem) in tensortonic so far. But would love to know more insights from users who have more experience with similar platforms.


r/learnmachinelearning • • 3d ago

Project 🚀 Project Showcase Day

4 Upvotes

Welcome to Project Showcase Day! This is a weekly thread where community members can share and discuss personal projects of any size or complexity.

Whether you've built a small script, a web application, a game, or anything in between, we encourage you to:

  • Share what you've created
  • Explain the technologies/concepts used
  • Discuss challenges you faced and how you overcame them
  • Ask for specific feedback or suggestions

Projects at all stages are welcome - from works in progress to completed builds. This is a supportive space to celebrate your work and learn from each other.

Share your creations in the comments below!


r/learnmachinelearning • • 3d ago

Modelling GTA’s Wanted System before GTA VII

Thumbnail
medium.com
3 Upvotes

What are your real odds of escaping the cops?
I modeled GTA's wanted system as a Markov chain to find out.

Every 5 seconds, a player can stay spotted, slip into hiding, gain a star, or end the chase as escaped, busted or wasted. I followed 1,000 players through the chase until every one of them got away or got caught, then double-checked the counts with 500,000 simulated chases.

Do give it a read😄


r/learnmachinelearning • • 3d ago

3rd year CSE student starting from absolute zero in ML need a step-by-step free roadmap to lock in for 4th year placements 😭

2 Upvotes

Hey everyone,

I’m currently a tier 69 private ggn 3rd year BTech CSE student and I’m honestly freaking out a bit. I’m at literally zero when it comes to Machine Learning—and to be real, even my core CS fundamentals are pretty shaky right now.

With 4th year and placements coming up fast, I really want to lock in, put my head down, and grind as hard as I possibly can over the next year to actually build solid projects and become job-ready.

The problem is I'm completely overwhelmed by all the resources out there and don't know where to start without getting stuck in tutorial hell. Could anyone please share a structured, step-by-step roadmap of the best free courses (from absolute scratch) that I can follow in order?

If you were starting from zero today with a 1-year deadline to get good enough for projects and internships/jobs, what exact path would you take? Any advice or tough love is genuinely appreciated. Thanks in advance!

Or should i also need to learn to get a job


r/learnmachinelearning • • 3d ago

Request Signal to block Siri, Gemini AI from capturing chats on iOS, Android

0 Upvotes

Signal announced it will block Siri and Gemini from capturing chat content on iOS and Android. The trigger: both AI assistants were reading private message content without users ever explicitly granting permission at the message level. Signal described this as default behavior, not a bug.

That distinction matters. A platform-level ambient AI agent operates at whatever scope the platform permits by default. The user never consented to that specific agent reading that specific data. The agent never authenticated against the data owner. The platform said yes and that was the only gate.

For a consumer messaging app, a wall can be built. Enterprise environments are harder. You may have dozens of AI integrations running inside your perimeter, sanctioned and shadow IT alike, each operating under whatever access its service account holds at deploy time. No explicit consent flow. No per-action scope check. Just inherited access.

How are practitioners actually handling this? Are you auditing what AI components can reach at runtime, enforcing scope at the data layer, relying on vendor defaults, or some combination? Curious what's working and what isn't.


r/learnmachinelearning • • 3d ago

Tutorial RAG Step-by-Step Tutorial for Beginners: How to Stop AI Hallucinations with Your Own Data

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 3d ago

Using Jupyter inside VS Code + Claude/ChatGPT for code — is that normal, does skipping Colab hurt at work, and what ML topics should I prioritize?

3 Upvotes

Hey folks,

I’m studying Machine Learning and have built small projects using NumPy, Pandas, and Matplotlib inside VS Code with the Jupyter extension. To be completely honest, I get what’s happening in the code, and I’ve written small snippets from scratch, but I mostly get boilerplate/code from Claude and ChatGPT—is that normal at this stage?

Also, does not using Google Colab hurt me in real work or interviews if I’m comfortable in VS Code?

Finally, ML theory is huge. Having covered the basics and understanding how things work conceptually, what specific high-priority ML topics/practices should I focus on most because I’ll actually use them all the time?

Keep it real—trying to cut through the noise and stay focused.


r/learnmachinelearning • • 3d ago

How would you build a high-quality instance segmentation dataset from thousands of tattoo flash sheets? SAM vs. YOLO

Thumbnail
gallery
2 Upvotes

I'm a professional tattoo artist rather than a software engineer, and I'm using a personal project to learn more about computer vision and machine learning.

Over the years, I've accumulated thousands of Procreate canvases containing tattoo designs, sketches, line drawings, color studies and flash sheets. I've identified over 4,100 byte-distinct Procreate files so far and still have more drives to inventory.

My goal is to train a specialized instance segmentation model capable of identifying and extracting individual tattoo designs from these canvases.

What I've done so far:

  • Developed a classical image processing pipeline using Python, NumPy, SciPy and Pillow, with assistance from AI coding agents.
  • Experimented with connected components, morphological operations, distance transforms and pixel-level masks.
  • Built a custom annotation and review application for manually correcting segmentation errors.
  • Processed 300 canvases in my latest pilot, producing 690 candidate design crops awaiting final human approval.

The classical approach works surprisingly well but struggles with semantic grouping, disconnected elements, overlapping designs, handwritten titles and complex arrangements.

Building the training dataset

Since I have access to the original artwork and understand which visual elements belong together, I'm willing to invest considerable time in producing accurate, manually verified annotations.

Before annotating thousands of images, I'd love some advice from people with experience training segmentation models:

  1. How many manually verified images and individual instances would you recommend for an initial fine-tuning experiment?
  2. Could I create one master dataset of pixel-level instance masks and convert it for training both SAM and YOLO segmentation models?
  3. How should I represent designs containing disconnected elements, enclosed white spaces and overlapping artwork?
  4. Would you recommend using SAM-assisted annotations and manually correcting them, or creating the masks from scratch?
  5. How would you prevent data leakage when the archive contains mirrored designs, near-duplicates, recolored versions and different stages of the same drawing?
  6. What evaluation metrics would you recommend for detecting missing linework, incorrectly merged designs and fragmented instances beyond standard mask IoU?

My priority is annotation quality rather than simply maximizing dataset size.

I have an RTX 3050 Ti laptop with 4GB VRAM and an M2 Pro Mac mini with 16GB RAM, although I'm open to renting a cloud GPU for training.

I'd really appreciate any recommendations regarding annotation standards, dataset preparation, model selection or training workflows.

I'm particularly interested in avoiding mistakes now that would require reannotating thousands of designs later.


r/learnmachinelearning • • 3d ago

Project What is looped transformer and how does it work

1 Upvotes

I wrote a detailed blog post about looped transformers and how they work. Hopefully it will be useful for people who are not familiar with them.

https://drhb.github.io/blog/posts/looped-transformers/


r/learnmachinelearning • • 3d ago

CVPR desk rejection error?

1 Upvotes

I got a desk rejection today from CVPR 2027 for reciprocal reviewer quota. But I have authors who have papers in ICLR KDD WACV. All of their profiles are updated.

Anyone else face this issue?


r/learnmachinelearning • • 3d ago

Give Me 34 Minutes, I'll Make AI Agents Click

Thumbnail
youtu.be
1 Upvotes

Hello,

I tried to gather all the courses I have taken and my work experience (currently an FDE), to make this compact video that will help anyone interested to clear the fog about AI Agents. The video I wish I'd had at the start. It follows one task, planning a trip to Paris, down four levels (a framework that I have developed for teaching).

The list of courses I have seen:

What the video covers:

  • what an agent actually is;
  • how the loop, tools and MCP work;
  • how harnesses, memory and multi-agent setups are built;
  • where it breaks: cost, evaluation and prompt injection.

I will be going into more details in future videos/posts.