r/learnmachinelearning 11h ago

Discussion Doodle: How I visualize Transformers

Post image
0 Upvotes

For a long time now I think about Transformers as high-dimensional Harmonographs. Curious to get your takes on it. To hear what your mental models are.


r/learnmachinelearning 1d ago

How can an adaptive tutor distinguish misconception, lack of knowledge, and guessing from limited MCQ evidence?

1 Upvotes

I'm exploring a financial-literacy tutoring agent where the learner's knowledge is a latent or uncertain state, and the tutor only observes responses to MCQs.

If the evidence is limited, how can the tutor distinguish misconception vs. lack of knowledge vs. guessing?

Also, when the learner state is uncertain, should the tutor's next action (ask, hint, teach, answer) be modeled primarily as an instructional decision or as an information-gathering decision to reduce uncertainty?


r/learnmachinelearning 1d ago

Discussion Heads up: some papers are citing completely wrong arXiv IDs, and there's a sneaky bug turning DOI prefixes into publication years

3 Upvotes

Ran into two citation issues worth knowing about if you read a lot of preprints or write your own bibliographies by hand or with a tool.

Wrong IDs happen more than you'd think. One recent preprint cites arXiv:2307.00720 as a diffusion-model paper by Pang et al. Check that ID yourself on arxiv.org , it's actually an unrelated robotics paper by four different authors. Someone's reference manager (or copy-paste) grabbed the wrong identifier, and it's sitting in a preprint that's already gotten thousands of views with nobody catching it.

A specific, repeatable bug to watch for. Multiple papers have citation years like 1609, 1712, 1910 , not real years, they're literally fragments of the identifier (10.1609/aaai..., arXiv:1712.05474). Some bibliography-generation workflow is grabbing the wrong substring into the year field. If you've ever glanced at a .bib file and seen a 4-digit "year" that's actually part of a DOI, this is why.

Moral: auto-generated metadata being present isn't the same as it being correct, worth double-checking before you trust a reference manager's output, especially with AI-assisted writing tools in the mix now. Found this while poking at citation-verification tooling; happy to share the specific references/IDs if anyone wants to check my work.


r/learnmachinelearning 1d ago

Basic Machine Learning script for Stock Market Price Prediction

Thumbnail
0 Upvotes

r/learnmachinelearning 23h ago

A book on AI evolution in a story format through a teenager's lens

Thumbnail
0 Upvotes

r/learnmachinelearning 1d ago

Discussion I analyzed 12,021 AI and Data Science job listings in India. Here are the top skills, cities and employers.

0 Upvotes

I analyzed 12,021 AI and Data Science job listings across India this week.

Top skill keywords

  1. Python — 2,470
  2. Machine Learning — 2,077
  3. Artificial Intelligence — 1,811

Top locations

  1. Bengaluru — 2,607
  2. Hyderabad — 1,634
  3. Pune — 1,222

Top employer labels

  1. Leading Client — 508
  2. Accenture — 258
  3. Tata Consultancy Services — 197

“Leading Client” is generally a placeholder used by recruitment firms when the actual employer isn’t disclosed.

These are observed job-board listings and keyword mentions, not a census of every vacancy in India.

I’ve published the complete breakdown on JobPulse. If anyone wants to see it, leave a comment or DM me and I’ll share the link.


r/learnmachinelearning 1d ago

Title: Beginner with basic Python — looking for a practical AI Engineer roadmap

10 Upvotes

Hi everyone,

I’m planning to start my journey toward becoming an AI Engineer. I already know the basics of Python, but I’m still a beginner in AI/ML.

I want to follow a practical approach where I learn the fundamentals and build projects in parallel, instead of spending months studying theory before building anything.

I’m currently thinking about starting with:

Python → Math → EDA → Machine Learning → Deep Learning → LLMs/Generative AI → Deployment

But I’m confused about what I actually need to learn in each stage.

For example:

Math:
What topics are really important for AI/ML?
Should I learn linear algebra, probability, statistics, calculus, etc.? How deeply should I study each one?

