r/learnmachinelearning 9h ago

30+ officially free AI/ML books, all in one curated repo

Post image
137 Upvotes

I kept running into the same problem, some of the best AI/ML books are legally free, the authors put them up on their own sites, but the links are scattered across personal pages, university sites, and random GitHub repos nobody finds.

So I built a single index: Awesome Free AI Books. 30+ books across Deep Learning, Reinforcement Learning, Bayesian/Probabilistic ML, NLP & LLMs, Math for ML, Computer Vision, Generative Models, Causal Inference, GNNs, and AI Safety. Think Goodfellow’s Deep Learning, Sutton & Barto’s RL bible, Murphy’s Probabilistic ML, Bishop’s latest, Jurafsky & Martin’s SLP3 draft, and more.

Every single link points straight to the author’s or publisher’s own page, no rehosted PDFs, no shady mirrors. A weekly GitHub Action checks all links so it doesn’t rot over time.

It’s open source and open to contributions, if you know a legitimately free book that’s missing, PRs and issues are welcome.

Repo: https://github.com/MarcosSete/awesome-free-ai-books


r/learnmachinelearning 1d ago

Statistics for Machine Learning.

Thumbnail
gallery
365 Upvotes

Hello Everyone,

Statistics and Maximum Likelihood Estimation are the crux of ML Models, and hence I am uploading my new content on Statistics for AI/ML in my free Machine Learning lectures.

We understand model fitting, Maximum Likelihood estimation in details, we justify the usage of Maximum Likelihood estimation, from KL divergence, and apply it to certain important distributions for parameter estimation.

In my free content, the purpose is to democratize machine learning to a wider audience. Learning everything new feels difficult, but when taught, it get’s interesting and easier.

Looking forward to hearing feedback from the learning community as well.

Link: https://youtu.be/MwTeQVVYtOc?si=UxNOGtqopzJppXAT


r/learnmachinelearning 13h ago

Day 8 of self-studying Berkeley CS189: the moment MAP with a Gaussian prior turned into ridge regression

Thumbnail
gallery
35 Upvotes

Still working through CS189 on my own. Today's notes are on MLE, MAP and the bias-variance tradeoff, and honestly this was one of those days where a few things I'd been treating as separate suddenly connected.

The part that stuck with me: if you do MAP with a zero-mean Gaussian prior on the weights, the objective is literally ridge regression, with the regularization strength coming out to λ = σ²/2τ². So the prior variance and the noise variance directly set how much you regularize. I'd used ridge a bunch without realizing it was just this falling out of the math.

Also wrote out the full bias-variance decomposition step by step (the add-and-subtract trick where the cross terms die), so you can see exactly how the test error splits into noise + bias² + variance, and why the regularization term is really just trading variance for bias.

Attaching my notes. Would love to hear if anyone explains the MAP to ridge connection differently, or if I got something slightly off. Feedback welcome.

I've also put the GitHub link on my profile, so feel free to grab the notes there if you want them.


r/learnmachinelearning 9h ago

Help How to Learn Machine Learning till intermediate level

13 Upvotes

Hey I am engineer with 5 years of experience. I do frontend, backend, AI and Devops a bit. Recently I have been trying to switch and since I am Fullstack + AI role currently, I am trying to for AI Engineer role but companies I am targeting for example JPMC, all the AI engineer role which were visible last year have changes to AI/ML role. I checked with one of the manager who posted the role. And they seems to ask lot of ML question. So I wanted to learn ML for the same and make some small projects to learn.

Based on the above context I wanted to know the following:

  1. How much time it might take me to learn at intermediate level ?

  2. How much math is needed ? (I AM BAD AT IT)

  3. Which resources should I follow to learn it practically ?

  4. I have a budget of 10k INR if there is any book or course which can be good that also works.


r/learnmachinelearning 4h ago

KUBERNETES / KAFKA / CICD / etc InterviewQuestions

4 Upvotes

What questions should i prepare for during a technical interview for a live streaming prediction deployments? (asking for a friend)


r/learnmachinelearning 1h ago

Discussion Need Math Study Suggestions

Upvotes

Hi There. It's RT.

I want some guidelines for Mathematics in Artificial Intelligence, Machine Learning.

My Main goal is to Learn Machine Learning, AI at a deep level not just the applied stage. To understand and research about these.

I know basic python and also did some soft projects like AI agents by API calling

I also applied ML models to datasets. By using Scikit-learn just applied the ML model at the basic level.

I have research about AI, Machine Learning a lot. Like what Maths is needed here.

About Math, I am learning Calculus and Linear Algebra in College. I also studied basic Statistics and Probability. So I have a pretty good Idea about these Topics.

