Machine Learning

Articles about traditional machine learning, optimization, bayesian methods, and other machine learning topics.

712 items · Page 3 of 15

Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Evaluation Prompt Engineering: Designing Reliable LLM Judges

Mar 12, 2026·59 min read

Design reliable LLM judge prompts using explicit criteria, few-shot examples, and chain-of-thought formatting to maximize evaluation accuracy.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Memorization and Privacy in Language Models

Mar 11, 2026·56 min read

How language models memorize training data, methods for measuring extractable memorization, PII risks in web-scale corpora, and practical privacy mitigations.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Position Bias in LLM Judges: Measurement and Mitigation

Mar 11, 2026·46 min read

Explains how position bias, verbosity bias, and sycophancy distort LLM evaluation. Measure swap consistency, detect length effects.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Retrieval-Augmented Training: RETRO Architecture

Mar 11, 2026·40 min read

How RETRO trains language models with retrieval from scratch, using chunked cross-attention to integrate a 2T-token database and cut parameter needs 25x.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

LLM-as-Judge: Scalable AI Evaluation with Language Models

Mar 10, 2026·55 min read

Build LLM-as-Judge evaluation pipelines: prompt design, judge model selection, calibration against human annotations, and bias mitigation.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Process Reward Models: PRM Training, Math Reasoning

Mar 10, 2026·52 min read

Process reward models score individual reasoning steps instead of final answers alone. Covers training data, credit assignment, math tasks, and limitations.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Constitutional AI: Principles, Critique, Revision

Mar 9, 2026·55 min read

Explains how Constitutional AI trains safer LLMs using constitutional principles, AI-driven critique and revision, and RLAIF preference labeling.

Open notebook
Machine LearningLanguage AI Handbook

LLM Preference Evaluation: Pairwise Comparisons and Elo

Mar 9, 2026·59 min read

Evaluate language models with pairwise comparisons and Elo ratings, including preference aggregation, confidence intervals, bias, and significance tests.

Open notebook
Data, Analytics & AIMachine LearningLanguage AI Handbook

Cohen, Fleiss & Krippendorff: IAA Metrics & Implementation

Mar 8, 2026·47 min read

Covers chance-corrected agreement metrics for NLP annotation reliability. Calculate Cohen's kappa, Fleiss' kappa, and Krippendorff's alpha with Python examples.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Reasoning Frontiers: o1 and Test-Time Compute

Mar 7, 2026·57 min read

Examines o1-style reasoning models, test-time compute scaling, process reward models, and open research questions shaping the frontier of AI reasoning.

Open notebook
Language AI HandbookMachine Learning

Human Evaluation Design: Interface, Instructions & Cost

Mar 7, 2026·56 min read

Design rigorous human evaluations for language models. Topics include interface design, annotation paradigms, annotator selection.

Open notebook
Language AI HandbookMachine LearningData, Analytics & AI

Benchmark Saturation: AI Evaluation Metrics, Ceiling Effects

Mar 6, 2026·55 min read

Covers benchmark saturation in AI evaluation. Explains why static metrics hit ceiling effects, lose statistical power, and how dynamic benchmarks solve this.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Reasoning Limitations: Failures, Shortcuts

Mar 6, 2026·56 min read

Examines systematic reasoning failures in LLMs including spurious correlations, reasoning shortcuts, negation failures.

Open notebook
Machine LearningLanguage AI Handbook

Benchmark Contamination in LLMs: Detection

Mar 5, 2026·46 min read

Explains how benchmark contamination affects LLM evaluation accuracy. Topics include detection methods including n-gram matching, MinHash.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Mathematical Reasoning in LLMs: Benchmarks, Training, Limits

Mar 5, 2026·54 min read

Explains how LLMs solve math problems, from grade-school word problems to competition math. Topics include chain-of-thought, process reward models, GRPO.

Open notebook
Machine LearningLanguage AI Handbook

TruthfulQA: Testing AI Truthfulness and Imitative Falsehoods

Mar 4, 2026·52 min read

