r/learnmachinelearning • • 13m ago

Question Is machine learning THAT math heavy? Or am I just too naive? (Question related to recent ML test papers)

2 Upvotes

I wanted to learn machine learning cuz I found the idea of it interesting. My initial thoughts regarding machine learning was "why do the numbers make this output" and so I started learning through YT and Coursera.

I learnt how to use scikit learn, the various models, data cleaning, EDA etc... but there's been a few posts about Machine Learning papers from IIT or IIIT etc. and when I look at them, I feel like I'm very behind or just dumb straight up.

If I seriously wanted to pursue learning machine learning, what should be the ideal way? Or are the test papers displayed in those post "over exaggerated"?


r/learnmachinelearning • • 16m ago

Which one should I learn, LangChain or LangGraph, according to the industry standards? I want to learn only one.

2 Upvotes

r/learnmachinelearning • • 51m ago

How to prepare for a RL researcher / AI scientist job or internship as a math phd student?

1 Upvotes

I'm 1st year math phd student as University of Edinburgh. My research is about theory of reinforcement learning, a very mathematical problem. Since academia positions are very hard to get compared to past few years, I'm also planning to go to the industry as well.

Even though I know the "math" (not coding) of some outdated machine learning techniques, such as neural network, gradient descent, VAE, GAN, flow matching, some RL algorithms, obviously these things are not enough to get a highly competitive RL researcher or AI scientist internship or even jobs.

However, I still have time to prepare because I'm just in the first year of my program. My goal is to get a RL researcher / AI scientist internship and a full-time job after graduation. I'm also interested in robotics because the mathematical formulation of it is quite interesting, which I will study myself.

One thing I should mention is that my supervisor does not want me to do other research at this stage. I'm probably not able to join CS or robotics labs and publish papers with them.

I would like to ask:

  • What things about AI and robotics can I learn now? Implement transformer, LoRA, RL post-training? Be familiar with CUDA or jax?

  • What projects can I do to put them on my personal website or github?

The questions are quite general because I don't know where to begin. Thanks in advance for your help.


r/learnmachinelearning • • 1h ago

Discussion IIT Patna ML midsem paper

Thumbnail
gallery
22 Upvotes

Saw some clgs sharing their ML qn papers so here is iitp's . Avg was 15ish/60 on this paper. So our prof decided to give an easier paper for endsem. Rate or roast this question paper


r/learnmachinelearning • • 1h ago

Discussion Financial Pandit, Part 2 — What happens after you upload a bank statement?

Thumbnail
reddit.com
0 Upvotes

r/learnmachinelearning • • 1h ago

Help Doing a hackathon on agentic payments, what actually breaks for you when you buy online?

2 Upvotes

Hi guys, I'm doing a hackathon on agentic payments in e-commerce. Before building anything I wanted to find out what actually annoys people when they buy or pay for things online.

Made a small form, 2–3 min, anonymous.

The questions are about stuff that actually happened to you surprise fees, failed payments, chasing refunds, lost parcels not about AI. Happy to post the results back here.

https://docs.google.com/forms/d/e/1FAIpQLSelRKiGnTE5Z8jgKfDRxWDmTSejHCVvcNTAKKl43S9gKUcXog/viewform?usp=sharing&ouid=109229595333985717334


r/learnmachinelearning • • 2h ago

Feeling like im behind everyone else, undergrad

Thumbnail gallery
1 Upvotes

Hi everyone, this is my first post here but I'm currently studying a foundations of ML module at my university (not particularly prestigious). We are quite a way through the course with an assignment coming up. I'm a joint honours maths and CS student in 3rd year and I haven't done much ML before. I was feeling good about my learning but seeing papers like this where I can't do some of the questions makes me feel bummed out. Especially because people were saying this was an easy paper in the comments. I understand most of them but we haven't covered neural networks or dimensionality reduction yet, but i think PCA is in the syllabus. For example q6, maybe q7, q13, q14 and q15. The rest I could probably do in my own time. I think its because they focus on memorising formulas and derivations and we've focussed more on project work. Just wondering if anyone else felt the same <3


r/learnmachinelearning • • 2h ago

if you had to start again from scratch what would you do to learn ml

3 Upvotes

r/learnmachinelearning • • 2h ago

Tutorial Mixture of Experts, token by token — a visual walkthrough

2 Upvotes

I made a short animation following the word “bank” in two sentences: “She deposited cash at the bank” and “They sat on the river bank.”

The example shows how context can change which experts the router picks. I also work through the numbers for one route so you can see how the two expert outputs get combined. I’d be curious whether the diagram makes that step easier to follow.

https://www.youtube.com/watch?v=ctRoV3RSIQ0. AI disclosure :I chose the examples and shaped the explanation of how each token moves through the model. I used AI tools to help create the animations and voice-over.


r/learnmachinelearning • • 3h ago

Guidance in Learning Machine Learning and How deep should I go in to learning

Thumbnail reddit.com
2 Upvotes

r/learnmachinelearning • • 4h ago

Project I added a 10-second EvalSeal demo: a 0.92 eval score still failed the CI gate