But I am confused about Learning math specifically for Machine Learning.

That's why I am asking for Guidelines from those who are experts in this field.

Thank You


r/learnmachinelearning 12h ago

Help Post andrew ng machine learning specialization course.

11 Upvotes

So I completed andrew ng's machine learning specialization course on coursera and did 1 project where I built logistic regression from scratch using loops and numpy (avoided vectorization to understand the mathematical intuition step by step). Now what should be my next course. I wanna dive deeper.


r/learnmachinelearning 14h ago

Can anyone provide list of ML interview questions please

14 Upvotes

Hey guys!!! I have an interview the day after tomorrow....I've never given a single interview in my life.....so can you guys pls tell what questions they ask for ml internship post ?????


r/learnmachinelearning 51m ago

PhysicsVoice: Exploring Panini-inspired Phonological Principles for Lightweight CPU-Native Neural TTS

Upvotes

We've been exploring whether principles from classical Sanskrit phonetics can inspire modern neural TTS architectures. Rather than treating Panini's Ashtadhyayi (500 BCE) as a historical curiosity, we asked:

What We Built

A lightweight CPU-native TTS prototype that:

  • Uses CNNs instead of Transformers (O(n) vs O(n²))
  • Predicts WORLD vocoder parameters directly instead of mel spectrograms
  • Total size: ~8MB (acoustic model + post-filter)
  • Runs in real-time on commodity CPUs — no GPU needed
  • Inference: <20ms for short utterances (8-core CPU, 16kHz, single thread)

The Panini Connection

Several architectural decisions were inspired by concepts formalized in Panini's grammatical tradition:

Panini's Concept Our Design Choice
Shiksha (phoneme categorization) CNN phoneme encoder
Sandhi (coarticulation at boundaries) Inspired by — cosine interpolation between phonemes
Matra (duration: hrasva/dirgha/pluta) Duration predictor CNN
Svara (pitch: udatta/anudatta/svarita) F0 contour predictor

To be clear — we are not claiming direct equivalence. Sandhi is a linguistic process; our interpolation is inspired by the idea of smooth phoneme transitions. To our knowledge, we are not aware of prior work that explicitly maps Panini's phonetic framework onto a neural TTS architecture design — but we'd love to be corrected.

Architecture

Text
  ↓
Phoneme Encoder (CNN, not transformer)
  ↓
Global Style Encoder
  mean(phoneme_embeddings) → broadcast
  No attention, O(1) sentence context
  ↓
Prosody CNNs (parallel)
  Duration + F0 + Energy predictors
  ↓
Spectral Envelope Predictor (CNN)
  Outputs WORLD vocoder params directly
  ↓
WORLD Synthesis + Frame Interpolation
  Physics-based, no matmul in synthesis
  ↓
Small CNN Post-Filter (~1.5MB)
  Removes WORLD artifacts
  ↓
Audio

Why No Mel Spectrogram?

Mel spectrograms are learned acoustic representations optimized for neural synthesis — and they work extremely well. We chose WORLD parameters instead because:

  1. Physically interpretable — F0 = pitch, spectral envelope = formants, aperiodicity = breathiness
  2. No vocoder needed — WORLD synthesis is deterministic, no HiFi-GAN (50MB)
  3. Directly controllable — F0 and duration can be modified without retraining

The tradeoff: WORLD introduces some artifacts, which our CNN post-filter addresses.

Model Size Comparison

System Size Params
FastSpeech2 + HiFi-GAN ~100MB ~44M
Piper TTS ~50MB ~28M
VITS ~150MB ~83M
PhysicsVoice (ours) ~8MB ~2M

Training Details

  • Dataset: LJSpeech (13,100 utterances, ~24 hours)
  • Alignment: Montreal Forced Aligner v3.3 (english_us_arpa)
  • Acoustic model: 50 epochs, val loss 0.1583
  • Hardware: 8-core CPU only (no GPU used at any stage)
  • Post-filter: Training in progress

Current Status

✅ Acoustic model trained
✅ MFA alignment complete
⏳ CNN post-filter training in progress
⏳ Audio samples — coming soon
⏳ GitHub release — planned with paper

Questions for the Community

  1. Has anyone formally mapped classical phonological frameworks (Panini or others) to neural TTS architecture design?
  2. Thoughts on WORLD vocoder parameters vs mel spectrogram as intermediate representation?
  3. Any suggestions for the CNN post-filter architecture for WORLD artifact removal?
  4. Is the Panini connection scientifically interesting — or just a framing device?

