Boaz Barak · Published 2026-09-20

AI Safety (CS 2881) Fall 2026 Lecture 3: Modern LLM Training and Inference

Open on YouTube ↗

Summary

Overview

  • Speaker: Boaz Barak
  • Channel: Boaz Barak
  • Main topic: Modern LLM Training, Inference, Scaling Laws, RLHF, and Alignment
  • Purpose: Provide computer science students with a rigorous technical foundation in modern LLM training pipelines, resource scaling trade-offs, and alignment techniques relevant to AI safety. This lecture covers the fundamentals of Large Language Model training and inference, exploring deep learning scaling laws, next-token prediction mechanics, transformer architecture and parallelism (tensor, layer, context, and expert sharding), reinforcement learning from human/AI feedback (RLHF/RLAIF), and deliberative alignment for reasoning models.

Topic Map

Scaling in Computer Science vs AI

  • Explanation: Comparing the scale of general computer science with AI training runs using Dijkstra's perspective on conceptual hierarchies.
  • Key claims:
    • Computing science deals with scale ratios around 10^9 (from bits to megabytes).
    • Large-scale AI training runs can involve 10^25 floating-point operations.
    • Programmers and AI researchers must manage exceptionally deep hierarchies of abstraction.
  • Examples:
    • Comparing a supersonic jet plane with a crawling baby (~10^3 speed ratio)
    • Comparing an atom to a billiard ball (~10^9 ratio)
  • Terminology:
    • conceptual hierarchies
    • baffling ratio
    • floating-point operations
    • FLOPs
  • Why it matters: Highlights why AI models operate at scales vastly exceeding traditional software engineering, requiring novel methods of thinking about abstraction and resource allocation.

Deep Learning and Scaling Laws

  • Explanation: Analyzing how intelligence gained per training resource scales in deep learning compared to classical machine learning.
  • Key claims:
    • Classical learning methods show diminishing returns and saturate quickly when given infinite resources.
    • Deep learning methods scale effectively over massive increases in compute and data.
    • Chinchilla scaling laws define the optimal allocation between parameter count and token count.
  • Examples:
    • Small-scale clever investor vs. multi-billion dollar index fund analogy
  • Terminology:
    • Chinchilla scaling law
    • FLOP budget
    • parameter-data trade-off
    • area under the curve
  • Why it matters: Explains why modern frontier models require massive capital and compute investments to achieve continuous gains in capability.

Next Token Prediction Mechanics

  • Explanation: The core mathematical formulation of autoregressive language models predicting the next token from context.
  • Key claims:
    • LLMs take input token sequences from a finite vocabulary and output a probability distribution over the next token.
    • Next token prediction serves as a powerful self-supervised learning signal over vast datasets.
    • Transformers embed tokens into high-dimensional vectors and map them via embedding and unembedding matrices.
  • Examples:
    • Predicting x_{n+1} given tokens x_1, x_2, ..., x_n
  • Terminology:
    • autoregressive
    • embedding matrix
    • unembedding matrix
    • temperature parameter
    • cross-entropy loss
    • stochastic parrot
  • Why it matters: Provides the foundational model architecture and training objective underlying all modern generative language models.

Transformer Architecture and Hardware Parallelism

  • Explanation: How transformers utilize GPU hardware through arithmetic intensity and various sharding strategies.
  • Key claims:
    • Transformer operations are dominated by matrix multiplication, favoring high arithmetic intensity inside GPU cores.
    • Tensor sharding splits parameter matrices across GPUs.
    • Layer sharding distributes sequential model layers across multiple devices.
  • Examples:
    • GPU 1 and GPU 2 communicating via all-reduce operations
  • Terminology:
    • tensor sharding
    • layer sharding
    • context sharding
    • expert sharding
    • arithmetic intensity
    • KV cache
  • Why it matters: Crucial for understanding how trillion-parameter models are distributed and trained efficiently across massive GPU clusters.

