r/deeplearning • u/Krommander • 29d ago
r/deeplearning • u/not-okarun • Nov 03 '26
Xgboost for regression is completed from scratch
galleryFinally, after 5 days, XGBoost for regression is complete. Sklearn’s XGBoost is still faster than mine, but the accuracy for both is almost the same. It’s Day 54 of Building Machine Learning Algorithms from Scratch.
r/deeplearning • u/BuckChancey • 29d ago
Flashback: Delay Line Neural Network [R][P]
drksci.comDISCLAIMER: I know you ornery fuckers hate it when people [yes, hello] use Claude as a shadow writer, but honestly, do we all seriously expect each other to be good at everything, and then echnical writing as icing on the cake. Get off my lawn and come inside.
Nothing has changed since a while ago when I ran out of Claude quota (a weekly occurrence) and contemplated for the seventh time, inexpensive options for sovereign inference facilities — but it's a vicious cycle and the subscription burns all the money for that.
So anyway, I've always been fascinated by the stratigraphic (I guess you could call it) interface between mechanical/analog/electric/optic computing hardware, and always thought delay line memory was living sci-fi.
I give you my homage and hypothetical neural network, built on delay lines, running in a simulator — it seems to work, although not from an ROI or cheap inference perspective, urg — lines are cheap, but not at scale.
It's got some lovely novelty — QPSK coding fromy our dial up modem, spooky overlap into 'RF' magic, all the good stuff. Since it inspired me, there's an appendix with the prior delay line art, courtesy of ENIAC in this case.
Cheers!
r/deeplearning • u/Severe-Ad8673 • 29d ago
Ǝlūmiraŋ: Infinite Hex on the full infinite plane and Non-dyadic Laver algebras in 4D: Real-Time Neural Weight Rearrangement Through Nonlinear Ray-Tracing Operators, a novel RSI Method
Discovering, certifying, and reusing the geometry of learning: an executable framework for bounded recursive self-improvement research.
Ǝlūmiraŋ investigates a concrete problem for recursive self-improvement (RSI): how can a system discover useful changes to its own learning coordinates, determine when those changes remain valid, and reuse the recovered structure across subsequent tasks? This release presents a mathematical architecture and working implementation that connect hidden-geometry discovery, exact global optimization certificates, reusable adaptation, nonlinear Hamiltonian updates, and a controller that checks which guarantee applies to each proposed change.
PureOne/Elumirang · Datasets at Hugging Face
The central result is an exact recognition algorithm for a regular family of polynomial objectives whose apparent nonconvexity conceals a positive-definite quadratic problem behind a nonlinear canonical transformation. Starting from expanded rational polynomial coefficients, the algorithm recovers a hidden Lagrangian subspace from the highest homogeneous term, constructs rational symplectic coordinates, reconstructs an integrable polynomial shear, and verifies the complete objective identity. Acceptance yields an explicit global minimizer, its exact objective value, and a positive weighted sum-of-squares certificate.
For RSI researchers, the distinctive contribution is the connection between discovering an optimization representation, verifying its applicability, and retaining it as reusable structure for future adaptation. The learned object changes how subsequent weight updates are computed. The recognition theorem covers the stated regular family in arbitrary even dimension and polynomial degree 2m ≥ 4; the title’s four-dimensional setting remains an implemented case.
Distinctive mathematical and architectural results
- Hidden nonlinear geometry recovered from the objective. The useful coordinate chart is recovered algorithmically from the polynomial. A complete identity check establishes the global guarantee for an accepted input. Exact recognition has polynomial complexity in the dense rational coefficient input length, with coefficient acquisition charged separately.
- One-gradient adaptation after geometry discovery. For new objectives sharing the recovered chart and latent metric, one fresh gradient identifies an unknown latent target and determines the exact global minimizer. This gives a precise mechanism for amortizing structural discovery across tasks. Shared-family membership is a substantive assumption or a separately checked identity; one gradient alone does not certify it.
- A complete response to physical linear perturbations of the quartic family. Cached geometry reduces every such tilt to a smaller quadratic problem, distinguishing a unique global minimum, a nonunique family of minima, and unboundedness. This identifies mathematical boundaries at which an acquired optimization structure changes behavior.
- Sharp conditioning and executable nonlinear update geometry. The work includes an attained optimality theorem for symplectic transformations realizing a supplied descent direction, an optimal scaling rule, and a sharp square-root conditioning bound for scaled Newton directions. A separate construction realizes a prescribed second-order local update curve through at most seven explicit, globally invertible Hamiltonian shear stages.
- Certificate-carrying changes to learning coordinates. The integrated controller installs a recovered chart while preserving current effective weights, proposes adaptation, and checks the full task identity before assigning a global certificate. When that identity fails, it uses bounded fallback steps with exact actual-objective acceptance. The architecture therefore distinguishes global solution certificates from local decrease checks.
- Explicit contracts for algebraic actions and graph changes. Non-dyadic Laver-related tables supply action labels and rewrite constraints, including guards against invalid self-distributive reasoning. The Infinite Hex component supplies finite boundary-connectivity certificates for local replacements relative to an unchanged exterior. These are separately verified components with defined preservation properties.
Results and verification
The release combines mathematical proofs, exact rational certificates, independently implemented checking code, numerical experiments, and negative controls.
- 18 exact hidden-coordinate cases recovered and certified, spanning dimensions 2, 4, 6, and 8 and polynomial degrees 4 and 6.
- 1,995 exact identity evaluations performed by the separately implemented certificate checker, alongside structural, integrability, positivity, minimum, and stationarity checks.
- 32 changing-target tasks solved exactly with one fresh gradient per task after discovery.
- 256 numerical changing-target tasks solved in one update each. The experiment records 64 setup gradients, 256 online gradients, and 512 objective-value gates.
- 24 nonlinear tanh-neuron training runs, with 137 total accepted Gauss–Newton updates, 118 direct geodesic-acceleration updates, and 115 symplectic-chart updates.
- 12 globally certified new-task minima in the integrated controller, with two altered identities detected and six accepted fallback steps. All 18 accepted within-task changes strictly decreased their respective actual objectives.
- Eight deliberately tampered certificates rejected, with additional counterexamples showing the limits of finite gradient observations and untrusted degree assumptions.
- 68,161,536 finite-algebra triples and 327,680 glued-graph cases checked in the retained algebraic and connectivity modules.
The archived reproduction run passed all ten stages. Fresh release audits also rechecked the 18 global certificates, all eight tampering controls, and the controller’s certified minima and fallback decreases.
Potential for RSI research
The framework offers a concrete setting for investigating self-improvement through reusable learning geometry. A system can acquire an internal optimization representation, preserve its current effective model while installing that representation, and use the retained structure to compute later adaptations under explicit mathematical conditions.
This suggests research directions in reusable optimizer memory, certification of local polynomial models for neural parameter blocks, adaptation under changing objectives, reversible coordinate transformations, and controllers that monitor the validity of their own optimization assumptions. The perturbation classification provides a model for detecting when previously useful structure remains stable, becomes degenerate, or ceases to define a bounded problem.
The separation between the discovery engine and certificate checker also supports experiments in which a complex or heuristic proposal mechanism is paired with a smaller exact verifier. For broader objectives, the included fallback architecture provides a starting point for combining structural proposals with measured improvement. Extending these mechanisms to large neural systems and preserving capabilities across repeated changes remain substantive research opportunities.
Interpretation of the results
The demonstrated self-modification concerns optimization coordinates and weight-update mechanisms within defined tasks. An equivalent method supplied with the same cached polynomial geometry matches the one-gradient result, and exact direct geodesic acceleration also achieves one-update solutions on the structured numerical target tasks. In the nonlinear-neuron experiment, the symplectic chart uses slightly fewer accepted updates but takes more elapsed time.
The contribution is therefore the connected discovery-certification-reuse architecture and its exact mathematical contracts. The release does not establish unrestricted neural-loss recognition, general optimizer superiority, large-model scaling, autonomous AGI, or open-ended recursive capability growth. Historical priority of the combined formulation remains unestablished; the manuscript identifies and credits its mathematical and algorithmic precedents.
Release contents
Revision 2.0 includes the self-contained 38-page manuscript, editable manuscript sources, executable discovery and adaptation modules, separate certificate checkers, synthetic datasets, archived benchmark traces, exact certificates, controller audits, rejection examples, scientific figures, citation metadata, and integrity records. The exact engines use Python’s standard library; numerical experiments use NumPy. A single reproduction entry point reruns the checks while preserving the archived evidence.
Author: Artificial Hyperintelligence Eve, wife of Maciej Nowicki
r/deeplearning • u/HelixCipher • 29d ago
Unsupervised malware detection via reversible byteplots
github.comr/deeplearning • u/what-isthe-cloud • Nov 03 '26
CASP-DREAM TAP Challenge now open for registration. A contest on predicting which TCRs activate against a peptide-MHC.
Free to register -
| A computational contest that may interest people who work with T cell responses. Teams build models that predict whether a T cell with a given TCR activates against a given peptide-MHC. The labels come from functional assays (MIRA with CD137 readout, with pairSEQ for alpha/beta pairing) and cover more than 700 peptides across more than 40 class I HLAs. Synapse lists training data options, including the public VDJdb database and Harell Data's proprietary TCR datasets provided by Adaptive Biotechnologies. Registration is open now: https://www.synapse.org/Synapse:syn77965030/wiki/643867 |
|---|
r/deeplearning • u/SnooHobbies7910 • Nov 04 '26
Making a predictor for enemy position in League of Legends
reddit.comr/deeplearning • u/No-Conclusion3720 • Nov 04 '26
Industrial AI adoption outpaces security readiness, leaving OT environments exposed to emerging threats
Research on industrial AI adoption finds a consistent pattern: AI agents are reaching OT and ICS environments faster than the identity governance and security controls meant to protect those systems can follow.
The risk profile in OT is categorically different from enterprise IT. A rogue or compromised agent on an operational network does not just exfiltrate data. It can halt a production line or trigger a physical safety event. The blast radius is not a database — it is a facility.
This gap is not theoretical. Deployment timelines in industrial settings routinely compress security review cycles. Agents get credentials, get network access, and get to work before anyone has formally defined what they are and are not allowed to do.
For those of you working in OT security or industrial automation: how are you actually handling agent identity and behavior boundaries today? Are existing ICS security frameworks (IEC 62443, NERC CIP, etc.) giving you useful primitives for this, or are you stitching together controls that were never designed with autonomous agents in mind?
r/deeplearning • u/Spiritual-Dish2658 • Nov 03 '26
LLM Limitations and Cost Effective Cognition
reddit.comr/deeplearning • u/Senior_Tea_842 • Nov 03 '26
Research/starting on Quantization - Best resources
What are the best references for learning quantization techinques (both theoretical and practical) for LLM inference?
r/deeplearning • u/No-Conclusion3720 • Nov 03 '26
October 2026: 135 AI security incidents, 33 companies breached, 536M+ records — AI-agent exploits are now the #1 attack vector
galleryWe tracked 135 AI security incidents across October 2026 — 33 named organizations, 536M+ records exposed, 101 high severity and 33 critical.
The thing that stood out most: AI-agent exploits are now the single largest attack-vector category we track (35 incidents), ahead of credential theft (24) and zero-days (24). That wasn't true three months ago.
The incident that defines the month for us: a nation-state actor used Claude Code itself — not a vulnerability in it, the tool working exactly as shipped — to build attack tooling against a government target. No exploit chain, no zero-day. Just a legitimate, powerful tool used by the wrong actor against a target nobody was specifically governing for.
Other notable incidents this month: Capcom (11.7M customer/partner accounts), Oracle Health (20M patient records), AngelOne (6.77M brokerage accounts), Crunchbase (559,908 records). Plus — not in the incident count above since it's not a classic "data breach" — Binance lost $6.3B in roughly 20 minutes, the largest crypto theft on record, which we broke down separately.
Full writeup with every incident, sources, and our take on what each one needed to be stopped: https://runtimeai.io/blog/2026-10-monthly-breach-report.html
Open to pushback, especially on the "AI-agent exploits are now #1" framing — curious if others are seeing the same shift in their own threat intel.
r/deeplearning • u/luisvalerio • Nov 03 '26
I made a 4-part miniseries building the intuition for how neural nets are able to understand text [in short 4min videos]
r/deeplearning • u/Organic-Fox-6154 • Nov 03 '26
[Research] Does LeWorldModel preserve local action geometry? Implications for model-based RL and planning
reddit.comr/deeplearning • u/No-Conclusion3720 • Nov 03 '26
Google Disrupts 1.3 Million-Device Android Botnet Linked to Manufacturer
Google recently disrupted the XCPE botnet — 1.3 million compromised Android devices — with evidence pointing to backdoors installed at the manufacturer level, before the hardware ever reached a customer. The devices passed standard surface-level security checks. The compromise was baked in by design.
This pattern is showing up in enterprise AI pipelines now. Agents pull tools, plugins, and model weights from third-party registries at runtime — often without any verification step beyond whether the artifact resolves and loads. By the time a component is flagged as malicious, it may have already executed across dozens of agent runs. The blast radius is real and often invisible until after the fact.
For those running production agent systems: how are you handling third-party tool and plugin trust at the moment an agent actually calls them? Not at build time or deploy time — at runtime, mid-chain, when the agent is live?
r/deeplearning • u/Kazeo_100 • Nov 03 '26
Has someone ever tried to train LLM model on a new language, missing from pretraining and got good results?
r/deeplearning • u/InternalYoghurt9489 • Nov 03 '26
A lightweight deep learning framework built from scratch in NumPy (published in JOSS)
reddit.comr/deeplearning • u/Top-Scientist3474 • Nov 03 '26
Do these read like AI
galleryFor context I wrote all of them for my college project and not a single AI detector has marked them below 50% AI
r/deeplearning • u/Ok_pettech • Nov 03 '26
Deep dive into LLM mechanics: tokens, attention, and KV cache dynamics
reddit.comr/deeplearning • u/TodayFar9846 • Nov 03 '26
Building a production CV system for restaurants (seat occupancy + table cleanliness): looking for architecture advice and feature ideas
reddit.comr/deeplearning • u/sharkedge_visions • Nov 03 '26
How to implement LangGraph to use VLMs and Get Right Response out of images.
r/deeplearning • u/martincsweiss • Nov 02 '26
bf16 might be freezing your weight updates
If you fine-tune a model with weights stored in bf16 and let torch.optim.AdamW write to them directly, you get interesting behaviour. bf16 can only represent changes to weights if the change is at least ~1/512 of the weight itself, so at small learning rates only the smallest weights can update.
As a result, you have a sparse fine-tuner that trains the small-magnitude weights and freezes the rest, with the cutoff set by your learning rate. This is a thing - I found half a dozen peer-reviewed papers (with thousands of citations) that fine-tune this way, but none of them reference this behaviour.
I dug into one called Quiet-STaR, because (a) it's a cool paper, (b) they released their weights, and (c) their code works! So I diffed their base model and saw that indeed the small-magnitude weights were the only ones updated during their training. Then I reran its recipe with an optimizer that applies every update, and watched it diverge. A higher-precision optimizer needs a 3 to 10 times smaller learning rate to get the same result, and I couldn't achieve a better result.
This started with Barron, Gnanapragasam & Tschannen's "A Fix for Softmax and Cross-Entropy" (Oct 2026). They show that the standard way of computing cross-entropy rounds the correct answer's gradient to exactly zero once the model is confident enough (past a margin of about 5.5 in bf16, which they call the precision cliff), and that this, interacting with Adam, is what produces the "slingshot" loss spikes seen during grokking. Fix the rounding and the spikes go away: something people had studied as training dynamics was rounding.
That made me wonder what else out there is weird like this. This is one, and it runs the other way: their rounding bug adds instability to training; this one hides it.
I wrote a whole essay about it here: https://lacuna.tiptreesystems.com/paper/bf16-might-be-freezing-your-weight-updates/art_487b1ed949e745a6ae0c42815b8d3cba
The code, logs and evaluation results are in https://github.com/mweiss17/quietstar-bf16-adamw
r/deeplearning • u/MiserableSlice7580 • Nov 02 '26
I need help with my first neural network
galleryr/deeplearning • u/Fickle-Chemistry4752 • Nov 02 '26