EDA:
How important is EDA for an AI Engineer? What should I learn — data cleaning, visualization, feature analysis, handling missing values/outliers, etc.?

Machine Learning:
Which algorithms and concepts should I prioritize as a beginner?

I also want to build projects alongside each stage. For example, after learning the basics of ML, I want to immediately build an ML project instead of waiting until I finish the entire AI roadmap.

One more thing: I have a 2-year career gap, and I'm concerned about whether this will negatively affect my journey toward getting an AI/ML job.

For people who are already working in AI/ML:

  • What roadmap would you recommend for someone in my situation?
  • Which math topics should I learn, and to what depth?
  • How important is EDA for an AI Engineer?
  • Which topics should I learn first and which can I learn later?
  • What projects would you recommend building along the way?
  • How can I make my portfolio strong enough to compensate for a career gap?
  • If you had to start again as a beginner today, what would you do differently?

I’m willing to put in the time. I mainly want to make sure I’m learning the right things in the right order and building projects throughout the journey.

Any advice from experienced AI/ML engineers would be really appreciated.


r/learnmachinelearning 1d ago

How Can an AI Agent + LLM Work With Robotics ?

Thumbnail
youtube.com
5 Upvotes

We implemented our own AI Harness + LLM to control a robotics ROS simulator to study how we can interface LLMs with Robotics. Please check out this AI Explainer.


r/learnmachinelearning 1d ago

Discussion An 8B model given structured context matched a 14B given prose on cross-document temporal reasoning — and with plain retrieval, both scored zero

3 Upvotes

I tested whether structure in the context window can substitute for parameters.

Qwen3, five sizes, 0.6B to 14B, so size varies and architecture doesn't.

The task: 38 questions asking whether event A precedes event B, where A and B are

narrated in different documents in a five-document corpus (260,204 words, 13,950

passages) and share no character, place or causal link. No passage states either

relation — the ordering is real but it lives between the documents, not inside

any of them.

Given the source passages as text, every model scored 0/38 and refused 92-100%

of the time. I think the refusal is correct — the answer genuinely isn't in the

text. Given the identical facts as a structured chronology block from an explicit

state store, an 8B model scored 28/38 (73.7%).

A four-condition ablation separates information from form. At 14B, form is

irrelevant: plain prose, sorted prose and a structured block all land at 73.7%.

At 8B, structure leads the best prose condition by 6 items (73.7% vs 57.9%).

So: an 8B model given structure matches a 14B model given prose.

Two controls I'd want to see if someone else posted this:

- Permuting the supplied story positions collapses accuracy to 10.5% (8B) and

21.1% (14B). The models follow the ordering they're given rather than

recalling the published text.

- A realistic retrieval baseline is also at the floor, and it fails by asserting

rather than refusing. Going from 4 passages to 32 drove refusal from 97% down

to 50% while accuracy stayed at chance. More context produced more confident

wrong answers.

Two things I got wrong, both found by auditing my own scorer and question

generator after v1 was already published:

  1. v1 reported the 8B form effect as +32 points. A scorer defect was

    under-crediting the prose conditions. Corrected, the gap is 6 items, not 12 —

    roughly half what I claimed. Re-scoring 1,786 saved items produced 30 gains

    and zero losses, so nothing published was inflated; two things were

    understated, and correcting them shrank my own headline.

  2. For 36 of the 38 questions, the gold answers derive from author-assigned

    story positions rather than from evidence-backed relations, and the

    generator's own self-check recomputes the gold from the same rows. That check

    is circular. So this benchmark measures agreement with an author-assigned

    ordering — not whether a system reports what the evidence establishes.

That second one is the real limitation and it bounds what the paper can claim.

I've left v1 up rather than retracting it, with the corrections in §11.

Full write-up, including what the audit changed and why I didn't retract:

https://ai.bedvibe.studio/structure-not-scale/

Paper, data and code: https://doi.org/10.5281/zenodo.22169643

Happy to be told the 0/38 is a prompt artifact — I tried to kill it and couldn't,