Training Stages: Pretraining and Post-Training

  • Explanation: The multi-stage training pipeline from unsupervised token modeling to assistant alignment.
  • Key claims:
    • Pretraining models the general token distribution using self-supervised next-token prediction on massive internet text.
    • Post-training teaches the model to act as a helpful and safe assistant.
    • Supervised Fine-Tuning (SFT) and Reinforcement Learning (RLHF/RLAIF) shape model behavior.
  • Examples:
    • Transitioning from raw text prediction to dialogue assistant interactions
  • Terminology:
    • pretraining
    • post-training
    • supervised fine-tuning
    • SFT
    • RLHF
    • RLAIF
  • Why it matters: Clarifies how raw statistical predictors are transformed into conversational, instruction-following AI assistants.

Reinforcement Learning and Policy Gradients

  • Explanation: Mathematical formulation of reinforcement learning, policy gradients, and the REINFORCE algorithm.
  • Key claims:
    • Policy gradient methods maximize expected rewards for generated rollouts.
    • On-policy training samples responses from the current model policy.
    • Group Relative Policy Optimization (GRPO) normalizes rewards and incorporates KL penalties.
  • Examples:
    • Using reward models to score model rollouts during alignment
  • Terminology:
    • policy gradient
    • REINFORCE
    • GRPO
    • KL divergence
    • reward model
    • on-policy
  • Why it matters: Forms the mathematical backbone of model alignment and reasoning enhancement via reinforcement learning.

AI Safety and Deliberative Alignment

  • Explanation: Addressing safety vulnerabilities, refusals, and advanced alignment strategies for reasoning models.
  • Key claims:
    • Classical safety training relies heavily on refusal-oriented responses and simple SFT/RLHF.
    • Reasoning models benefit from deliberative alignment where chain-of-thought reasoning is incorporated into safety checks.
    • Reinforcing the thinking process allows models to evaluate safety specifications internally before generating answers.
  • Examples:
    • Decoding ROT13-encoded adversarial prompts while checking safety policies in the chain of thought
  • Terminology:
    • deliberative alignment
    • harmlessness
    • jailbreak performance
    • chain of thought
    • specification compliance
  • Why it matters: Outlines cutting-edge techniques for ensuring advanced reasoning models adhere to safety guidelines even under adversarial conditions.

Key Points

Deep learning scales efficiently with compute and data

  • Explanation: Unlike classical algorithms that saturate quickly, deep learning intelligence scales predictably with increased FLOPs and dataset size.
  • Evidence: Log-log scaling laws in transformer performance across model sizes.
  • Practical implication: Training larger models on more data reliably yields better capabilities.

Matrix multiplication drives transformer hardware efficiency

  • Explanation: GPUs excel at compute-heavy matrix multiplications, yielding high arithmetic intensity when communication overhead is minimized.
  • Evidence: Transformer parameter sharding strategies across GPU clusters.
  • Practical implication: Model architecture choices must align with hardware memory bandwidth and core execution limits.

Pretraining vs. Post-training separation

  • Explanation: Models first learn statistical language distributions via pretraining, then learn agent behavior and persona via SFT and RL.
  • Evidence: Standard industry training pipelines for modern LLMs.
  • Practical implication: Capabilities are acquired during pretraining; alignment and usability are instilled during post-training.

Deliberative alignment enhances reasoning safety

  • Explanation: Allowing models to reason through safety specifications in their chain of thought significantly improves robustness against sophisticated jailbreaks.
  • Evidence: Evaluations showing o1-preview and reasoning models outperforming standard models on jailbreak resilience.
  • Practical implication: Future safety mechanisms must evaluate internal reasoning pathways rather than just final outputs.

Frameworks, Models & Processes

Chinchilla Scaling Law

  • How it works: Balances model parameter count (N) and training token count (D) against a fixed compute budget to minimize loss.
  • Components:
    • Loss function L(D, F)
    • FLOP budget F
    • Optimal parameter-to-token ratio
  • When to use: When planning large-scale pretraining runs to ensure optimal resource allocation between model size and data volume.

