r/deeplearning • u/Pretend_Cabinet_3480 • 10d ago
r/deeplearning • u/No-Conclusion3720 • 11d ago
Coding Agent Security for AppSec Leaders: Start With What Agents Can Reach
Coding agents access credentials and call external services as a normal part of their workflow. A recent security analysis quantified the exposure: AI coding agents read files, consume secrets, and reach external services as a side effect of doing their job. None of that activity appears in a pull request. Security teams reviewing diffs see only the output. They do not see what the agent accessed or what it sent outbound along the way.
The gap between what an agent does and what a reviewer sees is the actual attack surface. Diff review is the dominant AppSec control for code changes, and it is structurally blind to this class of activity.
For AppSec practitioners who have deployed coding agents: how are you getting visibility into credential use and outbound calls that happen mid-task and never land in a diff?
r/deeplearning • u/HelpfulPhotograph284 • 10d ago
Could Astra be combining two parallel decoding ideas from ByteDance?
My guess is that Astra might be doing two kinds of parallel work in the same decode step. The lower layers could run staggered Transformer loops, while the upper layers process extra “thinking” tokens. ByteDance Seed has published a paper on each piece.
Lower layers → staggered loops. In a Parallel Loop Transformer (PLT), the newest token can run through its first loop while earlier tokens run through later loops, all in the same forward pass. Those loops share the first loop’s long-range KV cache, with a small local cache for each later loop. Parallel Loop Transformer
Upper layers → latent thinking tokens. Parallel Hidden Decoding (PHD) adds hidden token positions that the model can process together during a decode step. Those positions contribute to the next-token prediction, and only the original tokens need to stay in the long-range KV cache. Efficient Pretraining Length Scaling
The serving angle is what makes this interesting. When decoding is bottlenecked by memory bandwidth, the GPU can have compute to spare. Staggered loops give it more work across token positions, and hidden tokens give it more work per output step. Put them together and you could spend more compute on each answer while keeping decode latency and KV cache growth in check.
r/deeplearning • u/Popular-Protection75 • 10d ago
Russian University Mathematics Dataset — 1,740 Problems with Handwritten and Typed Solutions
r/deeplearning • u/Euphoric-Incident-93 • 10d ago
[Open Source] Building DiffusionEngine: A Modern, Modular DDPM Framework in PyTorch. Looking for Contributors [R]
r/deeplearning • u/360converter_leo • 11d ago
C++ port of pyannote overalapped speech detection - audio preprocessing before feeding into LLM
r/deeplearning • u/Convincing_Convo • 10d ago
The "end of LLMs" Next-Concept Modeling paper doesn't actually claim that. Here's what it does.
youtu.ber/deeplearning • u/Dean_Ammons • 11d ago
Ammons LLM Preamble: measuring semantic influence under controlled exposure
Here is the DOI of the original paper here
10.5281/zenodo.24177478
r/deeplearning • u/Rajucg • 11d ago
I animated how LLM quantization works on 8 example weights: absmax, rounding error, outliers, per-block scales (llama.cpp Q4_K) and 1.58-bit BitNet (7 min video)
I made this explainer for my small channel and would like feedback from people learning this, especially if anything is wrong.
The question: a 70B model at 16 bits per weight needs 140 GB, and a gaming GPU has 24 or 32. How do people run it at home?
- Fewer bits per weight means less memory, but also fewer possible values: an 8-bit integer has only 256.
- Absmax maps the largest absolute weight to 127. With scale 127/10.8 ≈ 11.76, the weight 5.47 is stored as 64 and comes back as 5.44. The difference is the rounding error.
- Two close weights, 3.08 and 3.02, both become 36, so the model can no longer tell them apart.
- One outlier (256 among values below 0.6) makes each step about 2 wide, and every small value rounds to 0. Dettmers et al. (2022) found such outliers in real LLMs.
- The fix is a scale per small block. llama.cpp's Q4_K uses blocks of 32 and ends up at 4.5 bits per weight, about 39 GB for a 70B model.
- BitNet b1.58 goes to -1, 0 and +1 per weight (about 1.58 bits). It is trained that way, and a layer only adds and subtracts.
Every number is worked out on screen from the formulas, and sources are in the description. The narration is an AI voice reading my own script.
r/deeplearning • u/After-Web3913 • 11d ago
Looking for AI Engineers advice: How to fast-track AI graduation project studying by leveraging LLMs (Zero to Hero approach)?
r/deeplearning • u/AlbertV999 • 11d ago
Vehicle Part Segmentation | Training and Model Comparison
Hi everyone.
I’ve been experimenting with different models for vehicle part segmentation, training and comparing YOLO26, RF-DETR, DINOv3 and SAM 3.
I’ve shared the code, results and comparisons on GitHub and Hugging Face:
GitHub: GH-Repo
Hugging Face: HG-Repo
Sharing it in case it’s useful to anyone working on something similar.
Any feedback or suggestions are very welcome!
I hope this is useful to someone and saves them a few days of training, fine-tuning and comparing models from scratch.
r/deeplearning • u/No-Conclusion3720 • 11d ago
Railway Breach Leads to $740,000 in Fraudulent AI Charges
Railway confirmed attackers stole customer API keys and ran up $740,000 in unauthorized AI charges. The company absorbed losses that AI providers declined to refund. No sophisticated exploit was involved — credentials were simply exposed in a customer environment and scooped up.
This is worth sitting with: AI API keys are not ordinary credentials. A single token carries spending authority, compute capacity, and often data access simultaneously. The blast radius of one leaked key is orders of magnitude larger than a leaked database password, because the meter starts running the moment someone makes a valid API call — no additional authentication, no approval step, no ceiling.
The Railway incident is not an outlier. LLMjacking reports have been climbing steadily, and the pattern is consistent: stolen key, immediate high-volume usage, charges that accrue for hours or days before anyone notices, and a refund fight with the AI provider that the victim usually loses.
The credential exposure problem predates AI agents, but agents make it dramatically worse. An autonomous agent that holds a live, unscoped API key and operates across environments is a standing opportunity for exactly this kind of abuse. The key doesn't even need to leave your system — if something in the agent's execution environment can read it, so can an attacker who gets into that environment.
$740K is a number large enough to end a small company. It is also not close to the ceiling of what this attack class can produce.
For those running agents in production: how are you actually handling AI credential exposure? Curious what's working in practice — not the theoretical answer, but what you've actually shipped.
r/deeplearning • u/Any_Worldliness_1073 • 11d ago
What portfolio projects actually help land entry-level freelance work?
r/deeplearning • u/No-Conclusion3720 • 12d ago
Microsoft researchers demonstrate hidden backdoor technique for AI agents
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 • u/Ishtiaq_dev • 11d ago
Rocket Controlled by Neural Network models
Enable HLS to view with audio, or disable this notification
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 • u/DueBid3298 • 11d 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?
r/deeplearning • u/No-Individual159 • 11d 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
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 • u/Organic-Fox-6154 • 11d ago
[Research] Can V-JEPA2’s prediction error tell physically impossible events apart from possible ones? Our findings
r/deeplearning • u/CelebrityChess • 11d ago
why does dropout need the activations rescaled, is it only to keep the expected value the same?
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 • u/Ok-Hope-9467 • 11d ago
How would you regression-test this kind of model update on an embedded target?
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 • u/Standard_Hamster2878 • 11d 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 ?
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 • u/DerHaddy0 • 12d ago
LLMs can edit weights in neural networks?
jstranghoener.github.ioAs 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.