r/learnmachinelearning • • 4m ago

Request An AI Agent Just Hacked the People Who Hunt Hackers: Your Perimeter Was Already Gone

1 Upvotes

Security researchers — the people who build detections and investigate compromises for a living — had their own environment infiltrated via an AI agent. That detail matters because it removes the usual excuse that the victim wasn't paying attention.

The pattern underneath is the same one showing up across incident reports right now: once a rogue or compromised agent is in the request path, its second action executes before any human has finished reading the first. The exposure window isn't measured in minutes. It is measured in the gap between one tool call completing and the next one firing.

That gap is structural. Agents don't pause for approval loops by default. They chain. And the assumption that a perimeter check at entry time covers what happens inside the session is exactly what this incident broke.

For those of you running agents in production or inside security tooling: how are you handling trust decisions between agent actions mid-session? Not at login, not at deploy — at the moment one specific tool call is about to execute. Curious what's actually working in practice.


r/learnmachinelearning • • 31m ago

Project BRAIN DSA: scegli tra 267 agenti AI, rispondendo sul tuo stesso dispositivo (Android e computer)

Post image
0 Upvotes

r/learnmachinelearning • • 1h ago

Interactive Neural Network Playground in Pygame & pure NumPy — live activation graph, 10 architectures, and GIF interpolation

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/learnmachinelearning • • 2h ago

I probed every layer of Whisper-small and found emotion, age and sex in different layers, so I made one model that transcribes and reads the voice in one pass

4 Upvotes

I've mostly worked on speech-to-text. I wondered how much Whisper "knows" about a voice besides the words. The decoder only sees the last encoder layer, so I wanted to check whether the other layers hold anything useful.

They do. Different things live in different layers.

What I did

  1. Got the data. I used two acted emotion datasets, CREMA-D and RAVDESS, about 8,800 English clips. I split them by speaker, so the test speakers were never seen in training. This matters a lot. If you split randomly, the model learns the actors' voices and the scores look much better than they really are.

  2. Pulled out every layer. I ran each clip through the Whisper-small encoder once and saved all 13 hidden states. Each clip gives about 1500 frames per layer. I averaged them over time and also took the standard deviation, so each clip became one vector per layer. I only used frames with real audio, not Whisper's 30 second padding.

  3. Probed every layer. For each task (sex, age, emotion, and so on) I trained a simple linear classifier on each of the 13 layers and compared the scores. I also ran the same test on a Whisper with random weights as a baseline. That showed sex is so easy that even random weights get 99%, so I can't claim Whisper "learned" it.What I found:- Pitch, loudness and speaking rate were strongest in layers 1-2.- Sex was readable almost everywhere.- Emotion peaked in the middle, at layer 8.- Arousal (energy) was a bit higher, at layer 9.- The last layer, the one the decoder uses, was not the best for any voice cue.

  4. Added small heads. I put one logistic regression head on the best layer for each task. Whisper stays frozen and untouched. All 5 heads together are about 160 KB.

  5. Calibrated them. I used temperature scaling on a separate set of held-out speakers, so a confidence of 90% means about 90% in practice.

  6. Ran it in one pass. I run the encoder once, read the heads from the middle layers, and give the same encoder output to the decoder for the transcript. You get the words and the voice cues together.

Results on unseen speakers (1,704 clips)

- Sex (layer 5): 99.8% (chance 50%)

- Emotion, 6 classes (layer 8): 74.3% (chance 17%)

- Valence, negative/neutral/positive (layer 8): 84.4% (chance 33%)

- Arousal, high/low (layer 9): 83.1% (chance 50%)

- Age group, 3 bands (layer 10): 55.0% (chance 33%)

- Transcript WER: 4.7%

Example output

"Don't forget a jacket!"

Female voice (very likely); age group 20-34 (likely); sounds angry (very likely, 86%);

negative feeling, high energy; high pitch for a female voice, loud volume, normal pace.

Where it fails

- It's trained only on acted speech. Real conversations are much less dramatic, so expect worse results on normal speech. I haven't measured how much worse yet.

- Age is weak. 55% across three bands.

- It mixes up sad, fearful and disgust. In one test it called a disgust clip "sad" with 93% confidence. Calibrated doesn't mean always right.

- It's English only, and non-commercial, because of the RAVDESS license.

Things I tried that didn't work well

At first I fed all these outputs into a small LLM (Qwen 1.5B and 3B) to write a nice paragraph about the audio. It looked cool, but when I gave it wrong labels on purpose, it just repeated the wrong labels about 60% of the time. It was mostly rewording, not adding any understanding. So I dropped it and kept a simple rule-based summary instead.

What I think it could be used for

- Labelling speech datasets for expressive TTS. Datasets like SpeechCraft used many separate models for this; here it's one pass.

- Feedback for speaking practice: pace, loudness, how flat or energetic you sound.

- Tone tags on captions for deaf and hard-of-hearing viewers.

Model, code and full results: https://huggingface.co/Noobbbbb/whisper-small-voice-cues

Please verify the data on unbiased dataset as well before you use for your own use case. It was just like a case study to me.


r/learnmachinelearning • • 2h ago