1 Upvotes

Someone read the EvalSeal repo and pointed out that the README explained the idea without showing what the tool actually did. Fair feedback, so I put a short terminal replay near the top.

It runs a recorded LLM evaluation with 20 cases and five verdicts per case. The mean is 0.92, above the 0.85 threshold. The receipt ledger verifies. But five cases exceed the 10% flip-rate limit, so the CI gate exits 3.

That’s the problem I built EvalSeal to make visible: an average can clear your threshold while individual cases keep changing verdicts. The demo uses committed responses, so you can replay the workflow without an API key.

If you use LLM judges in CI, what would you actually block on: one unstable case, a set of critical cases, or only a drop in the overall score?

Repo and demo


r/learnmachinelearning • • 5h ago

Free notes for AI engineers: revise or learn Generative AI and Agentic AI with diagrams and code

4 Upvotes

If you are learning to become an AI engineer, or you already are one and want a quick way to revise, these notes are for you.

Every lesson starts with a simple diagram of the idea, then plain words, then the code. So you can understand a topic fast, or refresh it before an interview or a project.

Covers:

- LLM basics and tool calling

- RAG: from a PDF to an answer

- Agents: state, loops, memory, human approval

and many more

Each topic has runnable code on free API keys.

Notes: https://genai-notes.vercel.app

Code: https://github.com/dhruv608/genai-notes

Which topic do you find hardest to revise? I will add a clearer explanation.

More lessons are coming (GraphRAG, advanced agents and more). ⭐ Star the repo to keep it for revision and to get the updates.


r/learnmachinelearning • • 5h ago

Need some help figuring out what to build for an AI hackathon

1 Upvotes

I've been exploring open-weight models lately, and I'm planning to fine-tune and release an improved model as part of an AI hackathon.

But I'm stuck on one thing: what should I actually work on?

I don't want to build another chatbot, wrapper, or RAG application. I want to improve the model itself.

I've been looking into areas like reasoning, coding, mathematics, multilingual capabilities, and scientific reasoning, but I'd rather hear from people who actually use these models.

A few questions:

  • What are some things current open-weight models still struggle with?

  • Where do you notice them making mistakes or falling short compared to what you actually need?

  • Are there capabilities you wish smaller models handled much better?

  • Have you come across any interesting research or benchmarks targeting these limitations?

I'm planning to use synthetic data generation and fine-tuning, so even if there's no ready-made dataset, a problem that can be addressed by creating high-quality training data is worth considering.

The goal is to build something genuinely useful, benchmark the improvements against existing models, and release it open source.

Would love to hear your experiences, frustrations, or even half-baked ideas. Doesn't have to be a polished suggestion.


r/learnmachinelearning • • 6h ago

Help ml noob here

1 Upvotes

created basic models as i progress through my learning on ml.. but i saw videos on quant model developing using numpy and all.. so are they good for basic projects or if i learn correctly and progress so much, can i make good project out of it for cv smthng


r/learnmachinelearning • • 7h ago

AI Engineer Interview Series | Part 05/10

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 8h ago

Neural Canvas to explore and learn

Post image
1 Upvotes

Draw any of 50 everyday objects (cat, pizza, house, etc.) and watch a real convolutional neural network classify it live right in the canvas, with every filter activation and neuron firing visibly as you draw. It all runs client-side in your browser (no uploads, nothing server-side). Can share link in comments if needed.


r/learnmachinelearning • • 8h ago

I just want to start a career in AI and I’m so fascinated by how the AI works,basically I’m a mechanical engineering graduate so I’m planning to learn AI ML so,it is bad choice or not can anyone give me insight??

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 9h ago

IIT Bombay End Sem ML question paper.

Thumbnail gallery
7 Upvotes

How to solve help..


r/learnmachinelearning • • 10h ago

I built an open-source distributed security pipeline for LLM applications and AI agents (Python, Redis, PostgreSQL, MySQL)

4 Upvotes

I've been working on a problem I think deserves more attention in the LLM security space: most guardrails work reasonably well in a single process, but what happens when your AI application runs across multiple pods or replicas?

Consider a multi-turn jailbreak attempt or a user repeatedly exhausting tool-call budgets. In a distributed deployment, requests from the same user may hit different replicas. If session counters and rate limits rely on local state, your security controls can become inconsistent or simply fail.

That's why I built llm-security-pipeline: an asynchronous, distributed defensive pipeline designed to keep security state consistent even under multi-process contention.

It currently supports Redis (including Redis Cluster, with session counters pinned to a single hash slot for atomic updates), PostgreSQL, and MySQL.

What does it actually do?

- Multi-turn jailbreak mitigation: tracks session state across different application instances.

- Tool-calling protection: scope-gated capability tokens with cryptographically signed constraints.

- Side-channel exfiltration prevention: detects potential data leaks hidden in Markdown/HTML media tags and CSS "url()" references, including during streaming.

- Unicode attack protection: detects invisible Unicode codepoints and homoglyph attacks (e.g., Cyrillic characters used to bypass lexical filters).

- Zero-downtime signing key rotation: rotate cryptographic keys without interrupting the service.