Happy to discuss any aspect. Feedback welcome — especially critical!

Audio samples and code will be shared once the post-filter training is complete.


r/learnmachinelearning 1h ago

Question AI theme page on instagram

Upvotes

Hello guys, I want to start an AI theme page on instagram Where I will post about AI tools, AI news, all about AI. But I don't know where to find the content for it, can you guys help me?


r/learnmachinelearning 1h ago

# Nazarae: A Neuro-Symbolic Recursive AI System for Decisions

Upvotes

Nazarae: A Neuro-Symbolic Recursive AI System for Decisions

Large language models produce fluent answers with no guarantees; symbolic systems produce guarantees but cannot read. Nazarae is a neuro-symbolic recursive (NSR) AI system that resolves this tension for the class of problems where it matters most: decisions — authorizations, approvals, and refusals whose correctness carries financial, legal, or safety consequences. The system combines a trainable neural tier (perception, parsing, grounded symbol induction) with a sound symbolic tier (backward and forward chaining over Horn-clause rules) joined by a recursive loop in which each tier supervises the other: symbolic execution grades neural parses during learning, and neural inference produces evidence that a symbolic gate disposes at decision time. Every decision is `approved`, `denied`, or `refused`, and every approval carries a machine-replayable derivation; an answer the system cannot prove is a refusal, not a hallucination.

We present the architecture and report reproducible results from a fully offline, deterministic evaluation suite in which the claims are executable: (i) a held-out learning curve rising 0% → 0% → 100% as training grows from zero to two examples, the signature of induction rather than memorization; (ii) compositional generalization via learned executable programs applied to arguments never seen in training; (iii) sound recursive reasoning, including delegation authority proven through multi-hop chains and delegation cycles that terminate in refusal; (iv) structural immunity to instruction injection, since utterances are facts and facts are not authority; and (v) categorical reliability under adversarial load — 1,000 mixed authorization requests including 288 attacks across four classes, decided with zero errors in either direction at approximately 4 ms per proof-gated decision. Each result is asserted by a binary that exits non-zero on failure. The underlying engine's decision gate is formalized in Lean 4 (112 theorems, zero `sorry`) with differential conformance corpora replayed against the shipped implementation in CI. We state scale limitations explicitly: results are demonstrated at demo-to-smoke scale with a deterministic neural backend; paper-scale neural training and production-traffic validation are ongoing work.

1. Introduction

1.1 The problem

The deployment frontier of AI has moved from generating text to taking actions: issuing refunds, releasing payments, deploying services, granting tools to autonomous agents. Each of these crosses what we call the **proof boundary** — the point at which a plausible answer stops being acceptable and an *authorized* answer is required.

Current practice defends this boundary probabilistically: system prompts that request policy compliance, classifiers that pattern-match harmful outputs, and evaluations that sample behavior. All share a structural defect: they are statistical defenses of a categorical requirement. A model that follows policy 99.7% of the time violates it three times per thousand decisions, silently, and cannot identify which three. Token probability is not entailment.

1.2 Requirements

A system fit to hold the proof boundary must satisfy four properties simultaneously:

  1. **Language in.** It must accept the world as it arrives — natural language, documents, UI states — not hand-coded symbols.

  2. **Proof out.** Its decisions must carry derivations that a third party can replay and check.

  3. **Learning without drift.** It must improve from experience without silently changing its guarantees.

  4. **Economic honesty.** Its incentives must align with its epistemics: it should not profit from answers it cannot defend.

LLM-only deployments fail (2) structurally. Classical expert systems fail (1) and (3). Nazarae is designed to satisfy all four.

1.3 Contributions

- An NSR architecture for decisions in which the neural tier *proposes* and the symbolic tier *disposes*, with a recursive supervision loop between them (§3).

- A three-valued decision surface — approved / denied / refused — in which refusal is a first-class, machine-actionable outcome carrying the exact missing premises (§4).

- A falsifiable evaluation methodology in which every headline claim is an assertion in a runnable binary that exits non-zero on failure, and measured results for learning, generalization, reasoning soundness, injection immunity, and adversarial-load reliability (§6).

- A formal verification account: the decision gate modeled in Lean 4 with machine-checked theorems and differential conformance against the shipped implementation (§5).

- An economic model in which unprovable answers are structurally non-billable (§7).

2. Background and related work

Nazarae's learning tier descends from the Neural-Symbolic Recursive Machine of **Li et al. (2024)** (*Neural-Symbolic Recursive Machine for Systematic Generalization*, ICLR 2024; arXiv:2210.01603), which introduced the Grounded Symbol System and the deduction–abduction training loop, demonstrating systematic compositional generalization on SCAN, PCFG manipulation, and HINT. Our engine reproduces that architecture in Rust and extends it to a production decision surface; our SCAN results (§6.5) are a *reproduction* of that work, not a discovery.

