Frontier Lab Notes

Architecture Concept Graph Frontier LLMs

This note explains how the whole frontier LLM stack connects. The main mistake beginners make is studying topics as isolated facts: attention, scaling laws, MoE, RLHF, evals, inference. In real research, every decision pushes on every other layer.

The Whole System

flowchart TD
  Data["Data mixture, tokenizer, objective"] --> Pretrain["Pretraining loss"]
  Pretrain --> Block["Transformer block"]
  Block --> Attention["Attention + positional encoding"]
  Block --> MLP["MLP / expert layers"]
  Attention --> Context["Context length + KV cache"]
  MLP --> MoE["Dense vs MoE capacity"]
  Pretrain --> Scale["Scaling laws + compute allocation"]
  Scale --> Systems["Training systems + hardware"]
  Context --> Inference["Inference serving cost"]
  MoE --> Inference
  Systems --> Inference
  Pretrain --> PostTrain["SFT / RLHF / DPO / reasoning RL"]
  PostTrain --> Behavior["Helpful, safe, tool-using behavior"]
  Behavior --> Eval["Evaluation + red-teaming"]
  Eval --> Data
  Eval --> PostTrain
  Eval --> Scale

The Core Loop

Frontier labs repeatedly run this loop:

  1. Choose a capability target.
  2. Estimate the bottleneck: data, architecture, optimization, scale, inference, or post-training.
  3. Design a small experiment.
  4. Train and evaluate.
  5. Compare against strong baselines.
  6. Scale if the result survives.
  7. Re-check cost and safety at deployment.

Every topic in this sphere maps into that loop.

Data Controls What Can Be Learned

Data Tokenization and Pretraining Objective determines the model's training distribution. If the data lacks high-quality math, code, multilingual text, or long documents, architecture cannot fully compensate.

Connections:

Research instinct:

Before blaming architecture, ask whether the model saw the right data in the right format.

Architecture Controls The Computation The Model Can Easily Express

Transformer Block Anatomy defines the repeated compute unit. The two main sublayers have different jobs:

Connections:

Research instinct:

Architecture is not "what can the model theoretically represent?" It is "what can the model learn efficiently at scale?"

Scaling Decides What Is Worth Doing

Scaling Laws and Compute Optimal Training turns architecture into economics.

A trick matters if it improves one of these:

Connections:

Research instinct:

Always ask "fixed what?" A paper can win at fixed parameters and lose at fixed dollars.

Systems Turn Architecture Into Reality

Frontier Model Systems and Inference is not a side issue. It decides what models can be trained and served.

Connections:

Research instinct:

A model architecture is also a distributed systems design.

Post-Training Turns Capability Into Behavior

Post Training Alignment and Reasoning changes how the base model behaves:

Connections:

Research instinct:

If a model fails a task, distinguish capability failure from elicitation failure.

Evaluation Is The Feedback Signal For Research

Evaluation Benchmarks and Scientific Method controls what labs optimize.

Connections:

Research instinct:

A benchmark is a microscope, not the territory. Know what it cannot see.

The Stack As Research Questions

Layer Question Example Failure
Data Did the model see the right distribution? Great architecture, weak math data.
Tokenizer Is information represented efficiently? Poor multilingual token efficiency.
Objective Is next-token prediction enough? Base model knows but does not help.
Block Is computation easy to learn? Deep model unstable or inefficient.
Attention Can tokens retrieve the right context? Long-context distraction.
MLP/MoE Is capacity used efficiently? Expert collapse or communication overhead.
Scaling Is compute allocated well? Giant undertrained model.
Systems Can it run on hardware? KV cache dominates serving cost.
Post-training Is capability elicited safely? Sycophancy or over-refusal.
Evaluation Are we measuring the real target? Benchmark progress, product regression.

What To Memorize

The frontier LLM stack is a set of coupled bottlenecks:

Data -> Objective -> Architecture -> Optimization -> Scale -> Systems -> Post-training -> Evaluation -> Data

Do not become a person who only knows one node. Labs need people who can reason across edges.

Related