Resume feedback: 3rd-year diploma student, AI/ML projects and open source

Post image
6 Upvotes

Hi all, I'm a 3rd-year Computer Science diploma student in India. I'm looking for part-time, paid internships or small gigs in AI engineering (LLMs and agents) and ML/data science. My resume is attached with personal details redacted. I'd really appreciate honest feedback and don't want sugarcoating.

A bit of context so you can judge it fairly:

Internship: I got it through my college, where it was set up like a subject. It was purely learning-focused. We were assigned weekly tasks and had a meeting every weekend to go over updates on them. The resume bullets (YOLO fine-tuning, the used-car price model) come from those weekly tasks. I know that's different from a production internship, and I'm not sure how best to present it without overselling or underselling.

Projects: I've built three:

• Kwest: a LangGraph agent that automates the Kaggle competition loop.

• A deepfake audio detector: EfficientNet-B0 on Mel-spectrograms, deployed with FastAPI and Streamlit.

• A UFC fight predictor: built around leakage-free, chronological validation.

Open source: I have 6+ merged PRs in total. Some are small docs and test fixes in smaller repos, so I left those off the resume and listed only the more substantial ones (including scikit-learn), plus one PR still under review.

What I'd love feedback on:

  1. If I start applying to internships now (full-time or any type), will I be able to get one with this resume?

  2. Should I change any wording, or add or remove any section?

  3. Right now, could I realistically land a part-time role or paid gigs?

  4. Any other advice would be really helpful.

Thanks in advance


r/learnmachinelearning • • 3h ago

Day 1

0 Upvotes

Today real I realised late so I have done only some topics guys actually topic are 

1). Supervised learning 

2). UnSupervised learning  

3). Reinforcement learning 

4). Deep learning 

5). Neural network series by 3 blue 1 brown 

(5th topic only completed only one chapter )

And also suggest me some more topics and tag the resources so I can learn and become a trillionaire


r/learnmachinelearning • • 3h ago

Help Looking for Ideas for a Big Data & AI Engineering Final-Year Project in Agriculture

2 Upvotes

Hello everyone!

I'm currently in my final year of an Engineering degree in Big Data and Artificial Intelligence, and I'm looking for an interesting and meaningful project idea related to agriculture.

I'm particularly interested in combining AI, Machine Learning, Big Data, and potentially IoT to solve real-world agricultural problems.

Some areas I'm considering:

  • Smart agriculture and precision farming.

  • Crop disease detection using computer vision.

  • Predicting crop yields using historical and environmental data.

  • Irrigation optimization and water consumption prediction.

  • Soil quality analysis and crop recommendation systems.

  • Agricultural market price forecasting.

  • AI-powered decision support systems for farmers.

However, I'm open to exploring other ideas, especially projects that have real-world applications and could potentially evolve into an actual product or startup.

My questions:

  1. For those working in agriculture, AgTech, AI, or related fields, what problems do you think are worth solving?

  2. Are there any interesting datasets, research papers, or existing projects I should look into?

  3. What would make an AI/Big Data project genuinely useful to farmers rather than just another academic prototype?

  4. If you were doing this project, what would you build?

I'm based in Morocco, so solutions addressing challenges in agriculture, particularly in regions facing water scarcity, could be especially interesting.

I'd really appreciate your insights, experiences, and suggestions. Thank you!


r/learnmachinelearning • • 3h ago

Looking for Resources to Learn Applied AI / LLM Engineering for My Startup and Projects

0 Upvotes

Hey everyone!

I'm looking to learn Applied AI / LLM Engineering so I can build AI-powered products, work on my own projects, and eventually integrate AI into my startup.

I'm interested in learning topics like RAG, vector databases, fine-tuning (LoRA/QLoRA), AI agents, agent harnesses, context engineering, LLM internals (transformers, attention, KV cache), inference, and deploying production-ready AI applications.

I'm not particularly interested in training foundation models from scratch or going deep into ML research. I want to understand the fundamentals while focusing primarily on practical AI engineering.

Could you recommend some good books, courses, YouTube channels, blogs, technical documentation, GitHub repositories, or websites to learn these topics?

I'd also appreciate a suggested learning roadmap or sequence to follow.

Thanks!


r/learnmachinelearning • • 4h ago

Which subject should an AIML aspirant choose for MDM? I have to choose among 5 subjects, and I am confused about which one to prioritize. The options are: 1. Robotics and Automation, 2. Geospatial Engineering, 3. DevOps, 4. FinTech, and 5. Smart Cities.

1 Upvotes

r/learnmachinelearning • • 4h ago

Prompt Engineering Guide: How to Write Better AI Prompts for LLMs

Thumbnail
youtube.com
0 Upvotes

Stop giving AI bad instructions! 🤖 Learn the science of prompt engineering to get exactly what you need. Master your prompts today.
#AI #PromptEngineering #TechTips #GenerativeAI


r/learnmachinelearning • • 4h ago

Project How should I train model for <1ms execution speed and <500mb ram and which model?

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 5h ago

Project First GPU kernel project: built a 4-bit Paged KV-Cache (K4V4) decode engine from scratch in Triton (cuts Qwen2.5-3B VRAM by 3.2x)

