r/learnmachinelearning • • 1d ago

Project [R] Could holographic memory help solve the long-context bottleneck in future AI architectures?

0 Upvotes

I've been working on a comprehensive research survey exploring the connections between Holographic Neural Networks (HNNs), Vector Symbolic Architectures (VSAs), Hyperdimensional Computing, and modern AI architectures.

The central question is:

Can future AI systems combine exact local attention with compressed holographic long-term memory to reduce memory requirements?

The paper covers:

  • Mathematical foundations of holographic binding, superposition, and retrieval
  • Memory capacity and signal-to-noise trade-offs
  • Connections to Transformers, linear attention, and state-space models
  • A conceptual hybrid holographic memory architecture
  • Potential applications in photonic computing and efficient AI hardware

The proposed architecture is theoretical and has not yet been validated in a production-scale language model.

I'd particularly appreciate feedback on the mathematical assumptions, retrieval-capacity limits, and the feasibility of combining holographic memory with modern sequence models.

Paper, source files, and engineer-friendly summary:

https://github.com/Murat314/Holographic_Neural_Networks

Disclosure: The manuscript was prepared with AI assistance from Gemini 4 Neon and GPT-6 Sol.


r/learnmachinelearning • • 1d ago

Help Full-stack dev building AI apps. What should I learn underneath the APIs so I'm not replaceable?

2 Upvotes

I'm a full-stack developer ([X] years) and lately most of my work is "AI full stack": Next.js/React, Node, Postgres, calling LLM APIs, prompt engineering, simple RAG, tool calling, deploying on Vercel/Cloud Run.

My worry: this layer feels thin. AI tools write a lot of this code already, and anyone can wire an API to a UI. I want to get to the core so I stay employable in 3–5 years, not just chase the next framework.

What would you study next, and in what order? Options I'm weighing:

- CS fundamentals: data structures, algorithms, operating systems, networking, databases internals

- System design and distributed systems (queues, caching, scaling, reliability)

- ML fundamentals: linear algebra, how transformers work, fine-tuning, evals

- Infra/MLOps: running models, GPUs, inference cost, observability

- Going deep in one domain instead (fintech, health, etc.)

For people hiring right now: what separates someone you'd hire from "can build a ChatGPT wrapper"? And what would you skip?


r/learnmachinelearning • • 1d ago

Tutorial Kaiming He's one-step generator, built from scratch

Thumbnail
youtu.be
1 Upvotes

Two networks, same code, same 200,000 stars. One draws a spiral galaxy in a single pass. The other crushes everything into one ball. The only difference is one term.
I made a video building Kaiming He's drifting models (MIT, Feb 2026) from scratch: the pull, the push, and the frozen-target trick that turns it into a training loss. I'm also honest about what's still unproven.


r/learnmachinelearning • • 1d ago

Do you know of any free courses for beginners that show you just the basics and fundamentals to see if it sparks any interest?

5 Upvotes

r/learnmachinelearning • • 1d ago

Discussion LingSante-3.1-flash advertises long context; the harder question is what it misses

2 Upvotes

A million-token context window sounds attractive for medical records, but the ability to accept a long record is different from reliably finding the decisive detail inside it. The FP8 source checkpoint of LingSante-3.1-flash, Ant Ling's new open-weight medical text model, advertises a 1M-token context, while its published config currently lists 262,144 positions. Its model card explicitly warns that long-context support does not guarantee retrieval of every relevant fact.

A useful research audit would plant a small number of clinically consequential facts at different positions in a long, de-identified record: an allergy, a medication change, a conflicting lab result and a later correction. Ask the model to cite the exact supporting passage and to say when evidence is missing. Count omissions, wrong attributions and unsupported confident answers separately. The FP8 source checkpoint is available for such outside testing.

This would evaluate evidence handling, not authorize diagnosis. The release card says the model is for research and evaluation and not a medical device.


r/learnmachinelearning • • 1d ago

Career Machine Learning (Geotechnical Engineering Background)

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Custom finger-level hand motion capture data for dexterous manipulation and imitation learning (studio in India)

Thumbnail
youtube.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Discussion Relying on large models won't help you fully master linear algebra either.

1 Upvotes

I am an engineer working in artificial intelligence development. In the process of learning large model technology, I often encounter knowledge related to linear algebra, such as the low-rank decomposition techniques of large models, and the singular value decomposition frequently encountered in machine learning.

Whenever I encounter mathematical knowledge I don't quite understand, I always turn to large models first for advice, but I have found that even with the help of large models, it is still very difficult to learn linear algebra well.

