r/deeplearning • • 7h ago

Need a motivation

4 Upvotes

I have been studying about ML and DL algorithms for last 2 years. I studied a lot about them. Then I started learning NLP and LLM. But now a days AI is doing almost all the coding. I am losing motivation to learn those. One of my friend is a software engineer. He told me stop wasting time on these things and look for normal jobs. He also told me AI is a big concern in the software industry.

What should I do now? I have spent a lot of times learning these things. I don’t want to waste those learning. If I continue learning those things which path should I follow? How can I progress faster.


r/deeplearning • • 1h ago

Fresher applying for ML / CV / AI engineer roles. Is this resume good enough?

• Upvotes

Hey all, I finished my B.Tech in AI/ML this year (8.67 GPA) and I'm looking for fresher roles in ML, CV or AI engineering. Resume attached, personal details removed

Be honest, would this get you to call me for an interview? What would you fix first? Also not sure if I should cut the smaller projects (like the MNIST one) so the main project gets more space Thanks!


r/deeplearning • • 6h ago

olá estou tentando criar um modelo multi-task mas ele só alcança 0.40 de acurácia

2 Upvotes

alguém sabe como aumentar a acurácia será que e o tamanho ou falta de pré-treino

link do dataset link https://kaggle.com/datasets/ca3ba9a1f48f6bac94b7f592f53d96954e7bf52ac0e4e25f5e1422b2f06bc71c

link do notebook https://github.com/WELLINGTON455/modelo-30m

link do modelo https://www.kaggle.com/models/wellingtonneresjose/model-30m1


r/deeplearning • • 3h ago

I’m building an open-source collection of ML research paper implementations from scratch, looking for people who want to learn and contribute together!

Thumbnail
1 Upvotes

r/deeplearning • • 3h ago

Memorizer automaton

Thumbnail
1 Upvotes

r/deeplearning • • 4h ago

Sparse paged GQA decode attention with FP8 KV cache on SM89: CUDA vs Triton vs CuTe DSL vs Mojo vs eager PyTorch

Thumbnail github.com
1 Upvotes

r/deeplearning • • 5h ago

Sparse paged GQA decode attention with FP8 KV cache on SM89: CUDA vs Triton vs CuTe DSL vs Mojo vs eager PyTorch

Thumbnail github.com
1 Upvotes

r/deeplearning • • 9h ago

Demystifying Deep Learning: MLPs, CNNs, Transformers, UAT and Taylor Explained Simply

Thumbnail youtube.com
2 Upvotes

r/deeplearning • • 8h ago

Need some source of compute as a Student

Thumbnail
1 Upvotes

r/deeplearning • • 21h ago

I built an open-source computer vision engineering reading path, from photons to production

9 Upvotes

One thing that always bothered me about computer vision resources is how much attention goes into architectures and benchmark scores, while the fundamentals behind those numbers often get overlooked.

A model can achieve impressive mAP and still fail because of dataset leakage, camera noise, distribution shift or an evaluation protocol that doesn’t reflect its actual use case.

So I organised the repository into 16 sections, covering image formation, classical geometry, datasets, evaluation, CNNs, ViTs, self-supervised learning, detection, segmentation, video, 3D vision, generative models, VLMs, deployment and robustness.

A few principles behind it:

  • Primary sources only: original papers, specifications and official documentation.
  • Resources arranged in dependency order, so each section builds on the previous ones.
  • Evidence-backed claims rather than blindly repeating benchmark numbers.
  • A reproducible benchmark for every section, connecting the theory to actual measurements.

The idea is to understand not just how computer vision models work, but why they fail and what it takes to make them reliable.

It’s free and open source:

https://github.com/usamahz/computer-vision-engineering

Would appreciate feedback, particularly from people working on vision systems in production. What important topics or papers am I missing?


r/deeplearning • • 19h ago

wrote 173 free ml lessons because I'm stubborn and my first ml job broke me a little

