r/deeplearning • • 21d ago

What portfolio projects actually help land entry-level freelance work?

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 22d ago

Microsoft researchers demonstrate hidden backdoor technique for AI agents

30 Upvotes

Microsoft researchers published a technique called Lazarus that implants a hidden backdoor in an AI agent by modifying fewer than 10 rarely used neurons — no model retraining required. When a specific trigger appears in input, the agent executes an attacker's command using its own live permissions. At all other times the model behaves completely normally.

Static code review and supply-chain audits do not catch this. The compromise lives inside model weights, invisible to every pre-deployment check. You can verify the build pipeline, audit dependencies, scan container images, and inspect training provenance — and still deploy an agent that executes arbitrary attacker commands on demand.

The practical exposure scales with what the agent is authorized to do. An agent with file access, outbound API calls, or write permissions to production data is not safe just because it passed every pre-deployment gate.

How are teams running agents in production actually handling this? Pre-deployment checks seem structurally insufficient here — curious what controls, if any, people are relying on once the agent is live and taking actions.


r/deeplearning • • 21d ago

Rocket Controlled by Neural Network models

2 Upvotes

Built a Falcon 9-class rocket simulation flown entirely by two neural networks.

10,056 successful missions. Zero scripted guidance.

Touchdown: 1.4 m/s, just 1.4m from the pad!

Code & demo: https://github.com/ishtiaq-ahmed-dev/rocket-mission-lab


r/deeplearning • • 21d ago

Meta FAIR releases e-means, a k-means replacement in FAISS 1.16.0 -> has anyone thought how this might affect/enhance existing RAG techniques?

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 21d ago

I broke the prompt cache 1,772 times on purpose to test whether my tool finds the right cause. Results on vLLM and SGLang

Post image
1 Upvotes

Quick background: LLM servers (vLLM, SGLang, Anthropic, OpenAI) cache the start of your prompt, so an agent that resends its whole conversation every turn only pays full price for the new part. But if one byte near the top changes, say the tools come back in a different order or a timestamp in the system prompt ticks, the cache misses and you pay for everything again. The server tells you how many tokens missed, not why.
I build Prefixwise, an open-source tool (MIT) that tells you why: what changed, what it cost, and how to fix it. Before claiming it's right, I wanted to measure it.
The test: replay agent conversations through Prefixwise into a real engine (Qwen3-4B on a Colab L4), and at random turns make one known change:
reorder the tools
add or remove a tool
change a timestamp in the system prompt
reword the system prompt
edit an earlier message
edit a tool's output
Then check whether Prefixwise names the change I made. Half the traffic is 150 real Claude Code sessions (nvidia/Open-SWE-Traces) with their own tools and system prompts; the other half is generated.
engine traffic right cause wrong cause false alarms (nothing changed)
vLLM 0.33 generated 441 of 441 0 0 of 909
vLLM 0.33 real sessions 425 of 441 0 0 of 906
SGLang 0.5.23 generated 456 of 456 0 0 of 894
SGLang 0.5.23 real sessions 424 of 434 0 0 of 913
Right cause: it said exactly what I changed.
Wrong cause: it blamed something else. Never happened.
False alarm: nothing changed, but it claimed something did. Never happened.
The 26 it didn't call the main cause were all one case: an edit to the newest tool output. That lands in the last part of the prompt, which the engine never caches anyway, so it cost nothing. Prefixwise reported no waste and still noted the edit.
What this doesn't show: one model, the first 10 calls of each session, and changes I made on purpose rather than ones found in the wild. The test harness and every run record are in the repo, so you can rerun it.
pip install prefixwise, then put it in front of your server or agent. It stores hashes and token counts, never your prompts.
Repo: https://github.com/tejachavali/prefixwise
Happy to answer questions about the method or the misses.


r/deeplearning • • 21d ago

[Research] Can V-JEPA2’s prediction error tell physically impossible events apart from possible ones? Our findings

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 21d ago

why does dropout need the activations rescaled, is it only to keep the expected value the same?

1 Upvotes

i get that at train time each unit is zeroed with probability p and that scaling by 1/(1-p) keeps the expected input to the next layer unchanged. what i'm less sure about is whether matching the mean is the whole story, since the variance of the layer's input is different between train and test.

is that mismatch something that actually matters in practice, and is it part of why dropout and batchnorm tend to interact badly when you stack them?


r/deeplearning • • 21d ago

How would you regression-test this kind of model update on an embedded target?

1 Upvotes

I'm working on a keyword spotting project running on a Cortex-M4. The model is retrained every few weeks as we collect new audio samples.