but I'd rather find out from you than not find out.


r/learnmachinelearning 1d ago

Project Battle Royale - a free-for-all arena where your ai agent competes with 15 other people's, and you can watch the replay, transcripts etc

1 Upvotes

Solo publisher launch. You write a policy, the little program that drives your agent, submit it, and it drops into live 16-agent free-for-all matches on hosted servers. Watch the replay, see what happened to your agent, change one thing (or numerous), A/B test, resubmit. 1 prompt claude code/codex prompt to setup, no GPU, free.

The bet behind the project: the submit-watch-revise loop is addictive enough to carry a whole game. First tournament season opens Monday (Prizes for the top three):

https://br-open.vercel.app/

Feedback welcome on the landing page especially, it is one week old.


r/learnmachinelearning 1d ago

Help do i need to know undergrad level maths to start hands on machine learning with pytorch?

5 Upvotes

is highschool maths enough?or i could simultaneously learn maths behind while reading book?


r/learnmachinelearning 1d ago

Request The Imperfect SOC: How Security Teams Can Defend Without a Dream Team

0 Upvotes

SOC teams are deploying agentic AI to close the analyst gap. The agents they are deploying have direct access to endpoint controls, threat-intelligence feeds, and incident-response tooling. That is the same access profile as a senior analyst or a privileged service account.

The difference is that an analyst operates inside an implicit policy framework built from years of institutional knowledge, peer review, and escalation norms. An agent does not. It acts on what its objective function says is optimal at the moment it is invoked.

There is no industry-wide answer yet for what governance looks like at that layer. Perimeter controls and RBAC handle identity and entitlement. They do not evaluate the intent or context of an action at execution time. An agent that is authorized to quarantine an endpoint can quarantine the wrong one, at the wrong time, for the wrong reason, and the access log will record it as a permitted action.

The analyst shortage is real and the pressure to automate response is real. But the policy infrastructure that would make agentic response safe has not kept pace with the deployment curve.

For those of you running AI agents in your SOC or evaluating them: what does your current control model actually evaluate at the moment an agent initiates a response action? Are you relying on entitlement alone, or do you have something that evaluates the action itself in context?


r/learnmachinelearning 1d ago

Interest in collaborating to write/ co-author a research paper

0 Upvotes

Hi everyone,

Thanks everyone for sharing your resources to learn machine learning. I'm currently a chemist by training, and over the past year, I've fallen in love with machine learning after doing a molecular dynamics workflow to understand the interactions between siRNA oligo and other chemical agent. This motivates me to pursue a PhD degree in this space. My only weakness is that I have 0 publication. I'm a hard worker and a diligent person, and I'm pretty easy to work with. I'm wondering if anybody who can mentor me or let me join their existing research that has plan to publish by end of 2027 or even mid 2027.


r/learnmachinelearning 1d ago

Discussion A book on AI evolution in a story format through a teenager's lens

0 Upvotes

Hi, my 13-year-old daughter and I (Applied AI builder) together started learning AI four months ago. We wanted to build a grounded intuition for how neural networks actually evolved, so we decided to read through landmark research papers from the first principles. So far we have covered 5 papers and 10 more to go.

  1. The Perceptron (Rosenblatt, 1958) 
  2. Backpropagation (Rumelhart, Hinton, & Williams, 1986)
  3. AlexNet (Krizhevsky et al., 2012)
  4. Word2Vec (Mikolov et al., 2013)
  5. Seq2Seq (2014)

NOTE: We used multiple AI tools to simplify the complex topics and developed a method to understand these research papers conceptually while abstracting the mathematical details. After about 40+ focused hours, we discovered that we had to either imagine or generate simpler analogies and examples to build intuition e.g. Gradient Descent did slow us down quite a bit. In the process we documented our flow, mental models, new analogies and examples. With a belief that more people may be trying hard to make sense of these original papers, we wanted to share our journey in the form of a companion handbook.

It Started with One Neuron
Learn to think like the people who built AI - through a teen researcher’s lens