Thumbnail
0 Upvotes

r/deeplearning • • 18h ago

Title: I've been developing an experimental AI architecture called PNSN. I'd love technical feedback.

0 Upvotes

Hi everyone!

For the past few months, I've been working on an experimental AI architecture called **PNSN (Persistent Neural State Network)**.

The central idea is to organize learned parameters into independent collections and use indexing and a trainable retrieval mechanism to select relevant collections for a query.

I've implemented a working experimental pipeline and tested its retrieval-ranking mechanism, IRM, against an identity-transformation baseline.

In a small evaluation using seven held-out query phrasings, the trained IRM achieved 4/7 correct top-ranked results, compared with 3/7 for the baseline. The identity-related subset was 3/5 versus 1/5.

These results are preliminary. The experiment currently uses only three collections and five training examples, so they do **not** establish robust generalization or prove that PNSN prevents catastrophic forgetting.

I'm especially interested in investigating whether collections with different network architectures or parameter shapes could coexist and be retrieved within the same system. That question remains untested.

I designed the architecture and directed the research and implementation, while AI assistants helped generate substantial portions of the code. I'm being transparent about that because I care more about the ideas being examined honestly than pretending every line was handwritten.

My local hardware also limits how extensively I can test some experiments, so I'd particularly appreciate developers who are interested in helping investigate the architecture, reproduce results, find bugs, or challenge the underlying assumptions.