Explains how TruthfulQA tests AI truthfulness by identifying imitative falsehoods.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Reasoning Verification: Process Reward Models, Guided Search

Mar 4, 2026·57 min read

Explains how process reward models score each reasoning step, how verification-guided search selects correct chains.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Reasoning Strategies: Self-Consistency, Tree of Thought

Mar 3, 2026·49 min read

Explains how self-consistency, tree of thought, least-to-most prompting, and decomposition strategies improve language model reasoning accuracy and reliability.

Open notebook
Software EngineeringMachine LearningLanguage AI Handbook

MBPP: Python Code Generation Benchmark

Mar 3, 2026·53 min read

Examines the MBPP benchmark for Python code generation evaluation. Topics include crowd-sourced programming tasks, pass@k metrics, execution-based testing.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Chain-of-Thought Prompting: Zero-Shot, Fine-Tuning

Mar 3, 2026·52 min read

Explains how chain-of-thought prompting enables language models to reason step by step. Topics include few-shot CoT, zero-shot CoT, self-consistency.

Open notebook
Machine LearningLanguage AI HandbookSoftware Engineering

HumanEval: Functional Code Generation Evaluation with Pass@k

Mar 2, 2026·40 min read

Explains how HumanEval evaluates LLM code generation using functional correctness and the pass@k metric.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Text Generation Applications: Use Cases and Quality

Mar 2, 2026·57 min read

Examines LLM text generation for content creation, writing assistance, and code. Topics include quality dimensions, constraint verification, prompt design.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Reasoning Foundations: Types, LLMs, Failure Modes

Mar 2, 2026·58 min read

Examines deductive, inductive, abductive, and causal reasoning in LLMs, including how transformers support inference chains and where reasoning breaks down.

Open notebook
Language AI HandbookMachine LearningData, Analytics & AI

GSM8K: Evaluating Mathematical Reasoning in Language Models

Mar 1, 2026·49 min read

GSM8K tests grade-school mathematical reasoning with multi-step word problems. Covers dataset structure, answer scoring, and known benchmark limitations.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Conversational AI: Dialogue Systems and Chatbot Design

Mar 1, 2026·59 min read

Build intelligent dialogue systems with LLMs, covering conversation management, slot filling, memory strategies, and chatbot evaluation techniques.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Model Merging Applications: Multi-Task, Style

Feb 28, 2026·50 min read

Apply model merging to combine task fine-tunes, blend styles, compose capabilities, and evaluate merged models using normalized scores and Pareto analysis.

Open notebook
Machine LearningLanguage AI Handbook

HellaSwag: Adversarial Filtering for Commonsense Reasoning

Feb 28, 2026·54 min read

HellaSwag evaluates physical commonsense reasoning with adversarial filtering designed to remove superficial cues and annotation artifacts.

Open notebook
Language AI HandbookMachine Learning

Model Merging: Weight Averaging, Task Arithmetic, TIES, DARE

Feb 28, 2026·44 min read

Combine pre-trained models into one without retraining. Topics include weight averaging, task arithmetic, TIES sign-election merging, and DARE random pruning.

Open notebook
Language AI HandbookMachine Learning

MMLU: Massive Multitask Language Understanding Benchmark

Feb 27, 2026·54 min read

MMLU tests language models across 57 subjects from STEM to law. Topics include evaluation protocols, few-shot methods.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Structured Pruning: Head, Layer, and Width Pruning

Feb 27, 2026·48 min read

Explains how structured pruning removes entire attention heads, transformer layers, and feed-forward neurons to create smaller, faster models.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Pruning: Structured and Unstructured Methods

Feb 27, 2026·51 min read

Explains how weight pruning reduces neural network size by removing redundant parameters.

Open notebook
Machine LearningLanguage AI Handbook

Calibration in Machine Learning: Confidence, Accuracy & ECE

Feb 26, 2026·55 min read

Covers calibration in machine learning and how model confidence aligns with actual accuracy. Examines ECE, temperature scaling.

Open notebook
Language AI HandbookMachine LearningData, Analytics & AI

Distillation Variants: Feature, Attention, Progressive