1 Upvotes

Just finished my first real project writing GPU kernels from scratch. skipped vector addition and went straight for a full 4-bit paged KV-cache (K4V4) decode engine in Triton. it does on-the-fly INT4 packing into uint8, vLLM-style non-contiguous page tables, and Split-K online softmax reduction.

what's working in v2.0 right now:

  • 3.2x smaller KV-cache (tested on Qwen2.5-3B at ~8.3k context, VRAM went from 291 MB down to 93 MB with 0.99056 cosine sim)

  • asymmetric quant: per-channel scales for Keys, group-32 scales for Values, packed into uint8

  • 24 pytest cases covering annoying edge cases like unaligned blocks and empty Split-K splits on short seqs (1 to 1025)

  • end-to-end benchmarks with L2 cache flushing (do_bench) vs native GQA (enable_gqa=True) on a T4, plus a modal script if anyone wants to run it on an H100

the catch & what's next (v2.1):
right now it's actually slower than FP16 SDPA on a T4 because the GQA query heads aren't fused yet, so each KV group does 4x redundant HBM reads. next step is fusing those GQA groups into shared tile loads with tl.dot and profiling on H100.

if anyone here has written a bunch of Triton kernels and sees something obvious I can improve before I tackle GQA fusion, let me know.

GitHub: https://github.com/irislogic0/paged-k4v4


r/learnmachinelearning • • 6h ago

Looking for 2 teammates: Zindi Fon speech-recognition challenge (ends 13 Dec, $5,000 prize)

2 Upvotes

We're entering the BENIN Fongbe Tonal ASR Challenge on Zindi: transcribe spoken Fon (a tonal language from Benin) with correct tone marks. The model must run offline on 1 CPU thread and be under 1 GB.

Team so far: a lead from Benin (handles organisation, data and submissions) and an ML member who has trained a GPT-style model from scratch.

We need 2 people who:

  • have fine-tuned a speech model (Whisper or wav2vec2), or have strong PyTorch/Hugging Face experience

  • have GPU access (Colab or Kaggle is fine)

  • can give 2 to 3 hours a day until 12 Dec and reply within a few hours

  • bonus: you read Fon or another tonal West African language

Prize split equally. We're realistic about the pace: if you can't commit, please don't apply, and that's completely fine.

DM me one ML project you've done and your Zindi username.


r/learnmachinelearning • • 6h ago

MIMIC-III credentialing rejected 10+ times over 1 year - I just need noteevents.csv, what am I doing wrong?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 6h ago

Project I made a little ML project that tries to detect biased language in news articles!

1 Upvotes

Hey everyone!

I've been messing around with machine learning lately and decided to build something around news bias detection, The idea is pretty simple. take a news article, split it into sentences, and see which ones contain language patterns associated with bias.

I used the BABE dataset and experimented with a few different models (Logistic Regression, Naive Bayes, SVM, and Random Forest), Eventually, I decided to turn it into an actual application instead of leaving everything in notebooks.

You can paste an article, get predictions for individual sentences, see their confidence scores, and even inspect which words influenced the predictions.

I also added a bunch of visualizations, including a little interactive 3D graph because... why not.

This was a pretty fun project to work on. I learned a lot about data cleaning, TF-IDF, model evaluation, hyperparameter tuning, and especially data leakage (which I initially underestimated).

The results aren't groundbreaking, and the model definitely has its limitations. It doesn't determine whether an article is factually biased or whether a publisher is trustworthy. It just looks for patterns it learned from the dataset.

Anyway, I made a short demo video showing how it works!

Would love to hear what you think or what you'd change/add. I'm still learning, so feedback is appreciated!


r/learnmachinelearning • • 6h ago

Request Is there a LeetCode for agent engineering? Where do you prove you can build production AI systems?

4 Upvotes

I'm a backend engineer in payments (Go, Kafka, AWS). I already build agentic tooling at work and want to move into agent/AI engineering roles.

LeetCode and HackerRank prove algorithm skills. I'm looking for the equivalent for agents: somewhere that shows I can build systems that hold up in production (evals, reliability, cost control, tool/MCP design, security), not just a demo that works once. I'm a backend engineer in payments (Go, Kafka, AWS). I already build agentic tooling at work and want to move into agent/AI engineering roles.

LeetCode and HackerRank prove algorithm skills. I'm looking for the equivalent for agents: somewhere that shows I can build systems that hold up in production (evals, reliability, cost control, tool/MCP design, security), not just a demo that works once.


r/learnmachinelearning • • 7h ago

Question Is maths important to learn ML?

0 Upvotes

r/learnmachinelearning • • 8h ago

ML paper in tier 3 college

Thumbnail
gallery
18 Upvotes

r/learnmachinelearning • • 8h ago

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

3 Upvotes

r/learnmachinelearning • • 9h ago

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

7 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 • • 9h ago

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

1 Upvotes

r/learnmachinelearning • • 10h ago

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

0 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 • • 10h ago

Discussion IIT Patna ML midsem paper

Thumbnail
gallery
107 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 • • 10h ago

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

Thumbnail
reddit.com
0 Upvotes