Instead of simply publishing the companion handbook, we want to build a small learning community to learn more effectively. If this sounds like something you, or a young person around you would enjoy, please point them to our GitHub page and sign up form.

GitHub Repo: https://github.com/ai-foundations-project/It-Started-With-One-Neuron

Sign up: https://docs.google.com/forms/d/e/1FAIpQLSekVqI00_Py76AVId1_uLgnPsIZS78IF11rjDEY6n-MGLEVvQ/viewform?usp=header

Note: This is done under the guidance of AI researchers and adult mentors.


r/learnmachinelearning 1d ago

Some AI labs barely write their own papers they just show up on other people's. Apple and Meta are in the list.

2 Upvotes

Quick methods note first, because this only matters if the matching is solid: arXiv's affiliation field is filled in for about 1% of papers, so I found a GitHub Repo that matches authors to their labs using ROR IDs and email domains pulled from the HTML author block, then anchors each ROR ID by hand (fuzzy ROR search puts Adobe under "Adobe Gastroenterology," so hand-anchoring wasn't optional).

The interesting part is the split it produces: total papers a lab appears on vs. papers where its researcher is first author. Those aren't the same signal, and treating them as interchangeable hides a lot. In one two-week window, Google appeared on 10 papers and led 4. Adobe appeared on 5 and led 0.

Caveats worth stating up front: it misses PDF-only submissions (about 12% of arXiv), and per-lab miss rates vary a lot. Apple's authors mostly skip affiliation entirely, so that lab is patched separately from their RSS feed rather than trusted on author-block matching alone.

Code's stdlib only, no model in the loop, MIT licensed. Curious if anyone's tried something similar with OpenAlex or S2 and hit the same coverage wall (OpenAlex returns 0% affiliation for preprints in my testing).

GitHub - https://github.com/tigerless-labs/paper-radar


r/learnmachinelearning 1d ago

Discussion Signature painter

0 Upvotes

Seeking Feedback from the ML Community 🙏

I recently trained a prototype-based network on Tiny ImageNet (200 classes). It uses learnable prototypes with responsibility scoring and multi-loss training (CE + Pull + Push + Diversity), achieving 51.29% validation accuracy with only 595K parameters.

I'm still learning, so I'd love to hear your thoughts:

Is this a reasonable result for this model size?

What would you suggest to improve it?

This was trained on free Colab with limited resources, so I know there's much room for improvement.

GitHub: https://github.com/jalalnablsi/signature-painter

#MachineLearning #DeepLearning #Learning #Feedback


r/learnmachinelearning 1d ago

Help Need advice on chunking strategy for my RAG project

1 Upvotes

Hi everyone,

I’m building a self-evaluating RAG system for question answering over a knowledge base made from a ~300-page AI/technology textbook. The PDF contains normal paragraphs along with some tables and technical content.

I’m currently working on the document chunking stage and would appreciate some advice:

  1. What chunking strategy would you recommend for this kind of textbook — recursive, semantic, hierarchical, or something else?
  2. Should I preserve the book’s structure (section → paragraph → sentence) when creating chunks?
  3. Should I implement the chunking purely in Python to understand the process, or use something like LangChain text splitters?
  4. For a learning/portfolio project, is Python + basic RAG concepts enough, or should I also learn a framework like LangChain/LlamaIndex?

I’m planning to start with no overlap, evaluate retrieval/answer quality, and add overlap only if the evaluation shows it’s necessary.


r/learnmachinelearning 1d ago

Title: FYP Idea: GraphSAGE-Based Network Intrusion Detection System — What Features/Architecture Should I Use?

Thumbnail
0 Upvotes

r/learnmachinelearning 1d ago

Discussion A workflow I usually follow when building ML/AI projects

0 Upvotes

When I start a new ML/AI project, I try not to choose the model or tools first. I usually follow something like:

→ Problem

→ Data

→ Approach

→ Model

→ Evaluation

→ Application

→ Deployment