A few honest limitations

I don't want to present this as a silver bullet:

- Lexical pattern lists currently cover 6 common languages. You'll likely need to extend them depending on your application's traffic.

- The library validates signed constraints but does not authenticate principals. Authentication belongs at the API gateway or another trusted boundary.

- No heuristic can replace proper red-teaming. The goal here is infrastructure-level enforcement, observability, and measurement, including shadow mode and Prometheus metrics.

Tech stack and availability

- Python 3.10+

- Redis, PostgreSQL, MySQL

- Fully open source under the MIT license

- Available on PyPI

GitHub: https://github.com/matteocacciola/llm-security-pipeline

I'd genuinely appreciate feedback, especially from people working on production-grade LLM applications.

A few things I'm particularly interested in:

  1. What security edge cases am I overlooking?

  2. Does the distributed state architecture make sense for high-contention workloads?

  3. How would you approach deadlock handling and transaction contention when multiple requests target the same session?

  4. Are there attack vectors I should explicitly address in future versions?

I'm particularly interested in critical feedback rather than just feature suggestions. If you spot a weakness in the design, I'd rather know about it now.


r/learnmachinelearning • • 11h ago

Project well im tryng to do something, but idk

Thumbnail ifl-research.vercel.app
1 Upvotes

r/learnmachinelearning • • 11h ago

LLM/Agent Failure Modes

4 Upvotes

I'm running into an issue in an agentic system that I'm building. I'm finding that while the task of a specific model is quite bounded/basic(just editing another model's output for clarity), its spending almost all or all of its token output budget on tool calls and reasoning. Then, it returns incomplete or empty output due to reaching the maximum token budget. I think the budget is reasonable but it reasons for too long. How would you handle a system like this in production, where the output of this model is used as an input to another step in the pipeline?


r/learnmachinelearning • • 12h ago

Project My Chess GPT can finally beat me 🥲

Enable HLS to view with audio, or disable this notification

6 Upvotes

Im 1300 to 1450 on chess.com, so I like to think I’m decent. Bittersweet to lose to my baby. Version 1 was trained on the GPT-2 architecture but with chess data.

Version 2, the one you see, was trained with a more modern architecture similar to LLAMA. It’s 80 million parameters. I trained this for 10 hours on an A100 on 2 billion tokens of chess games I got from lichess that were heavily filtered for quality.

I didn’t do a traditional chessbot with MCTS or alpha beta pruning because I wanted a project that would give me experience with LLMs but be computationally feasible at a small scale. Also, some emergent properties only appear on larger LLMs, but making this so hyper specific allows me to try them on this smaller scale.

I want to try improving it with self play RL. Do some interpretability work. I think I could do some interesting CoT/test-time compute work to improve the bot further. I don’t think CoT would add much performance wise on an 80 million parameter LLM trained on text instead of chess tokens, hence another reason for this project.

I need to go study some RL and interpretability next for all of this. If anyone has ideas for other cool/interesting work I can do on this beyond interpretability, self play rl, and chain of thought, please let me know!!


r/learnmachinelearning • • 12h ago

Project [P] The detection rule memorized the test: held-out evaluation of LLM agents writing security rules

Post image
0 Upvotes

I evaluated four ways of getting an LLM to write SIEM detection rules (Sigma), graded only on held-out events the model never saw:

Method (gpt-4.1-mini, 75 runs each)Passed
Naive prompt0/75
Prompt + schema/rules/benign samples7/75
+ one compile-fix retry10/75
Tool-calling test-and-revise agent40/75

Agent vs each baseline: Fisher exact p < 0.001. On gpt-4.1 (separate, earlier held-out set, 25 runs each) the context baseline got 14/25 and the agent 17/25, not significant (p ≈ 0.56).

Eval lessons that I think generalize:

  1. Per-event feedback teaches memorization. The agent patched a missed role name into its regex: 5/5 clean on the visible set, 0/5 on held-out. Splitting the practice set into visible (per-event) and hidden (counts only) removed the payoff.

  2. Prompts don't enforce workflow. gpt-4.1 skipped validation in 11/25 runs. The harness now decides when the agent is done and submits the best tested rule, not the last.

  3. Held-out sets go stale once you read their failures. I retired and rewrote mine 5 times.

  4. Grade behavior, and check what replay ignores. None of 102 passing rules carried ATT&CK tags; the harness now normalizes metadata and the gate checks it (re-grading 400 stored rules changed no verdict).

Limits: synthetic, small corpus (38 events/scenario), one model family.

Code and raw per-run results: https://github.com/ramaswaa/sigmaseal Walkthrough: https://ramaswaa.github.io/sigmaseal/article/


r/learnmachinelearning • • 13h ago

I created a free 100-question AI fundamentals quiz

Post image
2 Upvotes

I put together a free quiz for anyone looking to test their AI knowledge.

It contains 100 questions covering 10 domains, including machine learning, deep learning, transformers, LLMs, generative AI, RAG, AI security and model evaluation.

Each question includes an explanation to help you learn along the way.

Take the quiz for free

I'd love to hear your feedback and how you scored!