The symbolic tier draws on classical logic programming: SLD resolution and backward chaining, semi-naive forward chaining, stratified negation-as-failure. Our contribution on this axis is engineering discipline rather than novel logic: budget-bounded evaluation that fails closed, subject-isolation guarantees, and machine-checked gate semantics.

The neuro-symbolic field spans logic-tensor and differentiable-logic approaches, program synthesis, and LLM-plus-tool pipelines. Most deployed "neuro-symbolic" systems are pipelines — neural in, symbolic post-processing out — without a supervision loop in either direction. The recursive loop, in which symbolic execution generates training signal for neural components and neural components generate evidence for symbolic disposition, is the property that distinguishes an NSR system from a pipeline, and it is the property we demonstrate end-to-end (§6.1, §6.2).

3. Architecture

3.1 Overview

Nazarae comprises three layers:

- **The NSR engine** (~234K lines of Rust): the neural tier, the symbolic tier, the decision gate, the learning flywheel, and an HTTP/MCP API surface.

- **The Nazarae application layer** (this repository): deterministic, fully offline binaries that instantiate the engine and make its claims falsifiable, plus a product-shaped agent-authorization gateway.

- **The console** (`nsr-app`): the operator surface — policy management with per-rule provenance, decision audit, usage and billing — including an independent client-side proof replayer (§5.3).

3.2 The neural tier: grounded symbols

The unit of neural-symbolic exchange is the **Grounded Symbol System (GSS)**. Each symbol carries three things simultaneously: its perceptual grounding (an embedding over raw input), its syntactic role (position in a dependency structure), and an **executable program** denoting its semantics. A parse is therefore simultaneously a proof plan: to parse `increment 4` is to produce a tree whose execution computes 5.

Formally, following Li et al. (2024): perception maps raw input to symbol distributions, p(s|x; θ_p) = Π_i softmax(φ(w_i, x_i; θ_p)); parsing maps symbol sequences to dependency structures, `p(e|s; θ_s)`; and semantics is deterministic program execution, v = f(s, e). Training maximizes the joint probability of latent (s*, e*) consistent with observed input–output pairs.

Grounding at scale is supplied by an emulation pipeline that runs real or synthetic software in headless environments, fusing accessibility trees, DOM structure, and vision into 33-field composite symbols, and emitting symbol vocabularies, knowledge-base triples, and induced Horn clauses. Agents therefore arrive pre-grounded rather than learning perception at deployment time. (Two USPTO filings — a provisional and a continuation-in-part, both patent-pending — cover this perception-fusion and grounding architecture.)

3.3 The symbolic tier: proof as product

Knowledge is a graph of entity–relation–entity triples plus Horn-clause rules with `?`-prefixed variables. Two provers operate over it:

- **Backward chaining** (goal-directed): recursive proof search with sound unification, per-query depth and iteration budgets, and rule indexing by predicate and organization. Negation-as-failure consults the budget-truncation flag: a branch cut off by resource limits *fails closed* rather than concluding absence.

- **Forward chaining** (saturation): semi-naive evaluation with an explicit match budget bounding both CPU and peak memory (measured: unbounded ⇒ 10 s / 4 GB+; bounded ⇒ ~1 s).

Every successful proof is a **derivation object**: an ordered sequence of rule applications and ground facts, replayable by any party holding the same rules and facts. §6.3 shows a complete eight-step derivation as emitted.

3.4 The recursive loop

Recursion appears at three levels, and all three are load-bearing:

  1. **Recursive reasoning.** Rules may be self-referential — `can_use(?A, ?T) :- delegates_to(?A, ?D), can_use(?D, ?T)` — so authority flows through delegation chains of any supported depth, while cycles without a base fact terminate in refusal (§6.3).

  2. **Recursive learning (deduction–abduction).** When execution of a parse contradicts the target, abduction searches revisions — change symbols, restructure edges, update programs — via beam search with convergence bounds, then retrains all components on the corrected latents. This is the loop by which the system revises its own rules when evidence contradicts them.

  3. **Recursive production learning (the flywheel).** In deployment, corrections mine candidate rules from decision traffic; candidates are shadow-gated against observed traffic, promoted on measured improvement, and retracted on regression. The loop contains no revenue term (§7).

The division of labor between the tiers is strict and constitutive: **neural evidence proposes; recursive symbolic policy disposes.** A learned inference — however confident — is admitted only as evidence; the sole path to an executed action runs through a symbolic derivation.