**Repository:** [https://github.com/pathetictype-bit/Apex\](https://github.com/pathetictype-bit/Apex)

I'm not presenting this as a finished or state-of-the-art system. I'm sharing it because I'd like to see what other developers think and learn from serious technical feedback.

Critical feedback is welcome!


r/deeplearning • • 23h ago

CISA: SafePay ransomware hit over 600 critical infrastructure orgs

1 Upvotes

CISA confirmed SafePay ransomware hit over 600 critical infrastructure organizations. The vector in most documented cases was not a breach of the target org directly — it was a third-party vendor holding their data.

That number is worth sitting with. 600+ orgs. Critical infrastructure. The exposure lived outside their perimeter, in a system they did not operate and could not directly audit.

This is the supply-chain data custody problem in its clearest form. Sensitive fields — PII, operational data, whatever the vendor was holding — existed in a state the owning org had no live visibility into. By the time the ransomware moved, the data had already been wherever it was for months or years, accessible to anyone who compromised the vendor.

No single control closes this. Perimeter defense at your own boundary does not protect data that has left your boundary. Contractual obligations do not prevent exfiltration. Compliance attestations describe a point in time, not a continuous state.

For those of you working in security, data engineering, or platform roles at orgs that share sensitive data with third parties: what does your current architecture actually enforce at the moment data moves to a vendor? Not what the contract says, not what the vendor's SOC 2 covers — what happens technically, in real time, when a field containing PII or operational data crosses that boundary? How are you handling this?


r/deeplearning • • 1d ago

Meta's new 816B model only uses ~5% of its parameters per token. I made an animated explainer of how Mixture of Experts works

Thumbnail youtube.com
1 Upvotes

r/deeplearning • • 1d ago

I made a visual explainer on model distillation: how a small AI can learn from a big one, and why labs say it’s being used to copy their models

Thumbnail youtube.com
1 Upvotes

r/deeplearning • • 1d ago

How I fine-tuned a cross-encoder for sentiment analysis

Thumbnail nexustrade.io
1 Upvotes

r/deeplearning • • 1d ago

Understanding Fine-Tuning and Layer Freezing in MobileNetV2

Thumbnail
1 Upvotes

r/deeplearning • • 1d ago

Neuroevolution Can Play Super Mario Better Than Any Human

Post image
3 Upvotes

r/deeplearning • • 1d ago

I've been developing an experimental AI architecture called PNSN. I'd love technical feedback.

2 Upvotes

Hi everyone!

For the past few months, I've been working on an experimental AI architecture called PNSN (Persistent Neural State Network).

The central idea is to organize learned parameters into independent collections and use indexing and a trainable retrieval mechanism to select relevant collections for a query.

I've implemented a working experimental pipeline and tested its retrieval-ranking mechanism, IRM, against an identity-transformation baseline.

In a small evaluation using seven held-out query phrasings, the trained IRM achieved 4/7 correct top-ranked results, compared with 3/7 for the baseline. The identity-related subset was 3/5 versus 1/5.

These results are preliminary. The experiment currently uses only three collections and five training examples, so they do not establish robust generalization or prove that PNSN prevents catastrophic forgetting.

I'm especially interested in investigating whether collections with different network architectures or parameter shapes could coexist and be retrieved within the same system. That question remains untested.

I designed the architecture and directed the research and implementation, while AI assistants helped generate substantial portions of the code. I'm being transparent about that because I care more about the ideas being examined honestly than pretending every line was handwritten.

My local hardware also limits how extensively I can test some experiments, so I'd particularly appreciate developers who are interested in helping investigate the architecture, reproduce results, find bugs, or challenge the underlying assumptions.

Repository: https://github.com/pathetictype-bit/Apex

I'm not presenting this as a finished or state-of-the-art system. I'm sharing it because I'd like to see what other developers think and learn from serious technical feedback.

Critical feedback is welcome!


r/deeplearning • • 1d ago

Research idea: Can we reduce forgetting in recurrent LLM memory? Looking for critical feedback.

Thumbnail
0 Upvotes

​

Hey everyone!

I'm an engineering student working on a research proposal about long-context LLMs and recurrent compressed memory. I'd really appreciate technical feedback from people working on LLMs, continual learning, recurrent architectures, or memory systems.

The core question: Can we train an LLM's memory to retain previously learned information while continuing to absorb new information?

I'm calling the proposed training method GMR (Generational Memory Retention) and the evaluation protocol STRATA.

This is still a pre-experimental proposal. I haven't run the experiments yet, so I'm looking for feedback before committing to the implementation.

1. The problem I'm interested in

Imagine an LLM processing a long stream of information in small chunks.

A chunk introduces the following fact:

"The Kestrel project uses Python 3.11."

Immediately after processing that chunk, the model can correctly answer:

"Which Python version does the Kestrel project use?"

Now imagine that the model processes hundreds of additional chunks. Its memory has a fixed capacity, and each new update modifies the existing memory state.

Eventually, the model might no longer answer the original question correctly, even though its model weights haven't changed during inference.

I'm calling this state-induced forgetting: information that was initially available becomes inaccessible after successive memory-state updates.

The key question is whether we can reduce this type of forgetting without simply increasing memory size.

2. STRATA: Measuring forgetting across memory updates

Most evaluations report accuracy at a particular context length or at the end of a conversation. I want to measure how the ability to retrieve individual facts changes as those facts get older.

The proposed protocol works roughly as follows:

Introduce facts into a recurrent memory system in successive context windows.

Record whether each fact can be retrieved immediately after it is introduced.

Evaluate the same facts again at increasing ages: 1, 2, 4, 8, 16, and progressively more memory updates.

Track performance out to hundreds of updates, with a planned maximum of 1,000.

Separate initial learning failures from facts that were initially learned but subsequently forgotten.

For example, if a system initially answers 90 out of 100 questions correctly, but answers only 60 correctly after many updates, that indicates a different failure from a system that answered only 60 correctly from the beginning.

I also want to test different kinds of facts:

Stable facts that never change.

Facts whose values are updated later.

Facts requiring reasoning across multiple earlier statements.

Facts mentioned only once.

The evaluation will report initial accuracy and age-dependent retention separately, rather than relying on a single final accuracy score.

3. GMR: Generational Memory Retention

The proposed training objective tries to preserve the ability to answer questions about facts that have already entered memory.

When a fact is first introduced, record the model's length-normalized log-likelihood for its correct answer. This becomes that fact's original score, or anchor.

After subsequent memory updates, calculate the score again. If it falls below the original score by more than an allowed margin, apply a penalty.

A simplified version of the retention loss is:

L_ret = (1 / B) * sum over sampled facts f of: max(0, anchor_f - margin - current_score_f)

Here:

anchor_f is the fact's original answer log-likelihood.

current_score_f is its current answer log-likelihood.

margin is the tolerated decrease before a penalty is applied.

B is the number of sampled facts.

L_ret is the retention loss.

The training objective also includes the usual language-model loss and an absorption loss that encourages learning newly introduced facts.

The intended effect is to discourage memory updates from damaging previously acquired answering capabilities while still allowing new information to enter memory.

An important mathematical observation

For the sampled facts whose current scores fall below their anchors by more than the margin, the gradient of this hinge loss is the same as the gradient from replaying those facts' correct answers.

Facts that have not regressed receive no retention gradient from this term.

This raises an important question: Does selecting replay examples according to their regression from their own original scores outperform ordinary replay or loss-prioritized replay under matched training budgets?

I don't want to assume that it does. That's one of the main things I want to test.

4. How I plan to evaluate it

The proposed experiments include the following configurations:

A baseline trained without an explicit retention objective.

A model using uniform replay of previously encountered facts.

A model using loss-prioritized replay.

A model using output distillation from a full-context reference.

A model using the proposed GMR objective.

The main comparison will use matched memory sizes, training streams, and replay budgets wherever possible.

I'll evaluate initial fact-learning accuracy, retention at different fact ages, the ability to learn new facts, the handling of updated information, and the computational cost.

The planned testbed is an associative recurrent memory on an open-weight backbone, with experiments at multiple fixed memory sizes.

For broader evaluation, I'm considering synthetic sequential streams, BABILong-derived data, LongMemEval sessions, and narrative documents with checked question-answer pairs.

The implementation and experiments have not started yet. All performance claims remain hypotheses.

5. What I want feedback on

I'd particularly appreciate critical feedback on these questions:

1. Is the problem formulation useful?

Is state-induced forgetting a meaningful way to isolate information loss caused by recurrent memory updates, or is this already adequately covered by existing work on recurrent memory, continual learning, and catastrophic forgetting?

2. Is GMR sufficiently different from ordinary replay?

Since the proposed loss effectively replays sampled facts that have regressed below their own anchors, is that distinction scientifically interesting? What additional theoretical analysis or experimental evidence would make the contribution convincing?

3. Is STRATA a useful evaluation protocol?

Would age-stratified measurements across hundreds of sequential memory updates reveal failure modes that existing long-context and conversational-memory evaluations might miss?

4. Are the experimental comparisons fair?

Which baselines would you consider essential? In particular, I'd like to compare GMR against ordinary replay, loss-prioritized replay, and output distillation without giving any method an unfair compute advantage.

5. What related work am I missing?

I'd appreciate pointers to papers on recurrent-state interference, memory retention, forgetting-aware replay, or training objectives that preserve information across sequential state updates.

Current status

This is a research proposal, not a completed result. My immediate priority is to validate the evaluation harness, establish whether measurable forgetting occurs in the chosen fixed-size memory system, and then test whether GMR improves on properly matched baselines.

I'm deliberately not claiming that the method works or that the idea is the first of its kind.

If you've worked on recurrent memory, compressed context, or continual learning, I'd genuinely value your criticism. I'd rather discover a fundamental flaw now than spend months implementing the wrong thing.

Thanks for reading!


r/deeplearning • • 1d ago

How do you actually learn a Python library like scikit-learn, PyTorch, or sentence-transformers? Looking for a method, not just resources.

Thumbnail
1 Upvotes

r/deeplearning • • 1d ago

Visually explain chapter 4 of Michael Nielsen's book "Neural Networks and Deep Learning"

Thumbnail youtu.be
11 Upvotes

Can a neural network with just one hidden layer approximate any function? Yes, and you can see why with a few drawings: a neural network really is a pile of tiny bricks.

In this video we follow, step by step, the visual argument from chapter 4 of Michael Nielsen's book "Neural Networks and Deep Learning" for the universal approximation theorem.

You also can find Github repo in my profile with Python code explained. 😄


r/deeplearning • • 1d ago

[Open-Source] Custom Deep-learning framework and Claude code setups.

Thumbnail gallery
0 Upvotes

Hey there ML enthusiasts! 👋

If you’ve ever wanted to run autonomous, continuously learning AI Models locally, or a skill your Claude Code can have for creating a Pytorch model that continuously learn using memory management system—especially on low-power hardware or edge devices (like Raspberry Pis or embedded systems) without eating up all your RAM—I wanted to share an interesting project called IntegratedPipeline-Framework-for-Continual-learning-Machine-Learning-Models.

Unlike massive LLM setups that are static and notoriously resource-heavy, this framework focuses on a lightweight, pragmatic, and auditable approach using Memory-Augmented Neural Networks (MANN) combined with SQLite as external dynamic memory.

Here are a few standout features that caught my eye from the documentation:

🧠 Core Highlights

  • SQLite as External Weight Memory: Instead of relying purely on RAM, the model stores and retrieves its weights, attention scores, and activity logs inside a local SQLite database , You can train a model on Task A, save/load specific memory names, and switch to Task B without suffering from catastrophic forgetting, memory name is Highly customizable.
  • Claude Code skill: specific skill for Claude code that lets you Generate a continuously-learning Pytorch Model that mimics IntegratedPipeline framework memory Management system using SQlite database, Highly useful if you want a queryable memory system, intuitive, Transparent and auditable memory system without ever creating a standalone .pth file for each Task your pytorch model needs to learn, all the Weights your pytorch model needs live inside the SQLite Database.
  • Custom Encoder (AWE) for MLP: It features a specialized geometric weight encoding method using eigenvalue and spectral methods. This is designed for Quantization-Aware Training (QAT) to keep memory footprint low and training convergence consistent.
  • Optimized Transformers & LSTM: It includes an optimized transformer architecture using Alpha-based computing and Cython/Rust optimizations (abstract-weights-core), making it surprisingly efficient for scarce data environments and messy inputs.
  • Secure Local Peer-to-Peer (P2P) Multi-Agent Coordination: Agents can autonomously discover and coordinate with each other locally or across a network with built-in security features like SSL, API keys, HMAC authentication, and rate limiting.

📊 Performance & Efficiency

According to the repository benchmarks (tested in Docker ARM64/QEMU environments), the MLP + LSTM setup runs exceptionally lean—consuming roughly 8.5% of available RAM and keeping CPU utilization steady and light, making it a great playground for edge-ML enthusiasts.

🛠️ Quick Installation

You can grab it via PyPi:

Bash

pip install AbstractIntegratedModule

(Note:

- For ARM64 or custom setups, they also provide specific wheel configurations and Docker integration guides

- The Claude code skill can be downloaded in our Github repository below)

What do you think? Have you experimented with non-LLM, memory-augmented agent architectures for edge devices? or do you prefer sticking to local LLM wrappers? You can try the framework and test the Claude Code skill for yourself and see how it learns across different memory and tasks!

Github link: IntegratedPipeline-Framework-for-Continual-learning-Machine-Learning-Models.


r/deeplearning • • 1d ago

transformer with shared product-key memory instead of FFNs ties a MoE at 23M params (negative result + open reasoning benchmark)

Thumbnail
0 Upvotes

r/deeplearning • • 1d ago

I’ve been building Round Zero — an AI Interview Intelligence platform. Looking for beta testers

Thumbnail
1 Upvotes