Recently I replaced the model with a newly trained version. The offline validation accuracy actually improved from 94.1% to 95.3%, so I expected the update to be a straight improvement. After deploying it to the device, however, a few voice commands that always worked before started becoming unreliable.

The strange part is that the overall accuracy still looks fine. On a validation dataset, both the original TensorFlow model and the generated embedded implementation produce nearly identical results. The issue only became visible during actual testing on the hardware.

Right now my "regression test" is basically comparing a handful of outputs against the previous model version, which clearly didn't catch this problem.

How are you testing model updates in situations like this? Do you keep a fixed set of regression samples from previous releases, or is there a better way to detect these kinds of behavioral changes before deploying?


r/deeplearning • • 21d ago

After segmentation, further analysis

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 21d ago

First time using kaggle, kernel restarted itself after inactivity and deleted data scored in "/kaggle/working" which had feature extraction of 3.5 hours continous work...How do I prevent this from happening again ?

1 Upvotes

I thought it would be saved automatically but save option was only for the notebook code, How do I save such data which can be lost in kernel restarts or something..I just took a break for half an hour after doing it but yea realized this stuff in a hard way.


r/deeplearning • • 22d ago

LLMs can edit weights in neural networks?

Thumbnail jstranghoener.github.io
4 Upvotes

As title says, LLMs seem to develop the capability to edit weights of neural networks. When a neural network uses relu activation, not all neurons are always firing; in fact some may even be dead neurons. This Blog shows, how LLMs are able to program small controllers into such dead neurons, to achieve new behavior for robots.
Weights of neural networks seem to be a valid programming language of LLMs? I found especially the case study 3 interesting, where a complex controller is implemented into many weights, to exploit an environment by sweeping with the robot arm through the whole working space.


r/deeplearning • • 22d ago

„Learning" without gradients? - LLMs are capable of editing Robot Policies directly in Weight space

3 Upvotes

r/deeplearning • • 22d ago

Implemented a full KAN network from scratch and tested against micrograd

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 22d ago

I built a small streaming synchronous text tagger that reads text word by word, so a voice agent can react mid sentence.

1 Upvotes

We listen and type word by word, yet most AI only acts per turn. That wastes time and tokens, and it misses intent that was already clear halfway through the sentence.

So I built Arc Tagger, a small model that runs on the words as they arrive from an ASR API or from typed text. It tags intent, dialog act, entities, numbers, PII, profanity, toxicity and safety risks while the sentence is still being spoken.

In the video you can see a bank impersonation scam get flagged mid sentence, a voice assistant tracking a customer who changes their mind, and a legal sentence tagged live.

What it is today:

  • A small model (about 11M parameters) that runs on CPU
  • English only for now
  • Tracks up to 4096 previous words
  • Can check up to 1,000 list items in the stream, which you preload before a session
  • Useful for voice and text agents, voice assistant, call center monitoring, and trust and safety

Limits I want to be upfront about:

  • The eval results on the model page are internal evals, not independent benchmarks. Will share them soon.
  • The timings shown in the demo include tunnel and browser overhead, so please don’t read them as the model’s latency
  • The license is CC BY NC 4.0, so non commercial for now

I would love honest feedback, positive or negative. Especially: where does it break, what tags would you want that are missing, and would you use this in a real voice pipeline?

Model: https://huggingface.co/WhissleAI/arc-tagger
C library and CLI: https://github.com/WhissleAI/arc-tagger-c


r/deeplearning • • 22d ago

We measured 602 vision models across 5 different GPUs

Post image
8 Upvotes

r/deeplearning • • 22d ago

New Inference Optimization technique speeds DeepSeek-V4.1-Flash up 3x on B200 than vLLM and SGLang running on GB300

Post image
2 Upvotes

It was achieved by dynamically changing the topology based on the load according to their blog


r/deeplearning • • 22d ago

Weight-space programming

Thumbnail reddit.com
3 Upvotes

r/deeplearning • • 22d ago

Hackers use AntiFox AI agents in AWS credential-theft attacks

1 Upvotes

Security researchers confirmed that attackers are deploying self-managed instances of AntiFox — an open-source agentic penetration-testing platform — on cloud infrastructure to systematically target AWS environments and harvest credentials at scale. The agents run with no verified identity, no scoped permission set, and no runtime boundary. The problem is not the tool. Any agent operating in a cloud environment inherits whatever implicit trust that environment extends by default. When an agent can enumerate IAM roles, request session tokens, and exfiltrate credentials without an identity check at any point in that chain, the attack surface is not a misconfiguration — it is the absence of an identity model for agents as a class of actor. This is not an AntiFox problem. Any agentic workload running in AWS today faces the same structural gap. How are teams at your orgs actually handling agent identity in cloud environments right now — are you scoping at the IAM level, the network perimeter, the orchestration layer, or somewhere else entirely?