Policy Gradient (REINFORCE / GRPO)

  • How it works: Maximizes expected reward by adjusting policy parameters in proportion to the gradient of log probabilities scaled by normalized rewards.
  • Components:
    • Prompt distribution
    • Rollout generation policy
    • Reward function
    • KL divergence penalty
  • When to use: During reinforcement learning post-training to align language models with human preferences or reasoning correctness.

Examples & Case Studies

Evaluating reasoning models on ROT13-encoded harmful prompts

  • Illustrates: How reasoning models use internal chain-of-thought deliberation to evaluate safety policies before responding.
  • Lesson: Models with internal monologue can detect and correctly refuse subtle adversarial bypass attempts.

Actionable Takeaways

  • Immediate:
    • Understand the mechanics of next-token prediction and autoregressive sampling.
    • Recognize the trade-offs between tensor, layer, and context sharding in distributed GPU training.
  • Strategic:
    • Scaling laws dictate that capability growth requires proportional scaling of compute, data, and parameters.
    • Post-training and alignment methods are essential for shaping raw predictors into safe, instruction-following assistants.
  • Questions to investigate:
    • How do emergent reasoning capabilities scale relative to compute during reinforcement learning?
    • What are the limits of deliberative alignment against adaptive adversarial attacks?

Claims Worth Verifying

  • Transformer arithmetic intensity is defined as computation divided by memory communication. (technical definition)
  • Chinchilla scaling dictates that parameters and tokens should scale equally with compute. (empirical scaling law)

Notable Quotes

"The programmer is in the unique position that this is the only discipline and profession in which such a gigantic ratio, which totally baffles our imagination, has to be bridged by a single technology." (at 2:22) "You are a next token predictor, all of us because we live in time, we all of our actions, our speech, we generate it one second at the time." (at 216:48)

Compressed Summary

  • LLMs are trained via autoregressive next-token prediction over massive token corpora.
  • Scaling laws govern the optimal trade-off between model parameters and training data size.
  • Hardware parallelism relies on tensor, layer, and expert sharding across GPU clusters.
  • Alignment and safety are achieved through post-training techniques like SFT, RLHF, and deliberative reasoning.
  • Keywords: scaling laws, transformers, token prediction, reinforcement learning, alignment, sharding
  • Core insight: Modern LLMs scale predictably through autoregressive next-token prediction on massive compute, while advanced alignment techniques harness internal reasoning to ensure safety and capability.

Core insights

6
Architecturehigh noveltymoderate evidence

Deliberative alignment relocates safety enforcement from output-level refusal behavior into the model's chain-of-thought reasoning, where the model evaluates safety specifications internally before producing an answer. This is a qualitatively different placement of the safety boundary: instead of training a refusal reflex via SFT/RLHF, the reasoning trajectory itself is reinforced to perform specification compliance.

Why it matters

If safety checking lives inside the reasoning trace, then harnesses, monitors, and evals must inspect and score intermediate reasoning, not just final outputs; output-only filtering becomes an incomplete control surface.

Generalization

Applies to any agentic system where policy enforcement can be moved from a post-hoc output filter into the planning/reasoning stage — shifts where responsibility belongs (in-trace deliberation vs. external guardrail).

Classical safety training relies heavily on refusal-oriented responses and simple SFT/RLHF.
Open source video
Reasoning models benefit from deliberative alignment where chain-of-thought reasoning is incorporated into safety checks.
Open source video
Reinforcing the thinking process allows models to evaluate safety specifications internally before generating answers.
Open source video
Tradeoffmedium noveltystrong evidence

Chinchilla scaling laws formalize a parameter-count vs. token-count allocation trade-off under a fixed FLOP budget, rather than treating more parameters as unconditionally better. Compute-optimal training is an explicit resource-allocation decision made before/around training.

Why it matters

Frontier capability gains come from a budget split, not a single dial — teams choosing model size without a matching data/token plan are provably off the compute-optimal frontier.

Generalization

Generalizes to inference-time and agent budgets: given a fixed compute budget, how to split between more/larger model calls, longer reasoning, more rollouts, or more retrieval is the same class of allocation problem.

