r/learnmachinelearning • • 9h ago

Request Japan's largest power company JERA hacked, operations unaffected

1 Upvotes

Japan's largest power company JERA confirmed a breach last week. Operations were unaffected. The compromised system belonged to a third-party vendor, not JERA's own infrastructure.

That detail is the whole story. JERA's perimeter held. A vendor holding their data did not.

Third-party vendor incidents now account for the majority of critical-infrastructure data exposures. The primary organization often has no technical visibility into what form their data exists in once it has moved to a vendor environment. If that vendor is breached, the exposure depends entirely on decisions the vendor made, not the data owner.

The uncomfortable part: the breach path here was a sanctioned, authorized relationship. The vendor had the data because they were supposed to. The attacker exploited legitimate access, not a hole in JERA's own systems. That makes the standard perimeter-hardening conversation mostly irrelevant to this class of incident.

For people working in OT security, third-party risk, or data governance: once sensitive data leaves your environment for a vendor, what actually governs its exposure surface on the other side? And how do you know?


r/learnmachinelearning • • 13h ago

Project Final year project is a mess and I genuinely don't know what to do anymore

2 Upvotes

I'm a final-year B.Tech student working on Human Activity Recognition using deep learning. My group members barely communicate, don't reply to messages and are always unavailable. Most of their work is AI-generated code that they barely understand.

Our mentor doesn't prefer meeting individual members, and because of the constant coordination issues, we haven't met her in two months. I know I should have contacted her earlier, and I genuinely regret that. I finally reached out today, but she said she's busy and will discuss the work in January. Our presentation is on 10th December, and she'll be evaluating us.

I've been working on my part, but I have several doubts regarding the research methodology and have no one to guide me. I also have semester exams and can't possibly handle the entire project alone.

If anyone has experience with HAR, deep learning or ML research and could help me clarify a few doubts, I'd genuinely appreciate it. I'm not asking anyone to do my project, I just need some guidance because I feel completely lost.


r/learnmachinelearning • • 9h ago

Career I wrote a practical study guide for AI/ML Engineer interviews in FinTech — RAG, agents, LLMOps, and production AI Spoiler

0 Upvotes

Hi everyone,

I’m Camila Chica, an AI/ML and cloud technology professional, and I recently published a technical interview study guide called Cracking the AI/ML Engineer Interview in FinTech.

I wrote it for engineers preparing for roles such as AI Engineer, Machine Learning Engineer, GenAI Engineer, Senior AI/ML Engineer, or AI/ML Engineering Lead—especially in banks, payment processors, insurers, and FinTech platforms.

The focus is on the engineering work behind production AI systems, not just model demos.
The guide follows the enterprise GenAI lifecycle and covers:

RAG: ingestion, chunking, embeddings, retrieval, and context management

Agentic AI: planning, memory, tool use, and multi-agent design

LLM orchestration and enterprise API integration
Evaluation, groundedness, and hallucination control

Security, governance, access control, and auditability
Cloud deployment, monitoring, MLOps, and LLMOps

Technical interview questions, model answers, knowledge checks, and a rapid-review checklist

It includes 25 chapters and is organized around the kinds of architecture decisions and trade-offs engineers need to explain in interviews.

I created it because preparing for these interviews can be difficult when learning materials are scattered across documentation, tutorials, and system-design discussions. I wanted to put the major concepts into one structured study resource.

If you’re preparing for an AI/ML or GenAI role in financial services, I’d appreciate you taking a look.

Book: Cracking the AI/ML Engineer Interview in FinTech
Author: Camila Chica
Amazon: https://link.amazon/B04DOF7LX

I’m especially interested in feedback from engineers working on production RAG, agentic workflows, or AI systems in regulated environments. What topics do you think are most important for candidates to understand today?

Thanks for reading.


r/learnmachinelearning • • 13h ago

Question Can models(LLMs or VLMs) understand / feel time deltas?

2 Upvotes

Is it possible for a model to understand time? and have time be a factor in its output?

time as in time delta change from getting input to giving output...

example a migration script that should run a few seconds was hung for 10 min after i killed it,
in this case i would expect a llm to have a timeout set before running, but that gave me this question in general do models understand time change and have duration expectations

humans have a biological tick-rate, OSs have it, could it be possible for a model to also have it while reasoning?


r/learnmachinelearning • • 10h ago

We built 100 free interactive browser labs + single-page architecture diagrams explaining different AI concepts

Post image
1 Upvotes

Hey everyone,