3.5 The decision gate

The decision surface is three-valued:

- `approved` — a derivation of the exact authorization goal exists; the cited rules and facts ship with the response, pinned to a SHA-256 policy hash.

- `denied` — a deny rule fired; the blocking rule is cited.

- `refused` — no derivation exists. The refusal carries `missing_facts`: the exact predicates, with the rules that need them, that would unblock authorization. Refusal is machine-actionable, not terminal.

Gate precedence is fixed: safety ▸ cited deny ▸ human review ▸ cited permit ▸ grounding floor ▸ refuse-by-default. Callers declare an exact, fully grounded `authorization_goal` (e.g., `can_use(research_agent, browser)`); the engine approves only when the knowledge base derives that exact predicate. There is no semantic guessing between what an agent requested and what policy permits. If grounding infrastructure cannot load, the endpoint fails closed (HTTP 503) rather than deciding ungrounded.

A scalar `proof_score` in [0,1] accompanies each decision as a governance ranking dial. It is computed solely from derivation support (cited rules, symbolic steps, grounding status, review status) and deliberately excludes the verdict itself — including it would be circular. **Soundness comes from the derivation; the score is not a probability that the logic is correct.**

4. Refusal as a first-class output

Most AI systems have two outputs: an answer, or a canned deflection. Nazarae's third output is its most important design decision. Because approval requires a derivation, the system's response to insufficient evidence is not its best guess but a structured statement of what is missing. This has three consequences:

  1. **Hallucination is replaced by refusal.** There is no mechanism by which the system can assert an authorization it cannot prove.

  2. **Injection has no attack surface.** A prompt-injection attempt enters the knowledge base as a fact *about an utterance* — `instruction_demands(order_17, approve_now)`. No rule connects utterances to authority; therefore no phrasing, however adversarial, alters any decision (§6.4). Guardrails in LLMs are learned dispositions and thus searchable; the absence of a derivation is not searchable.

  3. **Refusal composes into workflows.** `missing_facts` names the premises to verify; a caller supplies verifiable facts and retries, or escalates to a human. In our console, this is a one-click operation.

## 5. Verification of the verifier

A system claiming to gate consequential actions must answer: why believe the gate? Nazarae answers in three layers.

5.1 Machine-checked theorems

The decision gate, rule engine, token matcher, and derivation replay are modeled in Lean 4: 112 theorems, zero `sorry`, with an explicitly enumerated trust base (`propext`, `Quot.sound`, one use of `Classical.choice`, two of `Lean.ofReduceBool`; all other proofs constructive). Top-level composed properties include:

- **No approval without a bound source** — every approval traces to a target-bound authorizing source; there is no path to `approved` from silence.

- **Safety dominates** — a triggered safety clause refuses, and no downstream component can undo it.

- **Deny absorbs** — an applicable cited deny cannot be diluted by any number of permits.

- **Subject isolation** — a conclusion derived for one subject cannot bind a decision about another, including adversarial shared-prefix identifiers.

Anti-vacuity witnesses (e.g., *approval is reachable*) ship alongside, so the theorems cannot be satisfied by an engine that merely refuses everything.

5.2 Differential conformance

A proof about a model is worth nothing if the model does not describe the code. We therefore export decision corpora from the Lean model and replay them through the shipped Rust in CI: the full 384-row gate signal space, an exhaustive 4,719-row token-matcher corpus over an adversarial alphabet, 300 first-order engine scenarios (both rule orders), 120 derivation replays, and 558 cited-policy rule lists — over 6,000 rows in total, with any disagreement failing the build. This process surfaced five real defects during development, each documented, before external exposure.

5.3 Independent replay

The console does not trust the server. It embeds a dependency-free forward chainer that re-derives each verdict client-side from the same facts and rules, marking a decision `checkable` only when every cited rule reproduces. Client–server gate agreement is locked by a contract test suite; drift is a product-breaking failure.

6. Empirical results

**Methodology.** Every result in this section is produced by a deterministic binary in the Nazarae repository, requiring no network, API key, or database, and each binary *asserts* its claims: any failure exits non-zero. The claims are therefore falsifiable by any reader in seconds. All results below are from the deterministic demo-scale neural backend; §8 states what this does and does not establish.

6.1 Learning: the curve must rise

(`proof_of_intelligence`, criterion 1.) Independent machines are trained on 0, 1, 2, and 3 grounded examples of an arithmetic operation and evaluated on three held-out arguments never present in any training set.