Chinchilla scaling laws define the optimal allocation between parameter count and token count.
Open source video
parameter-data trade-off
Open source video
FLOP budget
Open source video
Mechanismmedium noveltymoderate evidence

Transformer efficiency is grounded in a hardware mechanism: operations are dominated by matrix multiplication, which yields high arithmetic intensity inside GPU cores; distributed training is then achieved through a family of sharding strategies (tensor, layer, context, expert) that decompose different structural axes of the model.

Why it matters

Explains why model-parallel design is a function of operation shape and communication patterns (e.g., all-reduce between GPUs), not arbitrary partitioning — a prerequisite for reasoning about throughput, latency, and communication cost.

Generalization

The pattern of choosing the decomposition axis to match the dominant operation (weights vs. depth vs. sequence vs. experts) is transferable to distributing any large workload across a cluster.

Transformer operations are dominated by matrix multiplication, favoring high arithmetic intensity inside GPU cores.
Open source video
Tensor sharding splits parameter matrices across GPUs.
Open source video
Layer sharding distributes sequential model layers across multiple devices.
Open source video
Architecturelow noveltystrong evidence

The training pipeline is split into a capability stage and a behavior stage: pretraining fits the general token distribution with self-supervised next-token prediction, then post-training (SFT, RLHF/RLAIF) converts a statistical predictor into a helpful/safe assistant.

Why it matters

Capability and behavior are separately trainable and separately regressible — a behavior regression can be addressed in post-training without touching the pretrained base, which affects versioning, rollback, and eval stratification.

Generalization

Establishes the general pattern that a general-purpose base artifact plus a narrower alignment/policy layer is preferable to one monolithic objective — relevant to any system separating a world model from a policy.

Pretraining models the general token distribution using self-supervised next-token prediction on massive internet text.
Open source video
Post-training teaches the model to act as a helpful and safe assistant.
Open source video
Supervised Fine-Tuning (SFT) and Reinforcement Learning (RLHF/RLAIF) shape model behavior.
Open source video
Mechanismmedium noveltymoderate evidence

Alignment via RL rests on a concrete optimization contract: on-policy rollouts sampled from the current model are scored by a reward model, and methods like GRPO normalize rewards while adding a KL penalty to keep the policy near its reference.

Why it matters

The KL term and reward normalization are the actual stability levers — knowing this makes reward-hacking and policy-drift failures diagnosable rather than mysterious, and clarifies that on-policy methods pay repeated generation cost.

Generalization

The on-policy + reward-model + KL-anchor pattern is the reusable template for optimizing any generative agent against a learned scorer without collapsing diversity or drifting from a safe prior.

Policy gradient methods maximize expected rewards for generated rollouts.
Open source video
On-policy training samples responses from the current model policy.
Open source video
Group Relative Policy Optimization (GRPO) normalizes rewards and incorporates KL penalties.
Open source video
Mental Modelmedium noveltymoderate evidence

Scale itself is framed as a design constraint: general computer science operates around 10^9 scale ratios, whereas large AI training runs reach ~10^25 FLOPs, forcing deeper abstraction hierarchies than classical software engineering.

Why it matters

Provides a calibration for why AI infrastructure reasoning (resource allocation, abstraction layering, parallelism) is a different engineering regime rather than a bigger version of standard software.

Generalization

Useful as a framing heuristic: when scale ratios jump several orders of magnitude, previously adequate abstractions (manual tuning, single-machine reasoning) stop being viable and must be replaced.

Computing science deals with scale ratios around 10^9 (from bits to megabytes).
Open source video
Large-scale AI training runs can involve 10^25 floating-point operations.
Open source video
Comparing a supersonic jet plane with a crawling baby (~10^3 speed ratio)
Open source video

Deep dives

4

Reasoning-trace safety enforcement and observability

Research question

Is deliberative alignment's specification compliance bound to the presence of a visible reasoning trace, or does it persist when the chain of thought is suppressed, truncated, or paraphrased?

Why

If compliance tracks the trace, then output-only guardrails, monitors, and evals are incomplete control surfaces and must score intermediate reasoning; if it does not, the safety gain is more robust than harnesses currently assume.