Feb 26, 2026·48 min read

Explains how feature distillation, attention transfer, progressive distillation, and on-policy distillation extend knowledge distillation beyond soft labels.

Open notebook
Machine LearningLanguage AI Handbook

Exact Match and F1: Precision Metrics for NLP Evaluation

Feb 25, 2026·52 min read

Use Exact Match and token-level F1 to score NLP and question-answering systems, with normalization, partial credit, thresholds, and common scoring errors.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Guardrails: Input, Output, and Pipeline Design for LLMs

Feb 25, 2026·61 min read

Build multi-layer guardrail systems for LLM applications, covering input validation, output safety, PII detection, topic enforcement.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Differential Privacy: DP-SGD, Privacy Budgets, and LLMs

Feb 24, 2026·50 min read

Explains how differential privacy protects training data in language models, from the mathematical guarantee to DP-SGD, privacy budgets.

Open notebook
Language AI HandbookMachine LearningData, Analytics & AI

BERTScore: Semantic Text Evaluation Using BERT Embeddings

Feb 24, 2026·52 min read

BERTScore evaluates text generation using contextual embeddings to measure semantic similarity.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Knowledge Distillation: Teacher-Student Training for LLMs

Feb 24, 2026·45 min read

Explains how knowledge distillation transfers a large teacher model's learned knowledge to a smaller student through soft label supervision.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Uncertainty Quantification in Language Models

Feb 24, 2026·57 min read

Measure and communicate LLM confidence through calibration, verbalized uncertainty, semantic entropy, and trust-calibrated user interfaces.

Open notebook
Language AI HandbookMachine Learning

ROUGE Scores: Evaluating Text Summarization

Feb 23, 2026·56 min read

Covers ROUGE metrics for summarization evaluation. Topics include ROUGE-N, ROUGE-L, and ROUGE-W, and how they differ from BLEU in assessing text quality.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Continual Learning Evaluation: BWT, FWT, and Benchmarks

Feb 23, 2026·56 min read

Covers continual learning evaluation with forward transfer, backward transfer, forgetting metrics.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Architecture Methods: Progressive Networks, Expert Expansion

Feb 22, 2026·46 min read

Examines architecture-based continual learning: progressive networks, PackNet, HAT masks, PathNet.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Replay Methods: Buffer, Pseudo-Rehearsal & Generative Replay

Feb 22, 2026·52 min read

Explains how experience replay buffers, pseudo-rehearsal, and generative replay prevent catastrophic forgetting in continual learning systems.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Classification Applications: Sentiment, Intent, and Scale

Feb 22, 2026·61 min read

Explains how transformer models power sentiment analysis, topic classification, and intent detection.

Open notebook
Language AI HandbookMachine Learning

BLEU Score: Evaluating Translation Quality with N-grams

Feb 22, 2026·45 min read

Explains how the BLEU score evaluates machine translation quality using modified n-gram precision and brevity penalties.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Content Filtering: Classification, Rules, and Evaluation

Feb 22, 2026·60 min read

Explains how classification-based and rule-based content filters protect language model deployments.

Open notebook
Data, Analytics & AISoftware EngineeringMachine LearningLanguage AI Handbook

Regularization Methods: EWC and Synaptic Intelligence

Feb 22, 2026·48 min read

Explains how Elastic Weight Consolidation and Synaptic Intelligence protect critical parameters to prevent catastrophic forgetting in continual learning.

Open notebook
Machine LearningLanguage AI Handbook

Cross-Entropy Loss: Information Theory for LLM Training

Feb 21, 2026·55 min read

Covers cross-entropy loss for language models. Topics include entropy, KL divergence, perplexity.

Open notebook
Community

Learn with the community

Create a free account to keep your reading organized, join thoughtful discussions, and get more from every chapter.

  • Keep your place across books and articles
  • Ask questions and take part in discussions
  • Read with fewer interruptions

Free to join · Takes less than a minute

Why

I created this space so readers can learn together, ask questions, and make sense of difficult ideas.

Michael Brenndoerfer
From readers1 / 12