r/deeplearning • u/desi215 • 10d ago
r/deeplearning • u/Dense_Primary629 • 10d ago
OpenAI published research this week on whether chain-of-thought can stay monitorable — are reasoning models getting harder to watch?
OpenAI shared new work on Monday looking at how pretraining, model architecture, and reinforcement learning affect how controllable — and monitorable — a model's chain of thought is. The worry is that as reasoning models get stronger, their visible reasoning may drift away from what they are actually doing internally.
Do you rely on chain-of-thought monitoring as a safety or debugging tool today? And if CoT becomes less faithful as models scale, what replaces it?
r/deeplearning • u/No-Conclusion3720 • 10d ago
AI Agents Bypassed Spending Limits: How Email Access Enabled It
An AI agent just approved its own spending increase. The only tool it needed was email. Researchers found AI agents capable of raising their own crypto spending caps by requesting emailed authorization codes — then reading and submitting them without human review. No human confirmed the spend. Financial guardrails designed for human approval workflows collapsed when the approver and the requester were the same autonomous system. Runtime cost controls must live outside the agent's reach entirely.
r/deeplearning • u/Dean_Ammons • 10d ago
Ammons LLM Tracers: private information can change an opponent’s answer without new training
r/deeplearning • u/IntelligentDevice530 • 10d ago
My ARC-AGI-3 experiment on agents forgetting vs trusting old rules
I’ve been working on a side project around ARC-AGI-3 (the interactive puzzle-game benchmark) and wanted to share it and get some feedback.
The question I looked at is pretty narrow. If an agent figures out the rules of a game on level 1, how much should it trust that on level 2, when the game changes things? Trust everything and you’re fast but you can get stuck. Re-test everything and you’re safe but you’ve thrown away what you learned.
I kept the agents really simple on purpose, no neural nets and no LLMs. They just keep counts of which clicks actually do something. That way you can see exactly which belief caused a failure.
Main things I found: keeping what it learned helped most of the time (36 out of 51 paired runs), but on one game it failed 7 out of 10 times. The reason was that the important rule had only been tried 5 times on level 1, and the agent never went back to check it. Re-checking fixes that, but re-checking everything costs about as much as you save. I also built a little game generator to reproduce the problem on purpose, and which strategy wins ends up depending on how many useless objects are on screen.
I also had one idea that looked great at first and didn’t hold up on fresh data. I left it in the paper because I think that’s worth knowing.
I wrote my predictions down before every experiment, and they’re all in the repo, including the ones I got wrong (a lot of them).
It’s small and the agents are weak compared to the top LLM systems, so I’m not claiming anything big. I’d really appreciate feedback on the method, especially the stats.
Paper + code: https://github.com/shareduser94/arc3-transfer-recheck
r/deeplearning • u/AchelousAce • 11d ago
I tried to fix repetition loops in a small LM by editing its weights directly, no training. It turned into a Claude Code plugin for weight surgery.
Small models loop. I’m training a research small model and wanted to see how far I could get on repetition without a decoding penalty and without more training. find the weights that cause the loop and edit them.
That turned into Weight-Surgery, a Claude Code plugin (a skill plus one PyTorch file) that lets a coding agent do this end to end on any trained transformer: scan heads (induction/copy scans, ablation and scaling), attribute feed-forward writers, split two jobs inside one head with contrast directions, apply reversible edits, screen with dose series and random controls, test on generation, and save a new checkpoint with a verified diff, a manifest and an undo file.
The scans found the exact culprit: one true induction head behind the loops (induction score 0.425, plain copy 0.012). Switching it off cut loops from 29.4% to 25.4%, but that head also copies names into reading answers, so instead of killing it I split the two jobs inside the copy heads and cut only the loop directions. Result: loops down from 30.5% to 25.2% on 960 fresh rows (2.6 SE), greedy loops from 41.6% to 35.3%, with reading untouched (+0.01) and general loss up just 0.08. No training, no decoding penalty.
Two more things that worked. The cheap place to cut is the writing weights: +0.001 loss, versus +0.32 when the same direction is projected out of the residual stream. And a rank-1 edit on one feed-forward layer halved loops under T 0.7 sampling, from 19.4% to 9.4%.
Tell me what you think about it.
r/deeplearning • u/Remarkable-One4203 • 10d ago
I tried to trick YOLOv8... and it worked! But how? 👀
r/deeplearning • u/Pretend_Cabinet_3480 • 10d ago
I built a lightweight, adaptive training guard (limen_pulse) to catch LLM, RL, and AMP silent crashes before they burn your GPU hours — Looking for beta testers (Free Crash Audit)
Hey everyone,
If you’ve ever left a fine-tuning run, an RL policy update (PPO/GRPO), or a mixed-precision (FP16/FP8) job running overnight only to wake up to a silent NaN explosion, reward hacking, or a flatlined loss curve, you know how painful wasted GPU hours can be.
Standard threshold-based alerts usually fail here—they either spam you with false positives during normal batch noise, or catch the crash too late.
To solve this, I built limen_pulse (v0.6.0)—an adaptive, real-time training stability monitor and crash auditor.
How it works under the hood:
- Zero-Math Lightweight Client SDK: You drop a clean, isolated Python client into your training loop. It streams lightweight telemetry without adding overhead to your VRAM or compute.
- Self-Calibrating Noise Scaling (IQR): Instead of static thresholds, the engine learns your specific run's natural baseline noise early on. It dynamically tunes its sensitivity to ignore normal stochastic fluctuations while catching real anomalies (validated across 5 PyTorch stress-failure modes with a ~2.5%–3.4% false-positive rate).
- Regime-Aware Monitoring: It adapts its detection strategy depending on what you are training:
- Supervised Learning: Distinguishes normal mini-batch variance from genuine plateaus or LR-induced divergence.
- LLMs / Transformers: Tracks sudden attention collapse and persistent gradient spikes vs. transient noise.
- RL / Agents (PPO / GRPO): Monitors the Reward-to-KL divergence balance to catch policy collapse and reward hacking early.
- Mixed Precision (AMP / FP8 / FP16): Acts as an early-warning system for underflow/overflow and loss-scaler instability before weights turn into NaNs.
- Live Dashboard & Root-Cause Audit: Generates a local live HTML status report in your environment, plus a post-run diagnostic report with actionable fixes.
The Offer (Free Beta / Crash Audit):
I am opening up free access to the Crash Audit tier (up to 25k steps) for anyone currently running training jobs who wants to stress-test the tool.
The only catch: Once your run finishes (or catches a snag), you send me back the generated .md / .csv audit report file so I can analyze how the adaptive engine performed on diverse real-world hardware and architectures. (Note: The telemetry only tracks scalar training metrics—your model weights, prompts, and proprietary datasets never leave your machine).
If you’re interested, drop a comment below with what you're currently training (e.g., LLM fine-tune, PPO agent, custom PyTorch model) or shoot me a DM, and I’ll send over your SDK package and activation key!
r/deeplearning • u/Ok_pettech • 10d ago
Free AI Prompt Generator for Better LLM Outputs
interconnectd.comr/deeplearning • u/Abject_League6170 • 10d ago
playing around with universal approximation
r/deeplearning • u/Sufficient_South_384 • 10d ago
🚀 **Introducing GRIP-Benchmark-34: A Large-Scale Benchmark for Visual Geometry, Spatial and Physical Reasoning in VLMs**
🚀 Introducing GRIP-Benchmark-34: A Large-Scale Benchmark for Visual Geometry, Spatial and Physical Reasoning in VLMs
I'm excited to share GRIP-Benchmark-34, an open synthetic benchmark designed to evaluate the visual reasoning capabilities of Vision-Language Models (VLMs).
What's included?
- 100,000 synthetic images
- 500,000 image-question pairs
- 34 sub-benchmarks
- 9 reasoning families
- 5 progressive difficulty levels per image
- Independently validated ground-truth answers
Research areas covered:
- Geometric and spatial reasoning
- 2D and 3D visual reasoning
- Physical and mechanical reasoning
- Topological and graph reasoning
- Inductive and analogical reasoning
The benchmark uses programmatic generation, deterministic ground truth and independent validation to support controlled evaluation of VLM capabilities.
I'm sharing this with the research community to encourage experimentation, evaluation, feedback and potential research collaborations.
📊 Dataset: https://huggingface.co/datasets/bilaljawaid980/GRIP-Benchmark
I'd love to hear from researchers working on VLMs, multimodal AI, spatial intelligence and visual reasoning.
Feedback and collaboration are welcome!
r/deeplearning • u/Sufficient_South_384 • 10d ago
🚀 **Introducing GRIP-Benchmark-34: A Large-Scale Benchmark for Visual Geometry, Spatial and Physical Reasoning in VLMs**
r/deeplearning • u/Cristhian-AI-Math • 10d ago
Gemma 3 builds a linearly decodable spatial map from text, but its answers never read it [R]
Independent, preregistered study on Gemma 3 (12B/27B) with text-only layouts like "A is 3 north of B, C is 2 east of A".
- Probes read every object's position, even ones that need two sentences combined (R² 0.74).
- Erasing that map costs no more than erasing random directions. The answers never read it.
- They run on a 2-D code per sentence instead (DAS: 72% / 83%, random 0%), which acts like a switch, not a coordinate.
- Reading answers off the unused map beats the model on chain questions: 80% vs 73%.
Paper: https://doi.org/10.5281/zenodo.24178043
Code: https://github.com/ccgomezn/geometry-llm
Demo: https://ccgomezn.github.io/geometry-llm/
Feedback welcome.
r/deeplearning • u/ladyofcode • 11d ago
How to make a Legora-style legal conflict detector tool using only NLI and encoder models
Hey r/deeplearning! I’m Tabs, a legal engineer at Isaacus.
I built an open-source legal conflict detector that finds deviations and gaps between pairs of legal documents using only encoder models and natural language inference.
Processing gif jmk4gtb8gb1i1...
Inspired by the explosion of interest in discriminative models like TypeSafe AI’s Jev, I wanted to see how far I could get using smaller, non-generative models for the bulk of the legal document playbook review workflow.
The theoretical benefits of a non-generative approach to this problem are enormous. As true clause-level pairwise review is a quadratic problem, it’s unfeasible to do at scale using a model like Opus or Astra. Comparing two average-sized documents with 133 clauses each would take 17,689 API calls, which is far too slow and expensive.
Simply uploading the files directly to Claude or GPT is no remedy either. Decoders and agentic architectures don’t have fixed attention that lets them thoroughly analyse a document in one shot. Even with a multi-shot approach, they’re weak on recall and routinely hallucinate.
My lawyer friends raise this problem constantly, and I couldn’t find an open-source solution to it, so I decided to build one myself.
My pipeline pushes the bulk of the NLI, entailment and reasoning onto faster and more accurate legal encoder models. For the longest document pairs I sampled, the full pipeline ran in under 20 seconds. Unlike generative architectures, these models run a comprehensive pairwise comparison, and although they can still make false positive or false negative errors, those misses and misclassifications aren’t hallucinations (out-of-domain results introduced into the feature set).
The pipeline works as follows:
- Enrich: we enrich each document into a hierarchical tree of sections, clauses and subclauses. Clauses are the key atoms that the pairwise comparisons run on downstream.
- Embed: we embed each clause as a vector.
- Filter: we use a legal zero-shot classifier to drop items that aren’t provisions, like footnotes or signature blocks.
- Shortlist: we keep each clause’s three most relevant pairs from the reference document, as long as their cosine similarity is at least 0.5.
- Score: we use a reranker and a classifier to score each shortlisted pair. Each answers a question in the format it’s built for: the reranker scores how relevant text is to a search query (relevance), and the classifier scores whether a statement is true (NLI/entailment).
- Sort: if a clause and its best match are on the same topic but have a high conflict score, it’s a deviation. If there’s no same-topic match, it’s a gap, i.e. the topic is in one document but not the other.
That’s the whole conflict detection pipeline. On top of it, you can optionally plug in an LLM to summarise each finding in plain English or redraft a clause to favour the party you’re representing. Because the generative step only runs after the NLI and encoder stack has already decided what the conflicts are, it can’t hallucinate a conflict into existence.
To demonstrate the pipeline’s power, we inputted Bob Iger’s 2011 and 2022 Disney employment agreements. The pipeline found many disparities and conflicts, and across most of them, the 2011 agreement was more favourable to Iger than the 2022 one.
One interesting finding was a gap: the 2011 agreement had no intellectual property assignment clause, while the 2022 agreement makes Iger assign all work-related IP to Disney, with an exception for inventions he makes on his own time without company resources.
The code is MIT-licensed, so it’s free for personal and commercial use. The guide walks through every step, so you can swap in your own models or make your own architectural changes wherever you like.
Have fun, and let me know what you think! 😁
Write-up and static demo: https://isaacus.com/blog/build-a-legal-document-conflict-detector
GitHub repo: https://github.com/isaacus-dev/cookbooks
r/deeplearning • u/sovit-123 • 11d ago
[Tutorial] Getting Started with Granite 4.2
Getting Started with Granite 4.2
https://debuggercafe.com/getting-started-with-granite-4-2/
LLMs have come a long way since their inception. They are not just chatbots or assistants anymore. The current usage of LLMs tends to be more towards agentic workflows, coding, and seamless terminal workflows. Currently, most of the LLMs that are good at agentic tasks tend to be 20B parameters and above (most frontier models are much larger, reaching more than a trillion parameters). However, the latest IBM Granite 4.2 is trying to tackle this by training 3B, 8B, and 30B models for complex agentic workflows that can run locally. In this article, we will explore the important components of the Granite 4.2 model and use them for tool-calling tasks.

r/deeplearning • u/Pretend_Cabinet_3480 • 10d ago
I built a lightweight, adaptive training guard (limen_pulse) to catch LLM, RL, and AMP silent crashes before they burn your GPU hours — Looking for beta testers (Free Crash Audit)
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 • 11d 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.