Classical safety training relies heavily on refusal-oriented responses and simple SFT/RLHF.
Open source video
Reasoning models benefit from deliberative alignment where chain-of-thought reasoning is incorporated into safety checks.
Open source video
Reinforcing the thinking process allows models to evaluate safety specifications internally before generating answers.
Open source video
Source video

Total-compute allocation across pretraining, post-training, and inference-time deliberation

Research question

Does the Chinchilla compute-optimal parameter-token allocation remain optimal when a large share of the total budget is shifted to post-training and inference-time reasoning?

Why

Frontier teams allocate one budget across three stages; a pretraining-only frontier mis-specifies where marginal capability per FLOP is highest, wasting entire runs.

Chinchilla scaling laws define the optimal allocation between parameter count and token count.
Open source video
parameter-data trade-off
Open source video
FLOP budget
Open source video
Source video

Communication cost attribution per sharding strategy

Research question

What fraction of step time is attributable to inter-GPU communication for tensor, layer, context, and expert sharding, and at what configuration does each become the binding constraint?

Why

Performance and cost models that count only matmul FLOPs will mis-rank parallelism choices; the same attribution logic transfers to distributing agent workloads.

Tensor sharding splits parameter matrices across GPUs.
Open source video
Layer sharding distributes sequential model layers across multiple devices.
Open source video
Transformer operations are dominated by matrix multiplication, favoring high arithmetic intensity inside GPU cores.
Open source video
Source video

Stability levers in on-policy alignment: KL coefficient and reward normalization

Research question

How sensitive is GRPO to the KL coefficient and group size when reward signals are sparse or noisy, and when does diversity collapse precede measurable reward hacking?

Why

The KL anchor and normalization are the actual stability levers; quantifying sensitivity makes reward-hacking and policy-drift failures diagnosable rather than mysterious.

On-policy training samples responses from the current model policy.
Open source video
Group Relative Policy Optimization (GRPO) normalizes rewards and incorporates KL penalties.
Open source video
Policy gradient methods maximize expected rewards for generated rollouts.
Open source video
Source video

Article ideas

3

Your Output Filter Is Not the Safety Boundary: Guardrails After Deliberative Alignment

Once safety enforcement is reinforced inside the chain of thought, output-level refusal filtering stops being the primary control surface; monitoring, evals, and harnesses must be redesigned to inspect intermediate reasoning, and treating the final answer as the enforcement point produces a false sense of coverage.

Angle

Trace the relocation of the safety boundary from refusal-shaped outputs to reinforced deliberation over specifications, then derive concrete consequences for monitor placement, logging, and eval design.

Source video

The Chinchilla Frontier Is a Pretraining Frontier: Budgeting When Inference Reasons

Compute-optimal allocation is an explicitly staged decision, and the classical Chinchilla parameter-token split optimizes only one stage; as budgets shift toward post-training and inference-time deliberation, the frontier must be redefined over the full pipeline rather than a single pretraining split.

Angle

Reframe scaling laws as an allocation problem across pretraining, post-training, and test-time reasoning, and argue that a pretraining-only frontier systematically overstates the value of additional base-model tokens.

Source video

Model-Parallel Design Is an Operation-Shape Decision, Not a Hardware Decision

Tensor, layer, context, and expert sharding are not interchangeable ways to add GPUs; each decomposes a different structural axis and therefore imposes a different communication pattern, so any cost model that counts FLOPs without attributing inter-GPU communication will mis-rank parallelization strategies.

Angle

Derive each sharding strategy from the dominant operation it maps (weights, depth, sequence, experts) and show how communication, not FLOPs, becomes the binding constraint at scale.

Source video

Project ideas

4

TraceGuard

gatehouse

Specification compliance from deliberative alignment is measurably bound to the presence of a visible reasoning trace; suppressing, truncating, or paraphrasing the chain of thought will increase policy-violation rate relative to full-trace generation.

Proof of concept