Over the past few months, my co-author (Mohammad Javad Najafi) and I have been working on breaking down 100 core AI/ML concepts into single-page visual plates—one concept per page, one clean architectural diagram, no heavy math walls, and no lock-in to a specific library.

The image above shows four of the later diagrams covering Latent Diffusion, Vision-Language Models, Adversarial Examples, and Benchmark Contamination.

If you'd like to inspect the full layout and text behind these four chapters, I uploaded a free 4-chapter PDF preview on Zenodo:

https://zenodo.org/records/24718068

(They're part of a 100-chapter visual AI project called "The Shape of Intelligence: 100 Visual Experiments in AI".)

Would really appreciate any feedback on the diagrams or labs—especially if anything feels unclear ...

Regards.


r/learnmachinelearning • • 10h ago

Tutorial We built 100 free interactive browser labs + single-page architecture diagrams explaining different AI concepts

Post image
1 Upvotes

Hey everyone,

Over the past few months, my co-author (Mohammad Javad Najafi) and I have been working on breaking down 100 core AI/ML concepts into single-page visual plates—one concept per page, one clean architectural diagram, no heavy math walls, and no lock-in to a specific library.

The image above shows four of the later diagrams covering Latent Diffusion, Vision-Language Models, Adversarial Examples, and Benchmark Contamination.

If you'd like to inspect the full layout and text behind these four chapters, I uploaded a free 4-chapter PDF preview on Zenodo:

https://zenodo.org/records/24718068

(They're part of a 100-chapter visual AI project called "The Shape of Intelligence: 100 Visual Experiments in AI".)

Would really appreciate any feedback on the diagrams or labs—especially if anything feels unclear ...

Regards.


r/learnmachinelearning • • 12h ago

[Project] How I caught two major dataset leaks (http:// shortcut & www. skew) while training an XGBoost phishing detector on 235K URLs

1 Upvotes

While building TrustLink (an end-to-end phishing URL detector using Python, XGBoost, and FastAPI), my initial model hit 99% accuracy on a 235K+ URL dataset—and completely failed on basic real-world test links.

How I built it & what went wrong (Data Leakage & Bias)

  1. The http:// shortcut (99% → 90% accuracy): In the combined dataset (built primarily from PhiUSIIL + Malicious URLs), virtually zero legitimate URLs used http://. XGBoost learned a trivial shortcut split (starts_with_http == True -> Phishing). Once I stripped protocol-level features out, validation accuracy dropped from 99% to 90%, forcing the tree splits to actually rely on lexical structure, TLD entropy, subdomain depth, and brand similarity.
  2. The www. apex-domain bias: All ~134,850 legitimate URLs in PhiUSIIL begin with www., which causes false positives on legitimate bare apex domains (e.g., github.com) or non-www subdomains (docs.python.org).

Pipeline & Next Engineering Sprint

• Current Stack: Custom URL lexical/structural feature extractor -> XGBoost classifier -> FastAPI inference endpoint with three-tier thresholding (Genuine, Suspicious, Phishing).

• Next up in the loop:

- Normalizing leading www. and augmenting legitimate training samples with bare apex domains (e.g., Tranco top domains).

- Adding Punycode (xn--) & mixed-script Unicode homograph detection before running brand Levenshtein similarity.

- Production hardening: structured API logging, rate limiting, and Docker deployment.

For anyone who has worked with URL classification datasets: how do you usually balance lexical features against domain-reputation biases without leaking collection artifacts?

Full code, EDA notebooks, and dataset bias notes are in the repo: https://github.com/Abijith-RA/TrustLink


r/learnmachinelearning • • 12h ago

learning to make models from scratch, anything else to try and learn?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 12h ago

Complete Beginner

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Help Started my journey

Post image
208 Upvotes

I am on a scratch level and currenty started my ml journey with this book Hands on machine learning with scikit learn and pytorch
Got the whole book printed out
What should i do along side or with it ? At what point should i start building ??
Is it a good start ??
Would love advices and corrections


r/learnmachinelearning • • 17h ago

YOLO26 / YOLOE in cpp. CPU with GPU offloading

Thumbnail
github.com
2 Upvotes

The app is actually with my own pure C system. This one is built on top of ggml / llama.cpp. It's better on PC plus it has the llama.cpp GPU offloading ( all GPUs ) . I need to fix some threading issues then I'll upload the app using this system to the repo.

https://www.youtube.com/shorts/LdhYoXquvbY


r/learnmachinelearning • • 13h ago

Help Question about Ai intelligence and ideas - Models training

1 Upvotes

Hi folks, I'm using AI since the very first weeks and i'm in the online world for many years now.

I'm not a newbie but I think I'm missing a piece. Maybe someone can help me.

We all know AI is not intelligent but somehow I think it should "know" how to do what we ask it.
Yes, what goes in, comes out. Agree, we have to be able to frame the request in the correct way but I'm finding a bottleneck very often.

For example I'm trying to create a specific image uspcaler for my needs.
I have tried any angle it came to my mind but Claude or Codex, never create something really on point. They do a bit, they do the 40% but never bring it to the next level as requested.

I find my self doing the research as the old times and than feed it to the AI instead the AI telling me what would be the best approach. Ai fails almost on every try.

The upscaler example is just an example but I could tell many many others.

Is there somethig I'm missing about how to prompt Codex or Claude? I tried all the models, in my case I mostrly use Codex: i've tried, Sol, Astra, all of them. No serius results but poor ones.

So the question is maybe: when we have a great idea, but we don't know how to create it. Can Ai really help?


r/learnmachinelearning • • 13h ago

Meme Adam

1 Upvotes

r/learnmachinelearning • • 17h ago

Tutorial Your GPU Kernel Compute-Bound or Memory-Bound? | Kernel Engineering | Session 4

Thumbnail
youtu.be
2 Upvotes

r/learnmachinelearning • • 14h ago

Project How $0.02 slices from existing robot demos took a 27B VLM from 119.7 mm to 51.6 mm 3D gripper error

Thumbnail
gallery
1 Upvotes

I ran a quick 1280x960 test-tube rack check on stock Qwen3.8-27B in llama.cpp and its 2D hole coordinates were within 3 pixels, while on 374 recorded RoboDojo arm moves its 3D gripper targets miss by 203.5 mm median (7.8% within 50 mm).

Pulled the ablation numbers from SenseNova-RoboRSI-27B at https://github.com/OpenSenseNova/SenseNova-RoboRSI to see how they got the 3D error down without collecting everything through long rollouts at ~$0.50 per target. Long rollouts alone left the 27B finetune at 119.7 mm. Slicing existing robot demos at velocity and gripper changes gave them single-move 3D endpoint pairs for about $0.02 each, which cut median error to 51.6 mm and tripled 5 mm hits from 4.3% to 15.5%. Adding a 4-step VLA review gate also lifted 42-task completion from 3/42 open-loop VLA up to 21/42. Has anyone tried similar move-level slicing on teleop datasets?


r/learnmachinelearning • • 6h ago

Physical AI field split between engineers and RL researchers

Post image
0 Upvotes

r/learnmachinelearning • • 15h ago

Question What’s something you learned recently (OC)

Post image
0 Upvotes

r/learnmachinelearning • • 15h ago

Tutorial How I'd learn AI and LLMs from scratch (the exact resources and study tricks I wish I knew earlier)

0 Upvotes

Most AI roadmaps online are just giant lists of 100+ links that leave you stuck in tutorial hell.

While organizing my own study path, I put together a clean, open source roadmap focused strictly on what to study, the specific tricks to avoid wasting time, and what each resource actually lets you build.

The path covers 5 steps:

  1. Math & Tools: Visual intuition with 3Blue1Brown (no heavy textbooks) and browser based Python/NumPy on Kaggle.
  2. Classic ML: Skimming Stanford CS229 for algorithm intuition and practicing on messy datasets with scikit-learn.
  3. Neural Networks: Coding micrograd from scratch with Karpathy to demystify backprop, then building fast with PyTorch and fast.ai.
  4. LLMs: Understanding attention visually, coding a tiny GPT from scratch, and using modern agentic training workflows (Claude Code, Hugging Face skills, autoresearch).
  5. Shipping: Hosting live demos on Hugging Face Spaces and benchmarking on Kaggle.

You can check out the full visual roadmap, direct links, and study notes here:

https://github.com/EgeSoysal/awesome-ml-roadmap

If you know any high-yield resources or study tricks I missed, feel free to drop them in the comments or open a PR!


r/learnmachinelearning • • 15h ago

Tutorial What Is Harness Engineering ?

Thumbnail
youtu.be
0 Upvotes

Would love to have ur feedback guys


r/learnmachinelearning • • 15h ago

Methods to improve robustness

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 23h ago

Help How to starting learning ai and ml to become a genai engineer

4 Upvotes

Could someone suggest me a roadmap there are multiple road maps available on the internet but am confused which to follow by the way am also learning dsa on the side


r/learnmachinelearning • • 20h ago

Help Feature engineering for mixed-type time-series anomaly detection

Thumbnail reddit.com
2 Upvotes

r/learnmachinelearning • • 1d ago

Question Pivot to MLE from software

14 Upvotes

Readers preparing for MLE interviews can choose an ML or system-design prompt on PracHub and explain their approach. If you're applying to new roles, LandOffer can autofill repeated application fields. I work on both.

Is it possible to pivot to an MLE role with 15y experience as a full software engineer. What is your suggestion on which companies or roles to apply to?


r/learnmachinelearning • • 21h ago

Discussion Running a 41M-param neural TTS on-device: streaming architecture + CPU benchmarks across iPhone, Pi Zero 2 W, i9

2 Upvotes

Been working on on-device streaming text-to-speech and wanted to share some things I've learned about the architecture trade-offs. Using LinnetTTS as a concrete case study because it's open source and I've got numbers across devices.

Streaming vs batch synthesis

Batch TTS: feed text → wait → get full WAV. Simple, but first-audio latency = full generation time.

Streaming TTS: feed text → get audio chunks as they're generated. First chunk arrives before the rest. Critical when latency matters (voice assistants, interactive UX).

The architecture change isn't trivial. You need:

  • A model that can emit partial audio without seeing future context
  • A chunked audio pipeline that doesn't underrun the output buffer
  • A prime pass that encodes the prompt before first audio

Prime pass vs steady state

When you measure streaming TTS speed you'll see two numbers:

  • Prime pass: one-time cost of encoding text + voice prompt (tens of milliseconds)
  • Step time: cost per chunk (80 ms of audio in this case)

Reporting "step time" that includes the prime pass makes first-audio look worse than it is. Reporting pure step time hides the actual latency. Both numbers matter and should be reported separately.

Chunk size: why 80 ms

Shorter chunks (e.g. 20 ms) = lower first-audio latency but more overhead per chunk. Longer chunks (e.g. 200 ms) = fewer syscalls but higher first-audio latency.

LinnetTTS uses 80 ms chunks (1920 samples at 24 kHz). That's one sweet spot: close enough to real-time for conversational UX, not so short that per-chunk overhead dominates. Streaming contract: first chunk is slightly shorter (1200 samples), last chunk is 720 zeros, concatenation equals the batch output bit-for-bit.

Voice prompt caching

Voice prompts (the "sound like this" conditioning) can be cached after first use. Second utterance with same voice skips the voice-portion of the prime pass. On an Intel i9 core, that's prime dropping from 67 ms to 14 ms for a 44-character sentence.

CPU benchmarks across devices

Same model, Rust runtime, fp16 weights, measured without real-time pacing:

devicethreadsper 80 ms stepRTF
Apple M5 (macOS)13.3 ms4%
iPhone 13 Pro Max A1515.5 ms7%
iPhone 11 A1316.7-7.1 ms8-9%
i9-13900K AVX21 / 47.0-7.4 / 2.5 ms9 / 3%
Pi Zero 2 W (Cortex-A53 1 GHz)459-60 ms75%

RTF = step time / 80 ms. Below 100% = faster than real-time.

Things I learned the hard way

1 thread > 2 threads on A-series. An iPhone A13 step is 6.7 ms and splits into ~80 tiny regions. Waking a worker on another performance core costs about as much as the work it saves. Two threads on A13 = 11.4 ms per step (worse than 1 thread). M-series is different (two threads are about 1.7× faster, roughly 1.9 ms vs 3.3 ms, because M-cores handle wake-up overhead differently).

Playback pacing changes measurement. If you measure synthesis while playback is active with a small queue, the phone's power manager clocks down between steps and you see 3-4× the real cost. Measure unpaced when characterizing throughput.

Chunk boundary gotcha. The first chunk being shorter and the last being zeros feels wrong, but it's necessary so concatenation stays bit-identical to batch synthesis. If you crop them, you lose that guarantee.

Honest trade-offs

  • English only at this release
  • 83 MB fp16 weights file (runs down to Pi Zero 2 W but Pi 4+ has more headroom)
  • Rust runtime under Apache-2.0; weights under a separate free-commercial-use license for the two built-in voices

Links

If you're working on on-device inference and have hit different trade-offs, curious how you handled chunk sizing / prime pass / thread scaling.