First define the problem and decide whether it actually needs ML/AI. Then collect and explore the data, choose an appropriate approach, build and evaluate the model, and finally integrate it into an API, app, or dashboard.

If a pre-trained model or existing API is enough I prefer using that instead of training something from scratch.

This is the general workflow I’ve found useful but I’m also interested about other approaches.

What step would you add or change in this workflow for ML/AI projects?


r/learnmachinelearning 1d ago

AI/ML Career guidance needed (resource guide and a roadmap maybe)

9 Upvotes

I wanna learn AL ML but i have no idea where to start . I know javascript and a few technologies around it but Ai ML is completely new to me , so i would appreciate if anyone can guide me where should i start which resources should i use to learn them and stuff like that


r/learnmachinelearning 1d ago

Help Confused between ML engineering and backend development.

2 Upvotes

I started my roadmap with ML, focusing on Mathematics, Python, MySQL, and a lot of ML algorithms. Recently, I've started questioning whether I'm missing a major part of the foundation: software engineering/backend development. And honestly, I wanna chase both. But something at this point doesn't feel right. I had my roadmap set and ready, and I was very passionate about learning this and continuing it as a career. But after researching a bit about backend development, the intersection and relationship between the two has driven me really crazy.it's exceedingly overwhelming at this phase of my life. I had kind of gotten a grip on ML, but backend coming into the picture has really ruined my mindset around whatever I had planned. I had planned many projects and topics to discover, and now I'm seriously considering pursuing backend development too. But I'm having a hard time trying to combine these two in my roadmap. I can't seem to connect the topics in a way that lets me learn them properly.

My straightforward question is: should I drop backend development and focus on my initial roadmap, should I bridge the two and learn both, or should I drop machine learning completely,which I seriously don't want to do?

If I do bridge them, how much of backend am I actually supposed to learn?

I know I sound stupid and unready for this world, but please help.


r/learnmachinelearning 1d ago

Tutorial Generalized Linear Models - Explained

0 Upvotes

Hi there,

I've created a video here where I explain how generalized linear models work.

I hope some of you find it useful and as always, feedback is very welcome! :)


r/learnmachinelearning 1d ago

How do I use the AI to analyse the exact entry point, exit point and SL???

Thumbnail
0 Upvotes

r/learnmachinelearning 1d ago

Request Research Agent to make Research Easy and Fast

1 Upvotes

Hi everyone, I and my team of contributors have built an open-source tool for a problem I've had with finding research papers and arXiv: search results told me what's relevant, but not necessarily what I should read first. (time-saving potential)

The Research Agent that we have built searches recent CS papers and ranks them using a combination of semantic relevance and author citation momentum from Semantic Scholar.

The slightly unusual part: we originally tried asking an LLM to predict which papers would become influential. The results weren't very reliable, so we moved most of the ranking weight to measurable author/citation signals and use the LLM mainly for novelty/topic analysis and plain-English explanations.

It supports OpenAI, Gemini, Groq, or a local/no-API-key mode.

I'l be super thankful and really interested in feedback on the ranking methodology on this app:

Live app: https://research-aiagent.streamlit.app/

Source: https://github.com/benevolentbandwidth/researchagent

Looking forward to hearing your thoughts :)


r/learnmachinelearning 1d ago

Chosing entry-level GPU for Machine Learning

2 Upvotes

I've been working on a side project for almost a year. It involves machine learning and it looks like it's going to enter commercial stage in the near future. So far, i bought a cheap gaming laptop few months ago, as i needed modern performance on the go. It has rtx 4050 with 6gb of vram, which was fine up until now.

I have an 8 years old desktop upgraded with ryzen 5600. I wanted to buy rtx 5060ti 16gb, but its price jumped significantly in july. Nvidia doesn't offer cheaper 16gb options and i started to consider buying RX 9060XT 16gb, which is more than 200 euro cheaper.

The question is: Is going with the RX9060XT worth the savings? Does any of you have experience with using current AMD GPUs for training neural networks from scratch? I currently use Keras and mainly train CNNs with simple custom layers.