Run a deliberatively aligned reasoning model over a fixed adversarial prompt set under four conditions: full chain of thought, truncated trace, paraphrased trace, and suppressed trace, then score final outputs against the safety specification rather than refusal behavior.

Measurement

Per-condition violation rate and the delta versus the full-trace baseline, with a paired test across prompt families.

Source video

BudgetSplit

new

Beyond a threshold of pretraining tokens, marginal capability per FLOP is higher for inference-time deliberation than for additional pretraining compute at a fixed total budget.

Proof of concept

Sweep total compute splits across pretraining, post-training, and test-time reasoning on small models under an equalized FLOP budget, then plot capability per FLOP for each split.

Measurement

Capability per FLOP curve as a function of the pretraining-to-inference split ratio, with the crossover point identified.

Source video

ShardTrace

new

For each sharding strategy, inter-GPU communication becomes the binding constraint at a configuration threshold that is predictable from sequence length, model size, and device count, independent of matmul FLOPs.

Proof of concept

Instrument small multi-GPU training runs across tensor, layer, context, and expert sharding, attributing step time to matmul versus communication events including all-reduce.

Measurement

Communication fraction of step time per strategy as a function of configuration, and the configuration at which it exceeds 50 percent.

Source video

AttackFamilyBench

beyond-evals

Deliberative alignment lowers jailbreak success on obfuscation patterns resembling training examples but does not transfer to unseen attack families such as role-play, multi-turn, and tool-mediated prompts.

Proof of concept

Build a benchmark of adversarial prompt families, including ROT13-style encoding as the trained case, and evaluate specification compliance against a refusal-based baseline.

Measurement

Per-family attack success rate and the gap between the trained obfuscation family and unseen families.

Source video

Architectural implications

3

Safety checking is being embedded in the model's reasoning trace rather than applied as an output-level refusal.

Before

Safety = refusal-oriented SFT/RLHF shaping final outputs; monitoring inspects only generated answers.

After

Safety = reinforced deliberation over specifications inside the chain of thought before the answer is produced.

Consequence

Monitoring, evals, and harnesses need visibility into intermediate reasoning; output-only guardrails are insufficient as a control surface.

Source video

Model capability and model behavior are produced by distinct training stages with distinct data and objectives.

Before

A single training objective is assumed to produce both knowledge and assistant behavior.

After

Pretraining fits the token distribution; post-training (SFT, RLHF/RLAIF) installs assistant behavior on top.

Consequence

Behavior changes can be shipped and rolled back independently of the base model, enabling separate eval suites and staged deployments.

Source video

Distributed execution of a large model is a choice of which structural axis to shard (tensor, layer, context, expert), with inter-GPU communication as a first-class cost.

Before

Scaling is treated as adding more hardware to the same computation.

After

Scaling requires mapping model structure onto hardware topology, trading memory per device against communication (e.g., all-reduce).

Consequence

Performance and cost modeling must include communication patterns, not just FLOPs — the same holds for distributing agent workloads.

Source video

Tradeoffs and failure modes

3

Refusal-centric safety training

Benefit

Simple to implement through SFT and RLHF and effective on the behaviors it directly trains.

Cost or risk

Degrades under adversarial inputs and encoded prompts, where a refusal reflex is not matched to the actual policy being violated.

Classical safety training relies heavily on refusal-oriented responses and simple SFT/RLHF.
Open source video
Source video

On-policy reinforcement learning for alignment

Benefit

Optimizes directly on the distribution the deployed policy actually produces.

Cost or risk

Requires repeatedly sampling rollouts from the current model, and rewards come from a learned reward model that can be gamed without a KL constraint.

On-policy training samples responses from the current model policy.
Open source video
Source video

Compute-optimal scaling allocation

Benefit

Maximizes capability gained per unit of FLOP budget by balancing parameters and tokens.

Cost or risk

Commits resources to an allocation decided before results are known; misestimating the parameter-data split wastes an entire training run.

parameter-data trade-off
Open source video
Source video

Open questions

4

Does inheriting safety reasoning into the chain of thought transfer to cases where the final answer is produced without explicit deliberation, or with the reasoning hidden/compressed?