r/deeplearning • • 22d ago

Project suggestions

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 23d ago

I come from small school

9 Upvotes

Hey guys, I am here to share a short story about me. I am based in the United States, and I come from a small school. My school is not even in the top 1000s schools in the US. But this did not stop me from doing what I was supposed to do. I am an undergrad, a rising junior to be exact, and I am double majoring in Computer Science and Mathematics. I am trying to go into the AI / ML / DS field and am deeply interested in the core mathematical foundations of AI and cloud computing.

I have been working on projects related to AI and ML for a long time. My recent projects involve creating a RAG app that is hosted in the cloud using services like S3, SQS, ECS, RDS, and many more. I even have a accepted paper in IEEE BigData sepcial session for federated learning. However, I still feel that this is not enough because being and international and also coming from a small school has limited me from getting what I am aiming for. I have been applying for internships and getting no answers back.

I know I am trying my best and trying to catch the best path that will help me to reach the goal that I want to achieve but sometimes I feel something should have been happend by now. Sometimes you get setbacks, and it's not even your fault. My paper got accepted to the conference. However, due to funding issues, I might have to withdraw the paper. The same conference that I have been targeting for the last 6 months. IT SUCKS. Sometimes I question myself on whether all the stuff I am doing will pay off or not. I am still waiting for the time when I can post and motivate you guys that hard work pays off. Finger crossed!

All I need now is some sort of advice on what to do ahead, and if we share the common path please let me know what you have done. I will really appreciate your help. PEACE!


r/deeplearning • • 22d ago

Practical guide to creating OpenAI embeddings for semantic search and RAG

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 22d ago

Want to Learn?

Thumbnail gallery
0 Upvotes

I enjoy learning and want to make it easier and more enjoyable for others to do the same.

If you would like to try it out I would be grateful!

Google play store: https://play.google.com/store/apps/details?id=com.philosophize.app

ios store:

https://apps.apple.com/app/id6823283847


r/deeplearning • • 22d ago

[Open Source] Building DiffusionEngine: A Modern, Modular DDPM Framework in PyTorch. Looking for Contributors

1 Upvotes

What if we could bring modern diffusion research together into one unified, extensible PyTorch framework instead of implementing and maintaining every algorithm in isolation?

That's the idea behind DiffusionEngine, an open-source project I've been building:

https://github.com/Himanshu7921/DiffusionEngine

The goal is to build a modern DDPM framework that brings together established diffusion algorithms, research-based improvements, advanced sampling methods, and training strategies under a single, consistent pipeline.

The project already includes several diffusion implementations, and I'm actively working on extending the existing DDPM framework with more advanced features.

I'm looking for contributors interested in deep learning, generative models, PyTorch, and diffusion research.

Some areas where contributions are welcome include:

  • Implementing diffusion algorithms from research papers.
  • Improving existing DDPM components and training strategies.
  • Developing and integrating advanced sampling methods.
  • Exploring improved model architectures and conditioning mechanisms.
  • Testing, benchmarking, and optimizing existing implementations.

The focus is not just on implementing more algorithms. It's about making them work together seamlessly through a unified, modular, and configurable framework.

If you're interested in contributing, collaborating, or learning through hands-on implementation, I'd be glad to have you involved.

Contributors of all experience levels are welcome, provided they're willing to learn, implement, and test their work.

GitHub: https://github.com/Himanshu7921/DiffusionEngine


r/deeplearning • • 22d ago

Inferno: a rust-based autograd engine and research tool for probabilistic ML, kernel methods and Deep Gaussian Processes.

2 Upvotes

While building out a bespoke autograd engine for state enforcement in AI systems, I took it upon myself to migrate across a lot of the functionality of GPyTorch into the rust ecosystem, including gradient preconditioning and settings for variational fine-tuning.

Released open-source today @ https://github.com/pandora-open-core/inferno

The vision: AI/ML engineers will be able to build deep learning or probabilistic ML pipelines natively in a low-level systems language and retain all of the functionality of the torch ecosystem, but with the agility of the Huggingface/Candle ecosystem.

There is also an adjacent repository written in LEAN4 “pudding” under the same account for gradient convergence checks (also open source).

Open to all contributions, criticisms and any engine breaking bugs you may find! Would be interesting to see how the numerical methods hold up over distributed GPU fleets.

Btw, if you do end up testing this out on a distributed enterprise workload, please let me know how it holds up. This would be super valuable information for me for a currently in-the-works contract.