Large models have strong reasoning abilities and a very rich reserve of mathematical knowledge, but these strengths tend to be concentrated in explanation and verifying reasoning, giving people a rather stiff and theoretical impression. More critically, what large models are good at is reasoning at the symbolic level, yet they can hardly replace learners in building intuition themselves. Linear algebra is a course that cannot be thoroughly learned through textual explanations alone.

Recently I wanted to thoroughly understand singular value decomposition. Although the large model provided a great many explanations and I could understand the entire exposition, I still could not figure out why it is done this way.

Later, I read a short crash-course booklet on linear algebra, which suggested first building an intuitive, sensory understanding and then proceeding to mathematical symbolization and reasoning. It told a story, from the decline of the standard basis, to the rise of the eigenbasis, and then to the coronation of the candidate basis. Only then did I understand that singular value decomposition should be understood from the perspective of spatial transformation and from the perspective of bases, so as to avoid getting stuck in abstract mathematical reasoning and being unable to extricate oneself.

In the end, I came to understand a principle: although large models are very powerful and can even solve world-class mathematical problems, the mathematical materials they are trained on are often abstract and difficult, so the explanations they give often lack intuitive analogies and geometric images, making it hard to help people build true intuition. For most of us, without intuitive understanding, directly accepting these abstract things makes it very difficult to learn the essence of linear algebra. Therefore, I think we should not rely excessively on large models. In addition, communicating more with experts is equally important—experts can often offer intuitive analogies targeted at your specific confusion, and this is in line with the booklet's approach of using a story to explain "bases" clearly; it can help you ground abstract symbols in concrete images and experience the beauty of inspiration.


r/learnmachinelearning • • 1d 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 • • 1d ago

Help Suggest me courses for learning GenAI and Agentic AI

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 1d 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 • • 1d ago

Help 17yo applying to uni: torn between CS and EE because of AI, and wondering if ML/robotics is realistic with just a Bachelor's

7 Upvotes

17 year old here, trying to decide which degree to apply to.

I originally thought I would be going into Computer Science, however, due to school work, I haven’t really gained much knowledge past basic Python, which is fine. However, recently, I’ve become aware of how difficult entry level software engineering roles are becoming. From reading up, it seems as though many developers do not actually write or fully understand the code they are pushing any more. This is very concerning to me, especially considering how quickly the technology is progressing. I cannot even begin to imagine how much worse the situation will be when I finish my degree in 2030/2031.

As a result of this, I began considering Electrical Engineering as an alternative option. It offers a wider range of skills (both software and hardware). I feel that working with hardware rather than just software will provide better job security. However, given that I could find videos of Claude completing hardware tasks and designing radio boards, I don’t know what capabilities we’ll have in 2030.

My issue is whether Electrical Engineering is even the right choice for me. I only considered this option due to concerns about job security, although in reality, I am very interested in ML and robotics. I often find myself thinking about k means clustering, looking at leaderboards on RoboDojo, watching videos on channels like Graduate ML and AI Search in my personal time. Last summer, I attempted to get into ROS 2 (unfortunately not very successfully), played around with some reinforcement learning in robotics, and managed to get through the end of calculus 2 with Professor Leonard. However, since then A levels have taken over the majority of my time.

However, I have 2 main concerns that I hope people within this field can answer:

  1. Replacing humans. As mentioned earlier, I am very concerned that entry level positions in software engineering will be replaced by AI. In ML/robotics (embodied AI), it seems as though we are relying on humans, but given how quickly AI is progressing, do you think in 4-5 years’ time ML/robotics entry level jobs will be as difficult to get as software engineering is currently?
  2. Getting jobs with only a bachelors degree. How realistic is it to get an entry level job in ML or robotics with only a bachelor’s degree? I’m not sure I will be able to afford a master’s degree, so I’m just wondering how likely it is to get into ML/robotics without one. From what I’ve read, it seems extremely rare to get into ML/robotics directly with a bachelor’s degree. Most people require post graduate degrees or work as regular software engineers for 2-3 years first which might be impossible in 2030.

Any advice would be very helpful. Thank you!


r/learnmachinelearning • • 2d ago

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

Thumbnail fedemagnani.github.io
57 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 • • 2d ago

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

40 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 1d ago

Question How are you handling reliability in production AI agents?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d 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 • • 1d 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 • • 1d 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 • • 1d 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 • • 2d 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 • • 2d 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😄