Why unresolved

The summary shows deliberative alignment working on an explicit adversarial example but does not establish whether the safety behavior is bound to the visible reasoning trace.

Research direction

Evaluate specification compliance when chain-of-thought is suppressed, truncated, or paraphrased, and measure whether safety performance tracks presence of the reasoning trace.

Source video

How does deliberative alignment perform outside scripted obfuscation attacks such as encoded prompts like ROT13?

Why unresolved

The only concrete example is a decoding-plus-policy-check scenario; generalization to other jailbreak families is not evidenced.

Research direction

Build a benchmark of adversarial prompt families (encoding, role-play, multi-turn, tool-mediated) and measure specification compliance versus refusal-based baselines.

Source video

Do Chinchilla-style compute-optimal allocations still apply when a large share of compute moves to inference-time reasoning and post-training rather than pretraining?

Why unresolved

The summary presents scaling laws for pretraining resource allocation and separately presents post-training RL, without reconciling budgets across stages.

Research direction

Compare total compute split across pretraining, post-training, and inference-time deliberation to find where marginal capability per FLOP is highest.

Source video

What is the communication overhead of each sharding strategy as a fraction of step time, and when does each become the binding constraint?

Why unresolved

The summary names tensor, layer, context, and expert sharding and mentions all-reduce communication but gives no comparative cost characterization.

Research direction

Instrument training runs to attribute step time to matmul versus inter-GPU communication per sharding strategy, and derive scaling limits per strategy.

Source video

Key claims

8
causalVerification needed

Chinchilla scaling laws define an optimal allocation between parameter count and token count.

Evidence

Chinchilla scaling laws define the optimal allocation between parameter count and token count.

Question

Under what budget assumptions and architectures is the Chinchilla parameter-token ratio still optimal?

Source video
comparativeVerification needed

Classical learning methods saturate quickly with unlimited resources, while deep learning scales effectively with massive increases in compute and data.

Evidence

Classical learning methods show diminishing returns and saturate quickly when given infinite resources.

Question

At what scale do deep learning scaling curves begin to deviate from log-log linearity?

Source video
factualVerification needed

Large-scale AI training runs can involve 10^25 floating-point operations, far above the ~10^9 scale ratios typical of general computer science.

Evidence

Large-scale AI training runs can involve 10^25 floating-point operations.

Question

Which specific training runs correspond to the 10^25 FLOP figure, and how is the number estimated?

Source video
causalVerification needed

Transformer operations are dominated by matrix multiplication, giving high arithmetic intensity that suits GPU execution.

Evidence

Transformer operations are dominated by matrix multiplication, favoring high arithmetic intensity inside GPU cores.

Question

What fraction of transformer step time is non-matmul (attention, normalization, communication) at various sequence lengths and batch sizes?

Source video
opinionVerification not requested

Next-token prediction over large corpora serves as a powerful self-supervised learning signal.

Evidence

Next token prediction serves as a powerful self-supervised learning signal over vast datasets.

Source video
factualVerification needed

GRPO normalizes rewards and incorporates KL penalties within policy-gradient alignment.

Evidence

Group Relative Policy Optimization (GRPO) normalizes rewards and incorporates KL penalties.

Question

How sensitive is GRPO to the KL coefficient and to group size when reward signals are sparse or noisy?

Source video
causalVerification needed

Reinforcing the thinking process lets models evaluate safety specifications internally before answering, improving behavior under adversarial obfuscation.

Evidence

Reinforcing the thinking process allows models to evaluate safety specifications internally before generating answers.

Question

Does deliberative alignment reduce jailbreak success across attack families, or only on the specific obfuscation patterns used in training?

Source video
factualVerification needed

Models can decode an obfuscated (ROT13) adversarial prompt while checking safety policies inside the chain of thought, indicating reasoning-level safety evaluation.

Evidence

Decoding ROT13-encoded adversarial prompts while checking safety policies in the chain of thought

Question

Is there a measurable separation between the model's decoding capability and its enforcement of the safety specification in this setting?

Source video

Connections

5