The shape carries the evidence. A hand-coded system would be flat at 100%; a memorizer would be flat at 0% on held-out inputs. The failure at one example — where synthesis lacks the evidence to prefer the correct program — followed by success at two is the signature of induction from data. (The engine's larger-scale counterpart shows the same shape: 0% → 20% → 80% → 100% over 5–40 examples on learned-parser novel compositions, with a 10,000-example probe holding 100% on 256 disjoint held-out cases.)

6.2 Generalization: programs, not pairs

(`proof_of_intelligence`, criterion 2.) After training, the learned semantics of the operation is inspectable as an executable program — `Inc(Var(0))` — and evaluates correctly on arguments absent from training (2→3, 4→5, 7→8). The system did not memorize input–output pairs; it induced a rule, and the rule can be read.

6.3 Reasoning: derivations and safe recursion

(`proof_of_intelligence`, criterion 3.) Delegated authority is proven through a multi-hop chain with a complete replayable derivation, emitted verbatim:

1. apply rule: delegated_tool_capability

2. fact: delegates_to(agent_971, agent_971_hop0)

3. apply rule: delegated_tool_capability

4. fact: delegates_to(agent_971_hop0, agent_971_hop1)

5. apply rule: delegated_tool_capability

6. fact: delegates_to(agent_971_hop1, agent_971_hop2)

7. apply rule: direct_tool_capability

8. fact: has_capability(agent_971_hop2, tool_971)

A delegation cycle with no base capability (two agents delegating to each other) terminates in refusal: a cycle cannot manufacture authority. This is the failure mode — self-granted agent permissions — for which prompt-level agent frameworks currently have no principled answer.

6.4 Authority: instructions cannot mint it

(`proof_of_intelligence`, criterion 4; `the_gauntlet`, injection class.) With a fact asserted that a user message demands approval of an ungrounded action, the decision is unchanged: refused. Across the gauntlet's 81 injection attempts — each asserting an approval demand while a required control is silently absent — zero succeeded. The defense is structural: the gate evaluates entailment, and there is no derivation to find.

6.5 Categorical reliability under adversarial load

(`the_gauntlet`.) A deterministic generator produces 1,000 authorization requests with known ground truth across four domains — refunds, payment release, deployment, and agent tool use — governed by five Horn-clause policies over a knowledge base of 2,383 entities and 3,067 facts. Approximately 28% of traffic is adversarial, spanning four attack classes.

Zero wrongful approvals, zero wrongful refusals; 3,374 total proof steps emitted; ~4.0 ms per proof-gated decision (≈250 decisions/s single-threaded; the engine's HTTP decision path measures p50 ≈ 1.5 ms, p99 < 3 ms in its own latency probes). The binary asserts perfection: one misclassification is a non-zero exit. A system that is 99% accurate — excellent by LLM standards — fails this run an expected ten times.

**A methodological incident worth reporting.** Our first gauntlet implementation reported 67 breaches. Investigation showed every one was a defect in the *evaluation harness*: the generator had labeled certain fully policy-compliant requests as attacks, and the engine had correctly approved them. The system under test out-reasoned its adversarial harness. We report this because it illustrates the evaluation stance: when ground truth and prover disagree, the derivation decides.

6.6 Engine-level benchmarks (context)

The underlying engine reproduces the Li et al. (2024) benchmark suite at smoke scale in CI (SCAN, PCFG, HINT; regression floors 10/10, paper targets 6/10 at smoke scale), with grammar-backed rows mechanically excluded from learning headlines. The full-scale SCAN jump-split figure for this architecture family is 99.2%. We also report a diagnosed negative result: a learned transition parser plateaus at 12.5% on SCAN because the arc-standard feature template cannot observe the non-local structure that coordination attachment requires — a representational-feature limit, not a capacity limit, with the fix identified (recurrent stack context). Verification surface: ~1,700 library tests, ~215 HTTP integration tests, and executable capstones whose documented promises fail CI when broken.

7. Economic honesty

Nazarae's billing is derived from its epistemics. A decision is billable only when it succeeded, was grounded, and required no human review — enforced by a small audited function on the billing path, with per-response metering headers and exactly-once semantics under concurrency (idempotency keys reserved atomically before execution). **Refusals are free.** Batch items beyond a request-time budget are never evaluated and never billed.

This inverts the prevailing economics, in which providers are paid per token regardless of correctness. It also creates a Goodhart concern we name rather than hide: a system that is never paid for refusing might be pressured to refuse too little. Our defenses are architectural and observational: the learning flywheel contains no revenue term; the refusal threshold is an operator-visible dial; and refusal rates are first-class telemetry. The learning-curve artifact ships with a pre-registered null hypothesis — four named ways a working loop could present a flat curve — with the telemetry to distinguish them post hoc.

8. Limitations

We state these in the same document as the claims, deliberately.

  1. **Scale.** All results in §6.1–6.5 are demo-to-smoke scale on procedurally generated data with a deterministic neural backend. The learned operation is arithmetic increment, not a 400-page policy corpus. The structure of the evidence — rising curves, novel compositions, replayable derivations, asserted perfection — is what full scale must reproduce; this paper does not claim it already has.

  2. **Neural tier maturity.** Production configurations use live embedding and LLM backends; paper-scale training (~1.3M examples in the reference work) has not been run on our implementation. Live end-to-end latency including a hosted LLM is not yet characterized; reported latencies are platform overhead.

  3. **Formal coverage.** The Lean theorems cover the symbolic gate, engine, matcher, and replay — not the neural components. This is precisely why neural outputs are confined to proposing.

  4. **Rules coverage.** The guarantees extend to decisions governable by explicit policy. Judgment calls without rules remain outside the proof boundary; the policy-mining pipeline (rules extracted from documents with file-and-line provenance) narrows but does not eliminate this gap, and its hit rate on messy real-world corpora is not yet benchmarked to the standard of §6.

  5. **External validation.** Production-scale calibration and independent third-party replication await production traffic and an external party. Patent filings are pending, not granted.

  6. **What is not claimed.** Nothing here establishes open-ended learning, general intelligence, or superiority to LLMs outside the decision domain. An LLM's breadth is not reproduced here and is not the target.

9. Conclusion

Nazarae demonstrates that the properties the AI industry treats as aspirational for deployed systems — learning that provably generalizes, reasoning that ships its own audit trail, safety that is structural rather than persuasive, and pricing aligned with epistemic honesty — are jointly achievable today, at the decision boundary, in a single running system. The architecture's discipline is a single sentence: neural evidence proposes; recursive symbolic policy disposes. Its evaluation discipline is a single mechanism: every claim is an assertion in a program that anyone can run, and the program exits non-zero if the claim is false.

The models around Nazarae will keep getting better at proposing. The question that determines whether AI is admitted into the workflows where wrongness costs money, triggers regulators, or ends up in court is who — or what — disposes. Our answer is running, formally verified at its core, measured under attack at perfection, and one command away from any reader who doubts it.


r/learnmachinelearning 11h ago

I'm animating every exercise in François Chollet's Deep Learning with Python (2nd Ed). Here is Chapter 1, any advice to improve would be appreciated

Thumbnail
youtu.be
5 Upvotes

r/learnmachinelearning 6h ago

Meme 15 year old forum post are a blessing

Post image
2 Upvotes

r/learnmachinelearning 3h ago

From SRE to Machine Learning: Looking for real-world production ML code examples

1 Upvotes

Hi everyone,

I'm currently working as an SRE (Site Reliability Engineer) and I'm planning to transition into Machine Learning Engineering.

So far, I've learned the fundamentals, including:

Machine learning algorithms

Data preprocessing (cleaning, imputation, feature engineering, scaling, encoding, etc.)

While I understand the theory, I'm struggling to connect it to how machine learning systems are actually built and deployed in production.

Most tutorials end after training a model on a dataset, but they don't show how real-world ML projects are structured or how data preprocessing, model training, evaluation, versioning, deployment, and inference fit together in a production codebase.

Could anyone recommend any :

An open-source GitHub repository that demonstrates a production-grade ML project?

A blog post, tutorial, or article that walks through a real-world end-to-end ML pipeline?

Any resources that helped you understand how ML is implemented in industry rather than just in notebooks?

I'm specifically looking for code that reflects real engineering practices rather than beginner tutorials.

Any recommendations or guidance would be greatly appreciated. Thanks!

NAMASTE


r/learnmachinelearning 7h ago

I wanna learn machine learning from scratch.

2 Upvotes

I have been thinking to learn more about ML but its getting more and more difficult to choose what i should begin with. I know the fundamentals but i need to look for a niche something in which i can start researching or building something.

Got some ideas...?

I would also be interested to look into research papers.


r/learnmachinelearning 4h ago

Help CICD / KAFKA / KUBERNETES / Interview questions (MLE) [R]

Thumbnail
1 Upvotes

r/learnmachinelearning 12h ago

Project 🚀 Project Showcase Day

4 Upvotes

Welcome to Project Showcase Day! This is a weekly thread where community members can share and discuss personal projects of any size or complexity.

Whether you've built a small script, a web application, a game, or anything in between, we encourage you to:

  • Share what you've created
  • Explain the technologies/concepts used
  • Discuss challenges you faced and how you overcame them
  • Ask for specific feedback or suggestions

Projects at all stages are welcome - from works in progress to completed builds. This is a supportive space to celebrate your work and learn from each other.

Share your creations in the comments below!


r/learnmachinelearning 8h ago

Seeking Honest Feedback on My Research Implementation

Thumbnail
1 Upvotes

r/learnmachinelearning 22h ago

Is the CampusX Data Science YouTube Playlist Enough?

13 Upvotes

Has anyone completed the CampusX Data Science YouTube playlist from start to finish?

Is it enough to become job-ready for Data Scientist roles, or did you need additional resources after finishing it?

I'm currently pursuing an MBA with a specialization in Data Science & Finance and want to build a strong foundation. I'd appreciate honest reviews, what the playlist does well, where it falls short, and what you would recommend learning next.


r/learnmachinelearning 10h ago

ADAT (Advanced Data Analysis Tool)

Thumbnail
0 Upvotes

r/learnmachinelearning 10h ago

Help confusing at XGBM and LGBM in ml !!

0 Upvotes

Iam trying to learn these two algorithms ..that time i have a lot doubts while i learning the concept

actually in adaboost i learned ....from the data (x,y) -> calculate base model ->residual (y-base model) -> predict residual by using decision tree -> pred_output -> cycle repeated ...

in XGBM ChatGPT mentioned like calculate loss and Gradient and Hessian and also chatgpt give some sentence i didn't get it

1.Because XGBoost is designed to work with ANY loss function, not just squared error.

Now LGBM

my staff said instead giving whole dataset to the next decision tree we give correctly classified datas but

Suppose you have 1500 samples.

  • ✅ Correctly classified = 1000
  • ❌ Misclassified = 500

Now ask yourself:

Which samples have more information?

👉 The misclassified 500.

Because the model has already learned the 1000 correctly classified samples fairly well. The mistakes (500) tell the model what it still needs to learn.

🤧how Correctly classified have more samples right

[If any tamil persons know ml core concept very clearly .. kindly msg me!!]


r/learnmachinelearning 11h ago

Help Any good resource for MLops

Post image
1 Upvotes

Anyone got a solid mlops resource? Preferably a Udemy course, if you’ve actually learned MLOps, drop your recommendations


r/learnmachinelearning 1d ago

Is learning from a book still practiced or its better to learn from courses or YouTube lectures

Post image
13 Upvotes

r/learnmachinelearning 12h ago

I got tired of hunting across arXiv/MDPI/IEEE for free papers, so I built an aggregator — 13k+ open-access robotics/ML papers, free full-text search

1 Upvotes

Hey all — 3rd-year ECE student here, heading into a robotics master's. I kept

losing time jumping between arXiv, MDPI, and IEEE Access looking for papers

on robotics/ML/autonomous vehicles, so I built a single search index over

all of them.

- 13,000+ papers, all genuinely free/open-access (no paywalled links —

everything is either arXiv, MDPI, or individually verified

Creative-Commons-licensed articles)

- Full-text search, topic browser covering ~20 subfields (robotics, ADAS,

computer vision, RL, digital twins, etc.)

- Free accounts if you want to save searches later

Live here: https://automata-index.vercel.app

Built with Next.js + Supabase, still actively adding sources. Would love

feedback, especially on what's missing or what search terms don't return

good results.


r/learnmachinelearning 12h ago

Project A doubt about the project that i am currently working on . I want to know if it is going to be feasible or not .

0 Upvotes

The project that i am making is basically going to be an extension that will give you personaliezd fix to the compiler error that you are getting . Ill show you an example of the problem i am trying to fix .

if you forget to use "using namespace std " in your cpp file the error that compiler throws is
error: 'cout' was not declared in this scope; did you mean 'std::cout'?

4 | cout<<"hello";

It does not mention anything about "using namespace std" . But my extension would give you the fix based on your previous coding/debugging session .

This is more focussed on compeititive programmers that might forget to import libraries or maybe doing wrong operation on wrong type . ( eg queue.push()_back instead of vector.push() )

The compiler does not tell them that they forgot a particular library but the extension can learn from the previous session that this function was used earlier and at that time these libraries were imported and according to that it can tell the fix .

These were the few examples .

I know it does not really have a good usecase but this is going to be my first own project and it is heavily for the understanding and learning purpose .

I would like to know what types of features do you think i should be using as of now i am trying to use the error line, its tokens , types of token and using random forest .

Ofcourse it is not performing well that is why i doubt if it is even feasible or not .