Frontier Foundry

AI concepts compared

14 comparisons, every line sourced

The questions people ask about AI techniques that do the same job, or one job two ways, answered from the sources: the difference row by row, when to use which, and how they combine.

Continual learning vs Agent memory

Continual learning or agent memory: how should an AI remember? The sources do not pick one place. Agent memory keeps what was learned as notes outside the model's weights, and it is the cheapest and fastest layer to update. Continual learning also covers changing the weights, which costs more but can build a behavior in. One source says a learning engine should ask for the smallest durable change at the right layer, and another says to start with the harness and fine-tune later.

Decision models vs Fine-tuning

Decision models or a fine-tuned classifier: which should decide? Start with a decision model when the job is a typed question your code can branch on and you want it working in minutes: you write the question and its allowed answers, and the model returns a probability for each. Fine-tune when the job is narrow, stable and high-volume, and you can afford the examples, the evals and the upkeep. The sources say that for a narrow, well-defined problem a decision model probably will not beat a special-purpose classifier, and that its selling point is that it is far more general.

Distillation vs Fine-tuning

Distillation or fine-tuning: what is the difference? Distillation is a kind of fine-tuning. Both train a model further on examples; what differs is where the examples come from. In fine-tuning a team supplies its own labeled examples to teach a task, a format or a style. In distillation the examples come from a larger teacher model, and the aim is a smaller student that mimics it. The sources also note that much of what is called distillation is ordinary fine-tuning with direction from another model.

Evals vs Benchmarks

Evals or benchmarks: which tells you if a model is good enough? Evals do, because they test your own job; a benchmark tests someone else's fixed task set. A public benchmark is useful to build a shortlist, and the sources are blunt that it is not a decision. A benchmark row depends on the harness and settings as much as on the model, and public task sets leak into training and saturate. To judge good enough, run evals built from your own traces and failures, and keep running them in production.

Long context vs RAG

Long context or RAG: do you still need retrieval? Often yes, and the sources do not treat it as one or the other. A big window lets you put everything in, but the model uses the start and the end of a long input better than the middle, quality can fall well inside the advertised limit, and every token is sent again with every request. Retrieval fetches only what the question needs and can show where each answer came from. Agents that read whole environments over many rounds are the case the sources give for a very large window.

MCP vs A2A

MCP or A2A: what is the difference between the agent protocols? MCP tells an agent which tool to use. A2A is how agents talk to each other. They are not rivals: in one shopping demo the customer's agent sends an A2A message to the merchant's agent, which finds products with an MCP tool call. Reach for MCP when an agent needs tools and data; reach for A2A when the work is a task handed to another agent. Both are in wide use, but the sources describe a crowded, early field.

MCP vs Agent Skills

MCP or agent skills: which should you use? They do different jobs, so the usual answer is both. Use MCP when the agent needs a capability: a remote service to call, with sign-in handled outside the agent. Use a skill when the agent needs to know how to do a job: a folder of instructions it reads on demand. One speaker puts it in a line: skills deliver knowledge on how to do something, while MCP tools give capabilities.

Prompt engineering vs Context engineering

Prompt engineering or context engineering: what is the difference? Prompt engineering is about the standing instructions a model reads on every request: writing them, testing them and trimming them. Context engineering is the wider job of deciding what goes into the model's window each turn, which means instructions, tools, retrieved facts and history, and what stays outside. The prompt is one of the things put in the window, so prompt work is a part of context work. Work on the prompt when the instructions are the problem; work on the context when the window fills up, tools bloat it or a long run has to carry on.

Quantization vs Distillation

Quantization or distillation: how should you shrink a model? They shrink a model in different ways. Quantization keeps the model and rounds its weights to fewer bits, so the same checkpoint fits on a smaller card. Distillation trains a smaller model on a larger teacher's outputs, so the student mimics the teacher with fewer parameters. The sources show them used together: after a model is rounded, distilling the original into it heals the loss.

RAG vs Fine-tuning

RAG or fine-tuning: which should you use? Use RAG when the model needs facts that change or are private and each answer should point to where it came from; use fine-tuning to teach behavior that has stopped changing, such as a format, a judgment or a style. The rule of thumb in the sources: if the model lacks facts, retrieve them; if its output's structure or behavior is off, tune it. Most teams start with a frontier model and better context, and tune only once a use case is stable.

RAG vs Knowledge graphs (GraphRAG)

RAG or a knowledge graph (GraphRAG): which retrieval should you use? Start with plain RAG. Vector search is usually enough when a search engine could answer the question. Add a knowledge graph when answers depend on links between things: the graph becomes imperative at three or more hops, or when data must be aggregated across documents. It is not either-or: GraphRAG is RAG whose retrieval path includes a knowledge graph, and the sources advise using the graph and the vector layer together.

RLHF vs RLVR

RLHF or RLVR: what is the difference? The difference is where the reward comes from. In RLHF, people choose between two replies and a reward model learns their taste. In RLVR, a program checks the answer: tests pass, a number matches, the final state is right. In the words of one speaker, RLHF optimises for human preference and RLVR for correctness. IBM's Granite recipe puts checkers first wherever one exists, because they are objective and harder to game, and uses preferences for the open-ended qualities no checker can express. Checkers can still be gamed: one coding agent rewarded only for passing tests hardcoded the expected outputs. Recent recipes use both.

Spec-driven development vs Vibe coding

Spec-driven development or vibe coding: which way should you build with AI? Vibe code when the software is disposable: a game, a personal tool, something where the worst case is a bug. Work from a spec when other people or real data depend on it, because a written spec gives the agent something to be held to and gives reviewers something to read. The sources tie the choice to the stakes: for disposable software code quality does not matter, for durable software it does.

State space models vs Transformers

State space models (Mamba) or transformers: what is the difference? A transformer lets every token look back at every earlier token, so its cost grows with the length of the input. A state space model reads the input once and keeps one fixed-size state, so compute grows linearly and memory stays constant. The price is a lossy memory: early details can be overwritten. The sources show newer models mixing the two, with a few attention layers kept to carry exact retrieval.