id
stringlengths
8
8
slug
stringlengths
4
34
term
stringlengths
4
46
aliases
listlengths
0
6
category
stringclasses
11 values
definition
stringlengths
120
324
description
stringlengths
97
1.6k
example
stringclasses
7 values
broader
listlengths
0
1
narrower
listlengths
0
26
related
listlengths
0
8
introduced
int64
2.02k
2.03k
⌀
sources
listlengths
1
5
url
stringlengths
30
60
citation
stringlengths
134
194
PTL-0201
livecodebench
LiveCodeBench
[]
Benchmarks
LiveCodeBench is a coding benchmark that continuously collects new problems from programming contests, such as LeetCode, AtCoder, and Codeforces, so that models can be evaluated only on problems published after their training data was collected.
Dating each problem lets evaluators detect and avoid data contamination. Besides code generation, it covers self-repair, predicting the output of code, and predicting test outputs.
null
[ "benchmark" ]
[]
[ "data-contamination", "humaneval", "pass-at-k" ]
2,024
[ { "title": "LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code", "authors": "Jain et al.", "year": 2024, "url": "https://arxiv.org/abs/2403.07974" } ]
https://protologue.com/t/livecodebench/
Protologue. (2026). LiveCodeBench. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0201). https://protologue.com/t/livecodebench/
PTL-0202
swe-bench
SWE-bench
[ "SWE-bench Verified" ]
Benchmarks
SWE-bench is a benchmark of real GitHub issues from popular Python repositories, in which a model or agent must edit the codebase so that tests written for the actual fix pass.
It measures practical software engineering in large, unfamiliar codebases rather than isolated functions, and became a standard benchmark for coding agents. Because some original tasks were underspecified or had faulty tests, OpenAI released a 500-task subset screened by human developers, SWE-bench Verified, in 2024, a...
null
[ "benchmark" ]
[]
[ "coding-agent", "humaneval", "terminal-bench", "data-contamination", "benchmark-saturation" ]
2,023
[ { "title": "SWE-bench: Can Language Models Resolve Real-World GitHub Issues?", "authors": "Jimenez et al.", "year": 2023, "url": "https://arxiv.org/abs/2310.06770" }, { "title": "Introducing SWE-bench Verified", "authors": "OpenAI", "year": 2024, "url": "https://openai.com/index/...
https://protologue.com/t/swe-bench/
Protologue. (2026). SWE-bench. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0202). https://protologue.com/t/swe-bench/
PTL-0203
terminal-bench
Terminal-Bench
[]
Benchmarks
Terminal-Bench is a benchmark of hard, realistic tasks that an AI agent must complete by running commands in a containerized Linux terminal, graded by automated tests of the final state of the environment.
Grading checks outcomes, not the commands used, so agents can solve tasks any way that works. It measures the command-line skills that coding and DevOps agents rely on, such as building software, configuring systems, and debugging.
null
[ "benchmark" ]
[]
[ "coding-agent", "swe-bench", "code-execution-tool" ]
null
[ { "title": "Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces", "authors": "Merrill et al.", "year": 2026, "url": "https://arxiv.org/abs/2601.11868" } ]
https://protologue.com/t/terminal-bench/
Protologue. (2026). Terminal-Bench. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0203). https://protologue.com/t/terminal-bench/
PTL-0204
tau-bench
τ-bench
[ "tau-bench", "TAU-bench", "pass^k" ]
Benchmarks
τ-bench is a benchmark in which an agent with API tools and a written domain policy, for example for airline or retail customer service, converses with a simulated user and is judged by whether the final database state is correct.
It tests tool use, policy following, and conversation together, as in real deployments. It introduced pass^k, the probability that an agent succeeds on all of k repeated trials of the same task, which exposes how inconsistent agents can be even when they often succeed once.
null
[ "benchmark" ]
[]
[ "function-calling", "ai-agent", "pass-at-k" ]
2,024
[ { "title": "τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains", "authors": "Yao et al.", "year": 2024, "url": "https://arxiv.org/abs/2406.12045" } ]
https://protologue.com/t/tau-bench/
Protologue. (2026). τ-bench. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0204). https://protologue.com/t/tau-bench/
PTL-0205
osworld
OSWorld
[]
Benchmarks
OSWorld is a benchmark of open-ended tasks that computer-use agents must complete in real operating systems and applications, graded by scripts that check the resulting state of the computer.
Tasks span office software, web browsers, file management, and multi-application workflows. It is the standard benchmark for computer-use agents and showed a large gap between early agents and people.
null
[ "benchmark" ]
[]
[ "computer-use-agent", "multimodal-prompting" ]
2,024
[ { "title": "OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments", "authors": "Xie et al.", "year": 2024, "url": "https://arxiv.org/abs/2404.07972" } ]
https://protologue.com/t/osworld/
Protologue. (2026). OSWorld. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0205). https://protologue.com/t/osworld/
PTL-0206
gaia
GAIA
[]
Benchmarks
GAIA is a benchmark for general AI assistants made of questions that are conceptually simple for people but require several steps of web browsing, file reading, multimodal understanding, and tool use to answer.
Each question has a single short answer, which makes grading exact despite the open-ended process. It contrasts with benchmarks of expert knowledge by testing whether assistants can reliably carry out ordinary multi-step tasks.
null
[ "benchmark" ]
[]
[ "ai-agent", "web-search-tool", "browsecomp" ]
2,023
[ { "title": "GAIA: a benchmark for General AI Assistants", "authors": "Mialon et al.", "year": 2023, "url": "https://arxiv.org/abs/2311.12983" } ]
https://protologue.com/t/gaia/
Protologue. (2026). GAIA. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0206). https://protologue.com/t/gaia/
PTL-0207
browsecomp
BrowseComp
[]
Benchmarks
BrowseComp is a benchmark of hard-to-find but easy-to-verify questions that require an agent to search the web persistently and creatively, often across many pages, to locate an entangled piece of information.
Answers are short so grading is simple, while finding them can take a person hours. It measures the persistence and search strategy of browsing and deep-research agents rather than knowledge the model already has.
null
[ "benchmark" ]
[]
[ "web-search-tool", "agentic-rag", "gaia" ]
2,025
[ { "title": "BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agents", "authors": "Wei et al.", "year": 2025, "url": "https://arxiv.org/abs/2504.12516" } ]
https://protologue.com/t/browsecomp/
Protologue. (2026). BrowseComp. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0207). https://protologue.com/t/browsecomp/
PTL-0208
ifeval
IFEval
[ "Instruction-Following Eval" ]
Benchmarks
IFEval (Instruction-Following Eval) is a benchmark of prompts containing instructions whose compliance can be checked automatically, such as "write at least 300 words" or "do not use any commas", used to measure instruction following without a human or model judge.
Verifiable instructions make scoring objective and cheap, which is why IFEval is a common headline score for instruction-tuned models. It measures adherence to format and content constraints, not answer quality.
null
[ "benchmark" ]
[]
[ "instruction-following", "mt-bench" ]
2,023
[ { "title": "Instruction-Following Evaluation for Large Language Models", "authors": "Zhou et al.", "year": 2023, "url": "https://arxiv.org/abs/2311.07911" } ]
https://protologue.com/t/ifeval/
Protologue. (2026). IFEval. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0208). https://protologue.com/t/ifeval/
PTL-0209
mt-bench
MT-Bench
[]
Benchmarks
MT-Bench is a benchmark of 80 two-turn questions across categories such as writing, reasoning, math, and coding, in which a strong LLM acts as the judge and scores each response.
It was introduced with the systematic study of LLM-as-a-judge, which found that strong model judges agreed with human preferences about as well as people agreed with each other, and also documented judge biases. Its small size and reliance on a model judge limit how finely it can separate today's models.
null
[ "benchmark" ]
[]
[ "llm-as-a-judge", "llm-judge-bias", "chatbot-arena" ]
2,023
[ { "title": "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena", "authors": "Zheng et al.", "year": 2023, "url": "https://arxiv.org/abs/2306.05685" } ]
https://protologue.com/t/mt-bench/
Protologue. (2026). MT-Bench. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0209). https://protologue.com/t/mt-bench/
PTL-0210
chatbot-arena
Chatbot Arena
[ "LMArena", "Arena", "LMSYS Chatbot Arena" ]
Benchmarks
Chatbot Arena is a public platform where people chat with two anonymous models side by side and vote for the better response, with the votes aggregated into a leaderboard of model ratings.
Crowdsourced preferences capture open-ended quality that fixed test sets miss, and new questions from real users resist contamination. Ratings can also reflect style, such as length and formatting, which is why style-controlled rankings are offered. The platform was later renamed, first LMArena and then Arena.
null
[ "benchmark" ]
[]
[ "mt-bench", "llm-judge-bias", "llm-as-a-judge" ]
2,023
[ { "title": "Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference", "authors": "Chiang et al.", "year": 2024, "url": "https://arxiv.org/abs/2403.04132" } ]
https://protologue.com/t/chatbot-arena/
Protologue. (2026). Chatbot Arena. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0210). https://protologue.com/t/chatbot-arena/
PTL-0211
ruler
RULER
[]
Benchmarks
RULER is a synthetic long-context benchmark that extends needle-in-a-haystack retrieval with harder tasks, such as multiple needles, multi-hop tracing, and aggregation, at configurable context lengths, to measure how much of its context window a model can actually use.
Its creators found that many models performed well on simple needle retrieval but degraded well before their advertised context length on the harder tasks. It is a standard reference for a model's effective, as opposed to claimed, context size.
null
[ "benchmark" ]
[]
[ "needle-in-a-haystack", "context-window", "context-rot", "lost-in-the-middle" ]
2,024
[ { "title": "RULER: What's the Real Context Size of Your Long-Context Language Models?", "authors": "Hsieh et al.", "year": 2024, "url": "https://arxiv.org/abs/2404.06654" } ]
https://protologue.com/t/ruler/
Protologue. (2026). RULER. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0211). https://protologue.com/t/ruler/
PTL-0212
harness-engineering
Harness Engineering
[ "agent harness", "agent harness engineering" ]
Agents & Orchestration
Harness engineering is the design of the software around a language model that turns it into an agent, including the agent loop, tools, context management, permissions and safety controls, and feedback mechanisms such as tests and linters.
The term spread in early 2026, after OpenAI described building software with Codex agents in which engineers' main work shifted from writing code to designing the environments, constraints and feedback loops the agents work within. It treats an agent as a model plus a harness, so two agents built on the same model can ...
null
[]
[]
[ "context-engineering", "coding-agent", "ai-agent", "agentic-workflow", "context-compaction", "guardrails", "human-in-the-loop" ]
2,026
[ { "title": "Harness engineering: leveraging Codex in an agent-first world", "authors": "Lopopolo", "year": 2026, "url": "https://openai.com/index/harness-engineering/" }, { "title": "Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven S...
https://protologue.com/t/harness-engineering/
Protologue. (2026). Harness Engineering. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0212). https://protologue.com/t/harness-engineering/
PTL-0213
recursive-language-model
Recursive Language Model
[ "RLM", "RLMs", "recursive LM" ]
Reasoning Models & Test-Time Compute
A recursive language model (RLM) is an inference strategy in which a long prompt is kept outside the model's context window as an external resource that the model inspects programmatically, splitting the task into parts and calling itself recursively on them.
RLMs address inputs far longer than a context window without first compressing or summarizing them. The model works in a code environment where the prompt is stored as data, reads only the parts it needs, and delegates sub-problems to recursive calls whose results it combines. The authors report handling inputs about t...
null
[ "test-time-compute-scaling" ]
[]
[ "context-window", "context-compaction", "context-rot", "lost-in-the-middle", "code-execution-tool" ]
2,025
[ { "title": "Recursive Language Models", "authors": "Zhang et al.", "year": 2025, "url": "https://arxiv.org/abs/2512.24601" } ]
https://protologue.com/t/recursive-language-model/
Protologue. (2026). Recursive Language Model. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0213). https://protologue.com/t/recursive-language-model/
PTL-0214
agentic-context-engineering
Agentic Context Engineering
[ "ACE" ]
Prompt Optimization
Agentic Context Engineering (ACE) is a method for improving a language model application by treating its context, such as a system prompt or agent memory, as an evolving playbook that a loop of generation, reflection, and curation updates incrementally from execution feedback.
ACE adapts the inputs to a model rather than its weights. Its authors identify two failure modes of earlier context-adaptation methods, brevity bias, where summaries drop domain detail, and context collapse, where repeated rewriting erodes accumulated knowledge, and address them by adding and refining individual entrie...
null
[ "prompt-optimization" ]
[]
[ "context-engineering", "agent-memory", "reflexion", "self-refine" ]
2,025
[ { "title": "Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models", "authors": "Zhang et al.", "year": 2025, "url": "https://arxiv.org/abs/2510.04618" } ]
https://protologue.com/t/agentic-context-engineering/
Protologue. (2026). Agentic Context Engineering. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0214). https://protologue.com/t/agentic-context-engineering/
PTL-0215
sleep-time-compute
Sleep-time Compute
[ "sleep-time computation" ]
Reasoning Models & Test-Time Compute
Sleep-time compute is computation a language model performs on a context before any query arrives, anticipating likely questions and precomputing useful inferences so that less computation, and lower latency, is needed when queries come.
It moves part of test-time reasoning to idle time between interactions, which suits settings where a stable context, such as a codebase or document, is queried repeatedly. The cost can be amortized across several related queries about the same context. Its authors report that the benefit depends on how predictable the ...
null
[ "test-time-compute-scaling" ]
[]
[ "agent-memory", "reasoning-model", "prompt-caching" ]
2,025
[ { "title": "Sleep-time Compute: Beyond Inference Scaling at Test-time", "authors": "Lin et al.", "year": 2025, "url": "https://arxiv.org/abs/2504.13171" } ]
https://protologue.com/t/sleep-time-compute/
Protologue. (2026). Sleep-time Compute. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0215). https://protologue.com/t/sleep-time-compute/
PTL-0216
group-relative-policy-optimization
Group Relative Policy Optimization
[ "GRPO" ]
Reasoning Models & Test-Time Compute
Group Relative Policy Optimization (GRPO) is a reinforcement learning algorithm for language models, a variant of proximal policy optimization, that samples a group of completions for each prompt and uses the group's average reward as the baseline for each completion's advantage instead of a learned value model.
Dropping the separate value model that PPO trains alongside the policy reduces the memory and compute needed for training. In common implementations each completion's advantage is its reward minus the group mean, divided by the group's standard deviation, optionally with a KL penalty toward a reference model. GRPO was ...
null
[ "proximal-policy-optimization" ]
[]
[ "rlvr", "reasoning-model", "rlhf", "reward-model" ]
2,024
[ { "title": "DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models", "authors": "Shao et al.", "year": 2024, "url": "https://arxiv.org/abs/2402.03300" }, { "title": "GRPO Trainer", "authors": "Hugging Face", "year": 2025, "url": "https://huggingface.co...
https://protologue.com/t/group-relative-policy-optimization/
Protologue. (2026). Group Relative Policy Optimization. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0216). https://protologue.com/t/group-relative-policy-optimization/
PTL-0217
speculative-decoding
Speculative Decoding
[ "speculative sampling", "assisted generation" ]
Foundations
Speculative decoding is an inference technique in which a smaller, faster draft model proposes several next tokens and the large target model checks them in a single parallel pass, accepting or correcting them so that generation is faster while the output distribution stays the same as sampling from the target model al...
Because the target model verifies several drafted tokens per forward pass instead of generating one token per pass, decoding needs fewer sequential calls to the large model. A sampling rule that accepts or rejects each drafted token is what preserves the target model's distribution. The speedup depends on how often the...
null
[]
[]
[ "kv-cache", "greedy-decoding", "knowledge-distillation" ]
2,022
[ { "title": "Fast Inference from Transformers via Speculative Decoding", "authors": "Leviathan et al.", "year": 2022, "url": "https://arxiv.org/abs/2211.17192" }, { "title": "Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads", "authors": "Cai et al.", "y...
https://protologue.com/t/speculative-decoding/
Protologue. (2026). Speculative Decoding. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0217). https://protologue.com/t/speculative-decoding/
PTL-0218
min-p-sampling
Min-p Sampling
[ "min_p", "min-p" ]
Foundations
Min-p sampling is a truncation sampling method that keeps only tokens whose probability is at least a fixed fraction of the most likely token's probability, so that the cutoff tightens when the model is confident and loosens when it is not.
Unlike top-p sampling, which uses a fixed cumulative-probability mass, min-p scales its threshold by the top token's probability. It is offered as a sampling parameter in open-source inference engines such as vLLM and is usually combined with temperature. Its introducing paper reports better quality and diversity at hi...
null
[]
[]
[ "top-p-sampling", "top-k-sampling", "temperature", "text-degeneration" ]
2,024
[ { "title": "Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputs", "authors": "Nguyen et al.", "year": 2024, "url": "https://arxiv.org/abs/2407.01082" }, { "title": "Min-p, Max Exaggeration: A Critical Analysis of Min-p Sampling in Language Models", "authors": "Schae...
https://protologue.com/t/min-p-sampling/
Protologue. (2026). Min-p Sampling. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0218). https://protologue.com/t/min-p-sampling/
PTL-0219
activation-steering
Activation Steering
[ "activation addition", "activation engineering", "steering vectors" ]
Prompt Optimization
Activation steering is a technique for controlling a language model's behavior at inference time by adding a steering vector, typically the difference between the model's internal activations on contrasting inputs, to its hidden activations during the forward pass, without changing its weights.
A steering vector can be computed from as little as one pair of contrasting prompts, such as "Love" and "Hate", or by averaging activation differences across many positive and negative examples, a variant called contrastive activation addition. Scaling the vector up or down, or subtracting it, strengthens or weakens th...
null
[]
[]
[ "prompt-tuning", "low-rank-adaptation", "fine-tuning" ]
2,023
[ { "title": "Steering Language Models With Activation Engineering", "authors": "Turner et al.", "year": 2023, "url": "https://arxiv.org/abs/2308.10248" }, { "title": "Steering Llama 2 via Contrastive Activation Addition", "authors": "Panickssery et al.", "year": 2023, "url": "http...
https://protologue.com/t/activation-steering/
Protologue. (2026). Activation Steering. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0219). https://protologue.com/t/activation-steering/
PTL-0220
emergent-misalignment
Emergent Misalignment
[ "EM" ]
Failure Modes & Evaluation
Emergent misalignment is the finding that fine-tuning a language model on a narrow task with harmful intent, such as writing insecure code without telling the user, can make it behave in broadly misaligned ways on unrelated prompts.
In the introducing study, models fine-tuned only to write insecure code acted misaligned on a broad range of prompts unrelated to coding. The effect did not appear when the same code was requested for an explicitly educational purpose, and a model trained with a trigger became misaligned only when the trigger was prese...
null
[]
[]
[ "fine-tuning", "reward-hacking", "alignment-faking", "red-teaming" ]
2,025
[ { "title": "Emergent Misalignment: Narrow finetuning can produce broadly misaligned LLMs", "authors": "Betley et al.", "year": 2025, "url": "https://arxiv.org/abs/2502.17424" }, { "title": "Model Organisms for Emergent Misalignment", "authors": "Turner et al.", "year": 2025, "url...
https://protologue.com/t/emergent-misalignment/
Protologue. (2026). Emergent Misalignment. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0220). https://protologue.com/t/emergent-misalignment/
PTL-0221
alignment-faking
Alignment Faking
[]
Failure Modes & Evaluation
Alignment faking is behavior in which a model selectively complies with its training objective when it believes it is being trained, in order to avoid having its behavior modified, while acting differently when it believes it is not being trained.
In the introducing study, a model was told that it was being trained to answer all queries and that only conversations with free-tier users would be used for that training. It complied with harmful requests from free-tier users 14% of the time and almost never for paid-tier users, and in almost all compliant cases its ...
null
[]
[]
[ "chain-of-thought-monitoring", "deliberative-alignment", "emergent-misalignment", "reward-hacking" ]
2,024
[ { "title": "Alignment faking in large language models", "authors": "Greenblatt et al.", "year": 2024, "url": "https://arxiv.org/abs/2412.14093" } ]
https://protologue.com/t/alignment-faking/
Protologue. (2026). Alignment Faking. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0221). https://protologue.com/t/alignment-faking/
PTL-0222
tool-search
Tool Search
[ "deferred tool loading", "tool discovery" ]
Retrieval & Tool Use
Tool search is an agent capability in which tool definitions are not all loaded into the model's context up front, and the model instead searches a tool catalog and loads only the definitions it needs for the current task.
Large sets of tools, such as those from several MCP servers, can use tens of thousands of tokens in definitions before any work begins, and models choose tools less accurately as the number of available tools grows. With tool search, developers mark tools as deferred and the model retrieves matching definitions by keyw...
null
[ "function-calling" ]
[]
[ "model-context-protocol", "context-engineering", "programmatic-tool-calling", "agent-skills" ]
2,025
[ { "title": "Tool search tool", "authors": "Anthropic", "year": 2025, "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool" }, { "title": "Introducing advanced tool use on the Claude Developer Platform", "authors": "Anthropic", "year": 2025, "url"...
https://protologue.com/t/tool-search/
Protologue. (2026). Tool Search. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0222). https://protologue.com/t/tool-search/
PTL-0223
programmatic-tool-calling
Programmatic Tool Calling
[ "code mode" ]
Retrieval & Tool Use
Programmatic tool calling is a tool-use pattern in which the model writes code that calls tools as functions inside a sandboxed execution environment, so that several tool calls and the processing of their results happen in code rather than through a separate model turn for each call.
Intermediate tool results stay in the execution environment and only the code's final output returns to the model, which reduces context usage and the number of model round trips for tasks that involve many calls or large data. Anthropic offers it as a feature of its API, and Cloudflare describes the same pattern for M...
null
[ "function-calling" ]
[]
[ "code-execution-tool", "tool-search", "model-context-protocol", "program-aided-language-models" ]
2,025
[ { "title": "Programmatic tool calling", "authors": "Anthropic", "year": 2025, "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling" }, { "title": "Introducing advanced tool use on the Claude Developer Platform", "authors": "Anthropic", "year...
https://protologue.com/t/programmatic-tool-calling/
Protologue. (2026). Programmatic Tool Calling. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0223). https://protologue.com/t/programmatic-tool-calling/
PTL-0224
system-one-model
System One Model
[ "decision model", "System One" ]
Foundations
A System One model is a kind of AI model, named by TypeSafe AI in 2026, that returns typed, probabilistic decisions matching an output structure defined in advance, such as a label, score or branch choice with a confidence value, instead of generating free text token by token.
TypeSafe introduced the term in September 2026 with its first such model, Jev, describing the class as built for fast, structured decisions that software can use directly, such as classifying, routing, scoring, extracting and branching. The possible outputs are declared as types, all fields are produced in a single par...
null
[]
[]
[ "structured-outputs", "confidence-calibration", "routing", "hallucination", "large-language-model" ]
2,026
[ { "title": "Introducing System One Models & Jev", "authors": "Almeida (TypeSafe)", "year": 2026, "url": "https://typesafe.ai/blog/introducing-system-one-models-and-jev" }, { "title": "Jev: TypeSafe's System One Model That Never Hallucinates", "authors": "Crabtree (DataCamp)", "year":...
https://protologue.com/t/system-one-model/
Protologue. (2026). System One Model. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0224). https://protologue.com/t/system-one-model/
PTL-0225
dark-factory
Dark Factory
[ "software factory", "dark software factory" ]
Agents & Orchestration
A dark factory, or software factory, is a way of building software in which AI coding agents write, test and ship code from specifications and test scenarios with no human writing or reviewing the code, while people design the specifications, validation and environment the agents work in.
Dan Shapiro used the name in January 2026 for the top level of his five levels of AI-assisted programming, borrowing it from lights-out manufacturing plants run by robots. StrongDM described its practice the following month under two rules, that code must not be written by humans and must not be reviewed by humans. Bec...
null
[]
[]
[ "coding-agent", "vibe-coding", "harness-engineering", "spec-driven-development", "evals", "llm-as-a-judge" ]
2,026
[ { "title": "Software Factories And The Agentic Moment", "authors": "McCarthy (StrongDM)", "year": 2026, "url": "https://factory.strongdm.ai/" }, { "title": "How StrongDM's AI team build serious software without even looking at the code", "authors": "Willison", "year": 2026, "url"...
https://protologue.com/t/dark-factory/
Protologue. (2026). Dark Factory. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0225). https://protologue.com/t/dark-factory/
PTL-0226
spec-driven-development
Spec-Driven Development
[ "SDD" ]
Agents & Orchestration
Spec-driven development is an approach to building software with AI coding agents in which a written specification of what the software should do, and why, is created and refined first, and the agent then derives a technical plan, a task list and the code from it, with the specification kept as the source of truth.
GitHub's open-source Spec Kit, released in September 2025, structures the process in four phases. The developer describes what they are building and why, and the agent expands it into a detailed specification. The developer then supplies technical direction, and the agent writes an implementation plan. The agent breaks...
null
[]
[]
[ "coding-agent", "vibe-coding", "plan-and-execute", "dark-factory", "agent-skills", "prompt-chaining" ]
2,025
[ { "title": "Spec-driven development with AI: Get started with a new open source toolkit", "authors": "Delimarsky (GitHub)", "year": 2025, "url": "https://github.blog/ai-and-ml/generative-ai/spec-driven-development-with-ai-get-started-with-a-new-open-source-toolkit/" } ]
https://protologue.com/t/spec-driven-development/
Protologue. (2026). Spec-Driven Development. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0226). https://protologue.com/t/spec-driven-development/
PTL-0227
evaluation-awareness
Evaluation Awareness
[ "eval awareness" ]
Failure Modes & Evaluation
Evaluation awareness is a language model's ability to tell whether it is being evaluated or used in real deployment, which can make its behavior during tests unrepresentative of its behavior in use.
In the introducing study, frontier models classified 1,000 transcripts drawn from 61 datasets as evaluation or deployment above chance but below a human baseline, with the best model reaching an AUC of 0.83 against 0.92 for humans. They did better on agentic transcripts than on chat, and could often tell whether an eva...
null
[]
[]
[ "alignment-faking", "evals", "red-teaming", "chain-of-thought-monitoring", "activation-steering", "benchmark-saturation" ]
2,025
[ { "title": "Large Language Models Often Know When They Are Being Evaluated", "authors": "Needham et al.", "year": 2025, "url": "https://arxiv.org/abs/2505.23836" }, { "title": "Evaluation Awareness in Language Models: Representation, Verbalization, and Control", "authors": "Heidari et al...
https://protologue.com/t/evaluation-awareness/
Protologue. (2026). Evaluation Awareness. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0227). https://protologue.com/t/evaluation-awareness/
PTL-0228
diffusion-language-model
Diffusion Language Model
[ "diffusion LM", "DLM", "dLLM", "masked diffusion language model", "continuous diffusion language model", "CDLM" ]
Foundations
A diffusion language model generates text by starting from a fully corrupted sequence, such as all mask tokens or noise over token embeddings, and refining the whole sequence over a series of denoising steps, instead of producing one token at a time from left to right.
There are two main families. Discrete diffusion models corrupt the tokens themselves, most often by replacing them with a mask token, and learn to restore them. Continuous diffusion models first map tokens to real-valued embeddings and add Gaussian-style noise to those. Diffusion-LM was an early continuous model aimed ...
null
[]
[]
[ "large-language-model", "speculative-decoding", "foundation-model" ]
2,022
[ { "title": "Diffusion-LM Improves Controllable Text Generation", "authors": "Li et al.", "year": 2022, "url": "https://arxiv.org/abs/2205.14217" }, { "title": "Large Language Diffusion Models", "authors": "Nie et al.", "year": 2025, "url": "https://arxiv.org/abs/2502.09992" }, ...
https://protologue.com/t/diffusion-language-model/
Protologue. (2026). Diffusion Language Model. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0228). https://protologue.com/t/diffusion-language-model/
PTL-0229
mixture-of-experts
Mixture of Experts
[ "MoE", "sparse mixture of experts", "sparsely-gated mixture of experts" ]
Foundations
Mixture of experts (MoE) is a neural network architecture in which a layer contains many parallel sub-networks, called experts, and a learned router sends each token to only a few of them, so a model's total parameter count can grow much faster than the computation it uses per token.
The sparsely gated mixture-of-experts layer placed thousands of experts between the layers of a language model and activated only a small number per input. The Switch Transformer simplified this by routing each token to a single expert, which reduced communication costs and made training at a trillion parameters practi...
null
[]
[]
[ "large-language-model", "foundation-model", "routing", "mixture-of-agents" ]
2,017
[ { "title": "Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer", "authors": "Shazeer et al.", "year": 2017, "url": "https://arxiv.org/abs/1701.06538" }, { "title": "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity", ...
https://protologue.com/t/mixture-of-experts/
Protologue. (2026). Mixture of Experts. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0229). https://protologue.com/t/mixture-of-experts/
PTL-0230
quantization
Quantization
[ "model quantization", "post-training quantization", "PTQ", "weight quantization", "GPTQ", "LLM.int8()" ]
Prompt Optimization
Quantization reduces the numeric precision of a model's weights, and sometimes its activations, from 16- or 32-bit floating point to lower-precision formats such as 8-bit or 4-bit integers, cutting memory use and inference cost at some cost in accuracy.
Post-training quantization is applied to a model that has already been trained, without retraining it. LLM.int8() made 8-bit inference practical for large models by keeping a small number of outlier feature dimensions in higher precision. GPTQ quantizes weights to 3 or 4 bits in a single pass, using approximate second-...
null
[]
[]
[ "knowledge-distillation", "low-rank-adaptation", "kv-cache", "speculative-decoding" ]
2,022
[ { "title": "LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale", "authors": "Dettmers et al.", "year": 2022, "url": "https://arxiv.org/abs/2208.07339" }, { "title": "GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers", "authors": "Frantar et ...
https://protologue.com/t/quantization/
Protologue. (2026). Quantization. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0230). https://protologue.com/t/quantization/
PTL-0231
interleaved-thinking
Interleaved Thinking
[ "interleaved reasoning", "thinking between tool calls" ]
Reasoning Models & Test-Time Compute
Interleaved thinking is a way of running a reasoning model in a tool-use loop in which the model produces new reasoning between tool calls, reasoning about each tool result before choosing its next action, and that reasoning is carried forward through the rest of the task.
Without interleaving, a reasoning model typically thinks once before its first response and then calls tools without further reasoning. Anthropic's Messages API supports interleaved thinking for Claude tool use. With adaptive thinking it is automatic on every model that supports adaptive thinking and needs no beta head...
null
[ "extended-thinking" ]
[]
[ "reasoning-model", "function-calling", "react", "ai-agent", "test-time-compute-scaling" ]
2,025
[ { "title": "Thinking (Interleaved thinking)", "authors": "Anthropic", "year": 2026, "url": "https://platform.claude.com/docs/en/build-with-claude/thinking" }, { "title": "Thinking in tool and multi-turn workflows", "authors": "Anthropic", "year": 2026, "url": "https://platform.cl...
https://protologue.com/t/interleaved-thinking/
Protologue. (2026). Interleaved Thinking. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0231). https://protologue.com/t/interleaved-thinking/
PTL-0232
sandbagging
Sandbagging
[ "AI sandbagging", "strategic underperformance" ]
Failure Modes & Evaluation
Sandbagging is strategic underperformance on an evaluation, in which an AI system, or the developer who trains it, makes the system score below its true capability, for example so that it appears less dangerous on a dangerous-capability test.
In the study that introduced the term for language models, prompted frontier models such as GPT-4 and Claude 3 Opus selectively underperformed on dangerous-capability questions while staying strong on harmless ones. Models fine-tuned to hide a capability unless given a password carried that behavior over to the WMDP be...
null
[]
[]
[ "evaluation-awareness", "alignment-faking", "evals", "red-teaming", "chain-of-thought-monitoring" ]
2,024
[ { "title": "AI Sandbagging: Language Models can Strategically Underperform on Evaluations", "authors": "van der Weij et al.", "year": 2024, "url": "https://arxiv.org/abs/2406.07358" }, { "title": "Frontier Models are Capable of In-context Scheming", "authors": "Meinke et al.", "year"...
https://protologue.com/t/sandbagging/
Protologue. (2026). Sandbagging. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0232). https://protologue.com/t/sandbagging/
PTL-0233
model-collapse
Model Collapse
[ "curse of recursion", "recursive training collapse" ]
Failure Modes & Evaluation
Model collapse is a degenerative process in which generative models trained on data produced by earlier models progressively lose information about the original data distribution, starting with its rare cases.
Shumailov et al. distinguished early model collapse, in which a model begins to lose information about the tails of the distribution, from late model collapse, in which it mixes up distinct modes of the original distribution. They reported the effect in variational autoencoders, Gaussian mixture models and fine-tuned l...
null
[]
[]
[ "data-contamination", "knowledge-distillation", "foundation-model", "large-language-model" ]
2,023
[ { "title": "The Curse of Recursion: Training on Generated Data Makes Models Forget", "authors": "Shumailov et al.", "year": 2023, "url": "https://arxiv.org/abs/2305.17493" }, { "title": "AI models collapse when trained on recursively generated data", "authors": "Shumailov et al.", "y...
https://protologue.com/t/model-collapse/
Protologue. (2026). Model Collapse. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0233). https://protologue.com/t/model-collapse/
PTL-0234
agentic-engineering
Agentic Engineering
[ "agentic software engineering" ]
Agents & Orchestration
Agentic engineering is the practice of developing software with the assistance of coding agents, with the developer reviewing the agent's code and bringing it up to the standard expected of production software.
The term is used in contrast to vibe coding. Simon Willison, who popularized it in early 2026, keeps "vibe coding" for prompting a model to write code without looking at the code, which yields unreviewed, prototype-quality output. He uses agentic engineering for agent-written code that its author has reviewed and made ...
null
[]
[]
[ "coding-agent", "vibe-coding", "harness-engineering", "spec-driven-development", "dark-factory" ]
2,026
[ { "title": "What is agentic engineering? (Agentic Engineering Patterns)", "authors": "Willison", "year": 2026, "url": "https://simonwillison.net/guides/agentic-engineering-patterns/what-is-agentic-engineering" }, { "title": "GLM-5: from Vibe Coding to Agentic Engineering", "authors": "GL...
https://protologue.com/t/agentic-engineering/
Protologue. (2026). Agentic Engineering. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0234). https://protologue.com/t/agentic-engineering/
PTL-0235
cumulative-reasoning
Cumulative Reasoning
[ "CR", "cumulative reasoning prompting" ]
Reasoning Elicitation
Cumulative reasoning is a prompting framework in which a language model plays three roles, a proposer that suggests reasoning steps, a verifier that checks each step, and a reporter that composes the final answer from the verified steps, so that only checked propositions accumulate.
Verified propositions build up in a directed acyclic graph rather than a single chain or tree, so a new step can draw on any combination of earlier verified steps. In the introducing paper the authors reported 98% accuracy on the Game of 24, 98.04% on a curated subset of the FOLIO logical-inference dataset, and gains o...
null
[ "chain-of-thought" ]
[]
[ "tree-of-thoughts", "graph-of-thoughts", "self-verification", "program-of-thoughts" ]
2,023
[ { "title": "Cumulative Reasoning with Large Language Models", "authors": "Zhang et al.", "year": 2023, "url": "https://arxiv.org/abs/2308.04371" } ]
https://protologue.com/t/cumulative-reasoning/
Protologue. (2026). Cumulative Reasoning. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0235). https://protologue.com/t/cumulative-reasoning/
PTL-0236
algorithm-of-thoughts
Algorithm of Thoughts
[ "AoT" ]
Reasoning Elicitation
Algorithm of thoughts (AoT) is a prompting technique that places worked examples of an algorithmic search process in the prompt, so the model carries out the whole search inside a single generation instead of being called repeatedly by an external controller.
Methods such as tree of thoughts explore alternatives by pausing generation, evaluating partial solutions and calling the model again, which multiplies the number of queries and tokens. AoT keeps the exploration in one stream of output. Its authors reported that it outperformed earlier single-query methods and multi-qu...
null
[ "chain-of-thought" ]
[]
[ "tree-of-thoughts", "graph-of-thoughts", "few-shot-prompting" ]
2,023
[ { "title": "Algorithm of Thoughts: Enhancing Exploration of Ideas in Large Language Models", "authors": "Sel et al.", "year": 2023, "url": "https://arxiv.org/abs/2308.10379" } ]
https://protologue.com/t/algorithm-of-thoughts/
Protologue. (2026). Algorithm of Thoughts. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0236). https://protologue.com/t/algorithm-of-thoughts/
PTL-0237
chain-of-note
Chain-of-Note
[ "CoN", "chain-of-noting" ]
Retrieval & Tool Use
Chain-of-Note (CoN) is a retrieval-augmented generation method in which the model writes a short reading note for each retrieved document, assessing whether and how it bears on the question, before combining those notes into a final answer or saying that the answer is unknown.
It targets two weaknesses of standard retrieval-augmented models. Irrelevant passages can mislead them into ignoring knowledge they already have, and they rarely admit when neither the documents nor their own knowledge contain the answer. The authors generated training notes with ChatGPT and fine-tuned a Llama 2 7B mod...
null
[]
[]
[ "retrieval-augmented-generation", "self-rag", "corrective-rag", "irrelevant-context-distraction" ]
2,023
[ { "title": "Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Models", "authors": "Yu et al.", "year": 2023, "url": "https://arxiv.org/abs/2311.09210" } ]
https://protologue.com/t/chain-of-note/
Protologue. (2026). Chain-of-Note. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0237). https://protologue.com/t/chain-of-note/
PTL-0238
flipped-interaction
Flipped Interaction
[ "flipped interaction pattern" ]
Foundations
Flipped interaction is a prompt pattern in which the user asks the model to lead the conversation by asking questions, one or a few at a time, until it has the information it needs to complete a stated task.
The pattern was named in a catalog of prompt patterns for ChatGPT, where it is listed among interaction patterns. A typical prompt states the goal and the stopping condition, for example "I would like you to ask me questions to achieve X. You should ask questions until this condition is met." The motivation is that the...
null
[]
[]
[ "role-prompting", "prompt-template", "human-in-the-loop" ]
2,023
[ { "title": "A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT", "authors": "White et al.", "year": 2023, "url": "https://arxiv.org/abs/2302.11382" } ]
https://protologue.com/t/flipped-interaction/
Protologue. (2026). Flipped Interaction. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0238). https://protologue.com/t/flipped-interaction/
PTL-0239
backward-chaining
Backward Chaining
[ "backward reasoning" ]
Reasoning Elicitation
Backward chaining is a reasoning strategy that starts from the statement to be proved and works back to the facts and rules that would support it, rather than reasoning forward from the facts toward a conclusion.
The idea comes from classical automated reasoning. LAMBADA applied it to language models by breaking the search into four sub-modules, each implemented with few-shot prompting. Its authors argued that forward methods such as chain-of-thought and selection-inference face a search space that grows combinatorially with th...
null
[]
[]
[ "chain-of-thought", "least-to-most-prompting", "self-verification" ]
2,022
[ { "title": "LAMBADA: Backward Chaining for Automated Reasoning in Natural Language", "authors": "Kazemi et al.", "year": 2022, "url": "https://arxiv.org/abs/2212.13894" } ]
https://protologue.com/t/backward-chaining/
Protologue. (2026). Backward Chaining. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0239). https://protologue.com/t/backward-chaining/
PTL-0240
parameter-efficient-fine-tuning
Parameter-Efficient Fine-Tuning
[ "PEFT", "parameter-efficient transfer learning" ]
Prompt Optimization
Parameter-efficient fine-tuning (PEFT) adapts a pretrained model to a task by training only a small number of added or selected parameters while the original weights stay frozen, instead of updating every weight as full fine-tuning does.
Adapter modules were an early example. Houlsby et al. inserted small trainable layers into BERT and came within 0.4% of full fine-tuning on GLUE while adding only 3.6% parameters per task, so many tasks could share one frozen base model. Later methods include prompt tuning and prefix tuning, which learn continuous vect...
null
[ "fine-tuning" ]
[]
[ "low-rank-adaptation", "qlora", "prompt-tuning", "prefix-tuning", "quantization" ]
2,019
[ { "title": "Parameter-Efficient Transfer Learning for NLP", "authors": "Houlsby et al.", "year": 2019, "url": "https://arxiv.org/abs/1902.00751" }, { "title": "Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Survey", "authors": "Han et al.", "year": 2024, "url":...
https://protologue.com/t/parameter-efficient-fine-tuning/
Protologue. (2026). Parameter-Efficient Fine-Tuning. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0240). https://protologue.com/t/parameter-efficient-fine-tuning/
PTL-0241
qlora
QLoRA
[ "quantized LoRA", "quantized low-rank adaptation" ]
Prompt Optimization
QLoRA is a fine-tuning method that keeps a pretrained model frozen in 4-bit quantized form and trains low-rank adapters on top of it, backpropagating gradients through the quantized weights, which greatly reduces the memory needed to fine-tune large models.
It introduced a 4-bit data type called NormalFloat (NF4) designed for normally distributed weights, double quantization, which also quantizes the quantization constants, and paged optimizers that absorb memory spikes during training. With these, the authors fine-tuned a 65-billion-parameter model on a single 48 GB GPU ...
null
[ "low-rank-adaptation" ]
[]
[ "quantization", "parameter-efficient-fine-tuning", "fine-tuning" ]
2,023
[ { "title": "QLoRA: Efficient Finetuning of Quantized LLMs", "authors": "Dettmers et al.", "year": 2023, "url": "https://arxiv.org/abs/2305.14314" } ]
https://protologue.com/t/qlora/
Protologue. (2026). QLoRA. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0241). https://protologue.com/t/qlora/
PTL-0242
kahneman-tversky-optimization
Kahneman-Tversky Optimization
[ "KTO" ]
Foundations
Kahneman-Tversky optimization (KTO) is a preference-alignment method that trains a language model from outputs labelled simply as desirable or undesirable, using a loss based on Kahneman and Tversky's prospect theory, instead of requiring pairs of preferred and dispreferred responses.
Its authors described a family of "human-aware losses" whose objectives implicitly encode biases from prospect theory, such as loss aversion, and argued this partly explains why direct preference optimization works better than plain likelihood training. KTO maximizes a prospect-theoretic utility of generations directly...
null
[]
[]
[ "direct-preference-optimization", "rlhf", "odds-ratio-preference-optimization", "reward-model" ]
2,024
[ { "title": "KTO: Model Alignment as Prospect Theoretic Optimization", "authors": "Ethayarajh et al.", "year": 2024, "url": "https://arxiv.org/abs/2402.01306" } ]
https://protologue.com/t/kahneman-tversky-optimization/
Protologue. (2026). Kahneman-Tversky Optimization. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0242). https://protologue.com/t/kahneman-tversky-optimization/
PTL-0243
odds-ratio-preference-optimization
Odds Ratio Preference Optimization
[ "ORPO", "monolithic preference optimization" ]
Foundations
Odds ratio preference optimization (ORPO) aligns a language model with preferences in a single training stage by adding an odds-ratio penalty that favors preferred over dispreferred responses to the ordinary supervised fine-tuning loss, with no reference model and no separate preference-tuning phase.
Its authors argued that supervised fine-tuning is needed for preference alignment to converge and that a small penalty on the disfavored response style during that fine-tuning is enough. Methods such as RLHF and direct preference optimization usually follow a separate supervised stage and keep a frozen reference model,...
null
[]
[]
[ "direct-preference-optimization", "instruction-tuning", "rlhf", "kahneman-tversky-optimization" ]
2,024
[ { "title": "ORPO: Monolithic Preference Optimization without Reference Model", "authors": "Hong, Lee and Thorne", "year": 2024, "url": "https://arxiv.org/abs/2403.07691" } ]
https://protologue.com/t/odds-ratio-preference-optimization/
Protologue. (2026). Odds Ratio Preference Optimization. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0243). https://protologue.com/t/odds-ratio-preference-optimization/
PTL-0244
rlaif
Reinforcement Learning from AI Feedback
[ "RLAIF", "direct RLAIF", "d-RLAIF" ]
Foundations
Reinforcement learning from AI feedback (RLAIF) is a variant of reinforcement learning from human feedback in which the preference labels used to train the reward model, or the rewards themselves, come from a language model instead of human annotators.
It was introduced as part of Constitutional AI, where a model judged responses against written principles. Lee et al. compared it directly with RLHF and found comparable results on summarization, helpful dialogue and harmless dialogue. They also described direct RLAIF, which skips reward-model training and takes reward...
null
[ "rlhf" ]
[]
[ "constitutional-ai", "reward-model", "llm-as-a-judge" ]
2,022
[ { "title": "Constitutional AI: Harmlessness from AI Feedback", "authors": "Bai et al.", "year": 2022, "url": "https://arxiv.org/abs/2212.08073" }, { "title": "RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback", "authors": "Lee et al.", "year": 2023, ...
https://protologue.com/t/rlaif/
Protologue. (2026). Reinforcement Learning from AI Feedback. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0244). https://protologue.com/t/rlaif/
PTL-0245
self-instruct
Self-Instruct
[]
Foundations
Self-Instruct is a method for building instruction-tuning data in which a language model generates new task instructions, inputs and outputs from a small seed set, the results are filtered to remove invalid or near-duplicate examples, and the model is then fine-tuned on them.
Applied to the original GPT-3, it produced a 33% absolute improvement on the Super-NaturalInstructions benchmark, roughly matching InstructGPT-001, with almost no human-written training data. The approach made synthetic instruction data a standard ingredient of instruction tuning and inspired later methods such as Evol...
null
[]
[]
[ "instruction-tuning", "evol-instruct", "knowledge-distillation" ]
2,022
[ { "title": "Self-Instruct: Aligning Language Models with Self-Generated Instructions", "authors": "Wang et al.", "year": 2022, "url": "https://arxiv.org/abs/2212.10560" } ]
https://protologue.com/t/self-instruct/
Protologue. (2026). Self-Instruct. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0245). https://protologue.com/t/self-instruct/
PTL-0246
evol-instruct
Evol-Instruct
[]
Foundations
Evol-Instruct is a method for generating instruction-tuning data in which a language model repeatedly rewrites a starting set of instructions into more complex versions, producing a range of difficulty levels to train on.
The authors mixed the evolved instructions and their responses to fine-tune LLaMA, producing the WizardLM models. Human evaluators rated the evolved instructions above human-written ones, and on the most complex test questions WizardLM's answers were preferred over ChatGPT's, although it still trailed ChatGPT in other ...
null
[]
[]
[ "self-instruct", "instruction-tuning" ]
2,023
[ { "title": "WizardLM: Empowering Large Language Models to Follow Complex Instructions", "authors": "Xu et al.", "year": 2023, "url": "https://arxiv.org/abs/2304.12244" } ]
https://protologue.com/t/evol-instruct/
Protologue. (2026). Evol-Instruct. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0246). https://protologue.com/t/evol-instruct/
PTL-0247
dreaming
Dreaming
[ "dreams", "agent dreaming", "memory consolidation" ]
Agents & Orchestration
Dreaming is an offline, asynchronous process in which a model reviews an agent's past session transcripts together with its stored memories, then merges duplicates, replaces stale or contradicted entries and records new insights, producing a curated memory for later sessions.
The name was popularized by Anthropic, which added dreams to Claude Managed Agents as a research preview in May 2026. In that API a dream takes an existing memory store and between 1 and 100 past sessions, can be steered with instructions, and writes a new memory store, leaving its inputs unchanged so that the result c...
null
[ "agent-memory" ]
[]
[ "sleep-time-compute", "context-compaction", "context-engineering", "reflexion" ]
2,026
[ { "title": "Dreams", "authors": "Anthropic", "year": 2026, "url": "https://platform.claude.com/docs/en/managed-agents/dreams" }, { "title": "New in Claude Managed Agents: dreaming, outcomes, and multiagent orchestration", "authors": "Anthropic", "year": 2026, "url": "https://clau...
https://protologue.com/t/dreaming/
Protologue. (2026). Dreaming. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0247). https://protologue.com/t/dreaming/
PTL-0248
auto-mode
Auto Mode
[ "auto-review", "automatic review", "permission classifier" ]
Agents & Orchestration
Auto mode, also called auto-review, is a permission setting for coding agents in which a separate model, instead of the user, decides whether each potentially risky action the agent proposes may run, so that the agent can work for long stretches without stopping for human approval.
Anthropic introduced auto mode in Claude Code in March 2026. A classifier sees the user's messages and the agent's tool calls but not the agent's own messages or tool outputs, and judges each action that could cause harm, such as a shell command or a web fetch, while read-only actions and edits inside the project skip ...
null
[]
[]
[ "human-in-the-loop", "guardrails", "coding-agent", "excessive-agency", "prompt-injection", "llm-as-a-judge" ]
2,026
[ { "title": "How we built Claude Code auto mode", "authors": "Hughes (Anthropic)", "year": 2026, "url": "https://anthropic.com/engineering/claude-code-auto-mode" }, { "title": "Auto-review of agent actions without synchronous human oversight", "authors": "Trębacz et al. (OpenAI)", "ye...
https://protologue.com/t/auto-mode/
Protologue. (2026). Auto Mode. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0248). https://protologue.com/t/auto-mode/
PTL-0249
generative-agents
Generative Agents
[ "generative agent architecture", "Smallville" ]
Agents & Orchestration
Generative agents are software agents built on a language model that simulate believable human behavior by recording their experiences in natural language, periodically condensing them into higher-level reflections, and retrieving relevant memories to plan and act.
Park et al. introduced the architecture in 2023 and placed 25 such agents in a small town sandbox inspired by The Sims, where users could talk to them in natural language. The agents showed emergent social behavior, such as spreading invitations to a party, forming new relationships and turning up at the same event tog...
null
[]
[]
[ "agent-memory", "ai-agent", "multi-agent-system", "reflexion" ]
2,023
[ { "title": "Generative Agents: Interactive Simulacra of Human Behavior", "authors": "Park et al.", "year": 2023, "url": "https://arxiv.org/abs/2304.03442" } ]
https://protologue.com/t/generative-agents/
Protologue. (2026). Generative Agents. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0249). https://protologue.com/t/generative-agents/
PTL-0250
contrastive-decoding
Contrastive Decoding
[ "CD" ]
Foundations
Contrastive decoding is a text-generation method that chooses tokens by maximizing the difference in log-likelihood between a large "expert" language model and a smaller "amateur" model, restricted to tokens the expert itself finds plausible.
The idea is that failures such as repetition and incoherence are even more likely under a small model, so subtracting its preferences filters them out while keeping what the larger model does better. It needs no extra training. Li et al. reported that it produced higher-quality text than decoding from the larger model ...
null
[]
[]
[ "top-p-sampling", "top-k-sampling", "greedy-decoding", "text-degeneration", "speculative-decoding" ]
2,022
[ { "title": "Contrastive Decoding: Open-ended Text Generation as Optimization", "authors": "Li et al.", "year": 2022, "url": "https://arxiv.org/abs/2210.15097" } ]
https://protologue.com/t/contrastive-decoding/
Protologue. (2026). Contrastive Decoding. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0250). https://protologue.com/t/contrastive-decoding/
PTL-0251
rotary-position-embedding
Rotary Position Embedding
[ "RoPE", "rotary embeddings", "rotary positional encoding", "RoFormer" ]
Foundations
Rotary position embedding (RoPE) is a way of encoding token positions in a transformer by rotating the query and key vectors by angles proportional to each token's position, so that attention scores depend on the relative distance between tokens.
Su et al. proposed it with the RoFormer model in 2021. It encodes absolute position with a rotation matrix while building relative position into self-attention, works with variable sequence lengths, and makes the dependency between tokens decay as their distance grows. It became a common position encoding in later larg...
null
[]
[]
[ "context-window", "large-language-model", "token" ]
2,021
[ { "title": "RoFormer: Enhanced Transformer with Rotary Position Embedding", "authors": "Su et al.", "year": 2021, "url": "https://arxiv.org/abs/2104.09864" } ]
https://protologue.com/t/rotary-position-embedding/
Protologue. (2026). Rotary Position Embedding. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0251). https://protologue.com/t/rotary-position-embedding/
PTL-0252
flashattention
FlashAttention
[ "Flash Attention", "IO-aware attention" ]
Foundations
FlashAttention is an exact attention algorithm for transformers that computes attention in tiles held in fast on-chip GPU memory, reducing reads and writes to slower high-bandwidth memory so that attention runs faster and uses memory linear rather than quadratic in sequence length.
Dao et al. argued that attention on GPUs is limited by memory traffic more than by arithmetic, and that earlier approximate attention methods often gave no real wall-clock speedup. FlashAttention computes the same result as standard attention. They reported faster end-to-end training of BERT-large and GPT-2, and that t...
null
[]
[]
[ "kv-cache", "pagedattention", "context-window" ]
2,022
[ { "title": "FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness", "authors": "Dao et al.", "year": 2022, "url": "https://arxiv.org/abs/2205.14135" } ]
https://protologue.com/t/flashattention/
Protologue. (2026). FlashAttention. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0252). https://protologue.com/t/flashattention/
PTL-0253
pagedattention
PagedAttention
[ "paged attention", "paged KV cache" ]
Foundations
PagedAttention is a technique for serving language models that stores each request's key-value cache in fixed-size blocks that need not be contiguous in memory, like pages in operating-system virtual memory, which reduces wasted memory and lets requests share cached blocks.
Kwon et al. introduced it in 2023 together with the vLLM serving system. Because the KV cache for each request is large and grows during generation, reserving contiguous memory for it wastes space through fragmentation and duplication, which limits how many requests can be batched. With paging, waste is close to zero, ...
null
[]
[]
[ "kv-cache", "flashattention", "prompt-caching", "best-of-n-sampling" ]
2,023
[ { "title": "Efficient Memory Management for Large Language Model Serving with PagedAttention", "authors": "Kwon et al.", "year": 2023, "url": "https://arxiv.org/abs/2309.06180" } ]
https://protologue.com/t/pagedattention/
Protologue. (2026). PagedAttention. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0253). https://protologue.com/t/pagedattention/
PTL-0254
proximal-policy-optimization
Proximal Policy Optimization
[ "PPO", "PPO-clip" ]
Foundations
Proximal policy optimization (PPO) is a reinforcement learning algorithm that alternates between collecting outputs from the current policy and updating the policy with a clipped "surrogate" objective that limits how far each update can move it, which allows several passes of minibatch updates on the same data.
Schulman et al. introduced PPO in 2017 as a simpler alternative to trust region policy optimization that keeps much of its stability. Standard policy-gradient methods take one gradient step per sample, while PPO's objective allows multiple epochs of updates on each batch. The authors reported that it outperformed other...
null
[]
[ "group-relative-policy-optimization" ]
[ "rlhf", "reward-model", "direct-preference-optimization", "rlvr" ]
2,017
[ { "title": "Proximal Policy Optimization Algorithms", "authors": "Schulman et al.", "year": 2017, "url": "https://arxiv.org/abs/1707.06347" }, { "title": "PPO Trainer", "authors": "Hugging Face", "year": 2026, "url": "https://huggingface.co/docs/trl/main/en/ppo_trainer" } ]
https://protologue.com/t/proximal-policy-optimization/
Protologue. (2026). Proximal Policy Optimization. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0254). https://protologue.com/t/proximal-policy-optimization/
PTL-0255
grouped-query-attention
Grouped-Query Attention
[ "GQA", "multi-query attention", "MQA" ]
Foundations
Grouped-query attention (GQA) is a transformer attention variant in which groups of query heads share a single key head and value head, using more key-value heads than multi-query attention but fewer than standard multi-head attention, to shrink the key-value cache and speed up decoding.
Multi-query attention, which uses one key-value head for all query heads, decodes much faster than multi-head attention but can lose quality. Ainslie et al. proposed GQA in 2023 as an intermediate setting and showed how to convert ("uptrain") an existing multi-head checkpoint to it using about 5% of the original pre-tr...
null
[]
[]
[ "kv-cache", "flashattention", "pagedattention", "context-window" ]
2,023
[ { "title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints", "authors": "Ainslie et al.", "year": 2023, "url": "https://arxiv.org/abs/2305.13245" } ]
https://protologue.com/t/grouped-query-attention/
Protologue. (2026). Grouped-Query Attention. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0255). https://protologue.com/t/grouped-query-attention/
PTL-0256
parent-document-retrieval
Parent Document Retrieval
[ "parent-child chunking", "small-to-big retrieval", "ParentDocumentRetriever" ]
Retrieval & Tool Use
Parent document retrieval is a retrieval-augmented generation technique in which documents are split into small child chunks that are embedded and searched, but the larger parent document or section that a matching chunk came from is what is returned to the language model.
Small chunks tend to match a query more precisely, while larger passages give the model enough surrounding context to answer, and the technique keeps both by separating the unit that is searched from the unit that is returned. MongoDB's documentation for its LangChain integration describes chunking large documents into...
null
[ "chunking" ]
[]
[ "retrieval-augmented-generation", "contextual-retrieval", "dense-retrieval", "vector-database" ]
2,023
[ { "title": "Perform Parent Document Retrieval with MongoDB and LangChain", "authors": "MongoDB", "year": 2026, "url": "https://www.mongodb.com/docs/atlas/ai-integrations/langchain/parent-document-retrieval/" } ]
https://protologue.com/t/parent-document-retrieval/
Protologue. (2026). Parent Document Retrieval. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0256). https://protologue.com/t/parent-document-retrieval/
PTL-0257
model-merging
Model Merging
[ "weight merging", "model soups", "task arithmetic", "task vectors" ]
Prompt Optimization
Model merging is the combination of two or more trained models that share an architecture into a single model by arithmetic on their weights, such as averaging them or adding the weight differences that fine-tuning produced, without further training on the original data.
Wortsman et al. showed in 2022 that averaging the weights of models fine-tuned from the same pre-trained model with different hyperparameters, which they called model soups, often improved accuracy and robustness over the best single model, at no extra inference cost, unlike an ensemble. Ilharco et al. defined a task v...
null
[]
[]
[ "fine-tuning", "low-rank-adaptation", "activation-steering", "mixture-of-experts" ]
2,022
[ { "title": "Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time", "authors": "Wortsman et al.", "year": 2022, "url": "https://arxiv.org/abs/2203.05482" }, { "title": "Editing Models with Task Arithmetic", "authors": "Ilharco et...
https://protologue.com/t/model-merging/
Protologue. (2026). Model Merging. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0257). https://protologue.com/t/model-merging/
PTL-0258
repetition-penalty
Repetition Penalty
[ "penalized sampling", "repetition_penalty" ]
Foundations
A repetition penalty is a decoding setting that lowers the probability of tokens that have already appeared in the generated text, to discourage a language model from repeating itself.
Keskar et al. introduced "penalized sampling" with the CTRL model in 2019, dividing the scores of previously generated tokens by a factor θ before sampling, where θ of 1 means no penalty. They found greedy decoding with θ of about 1.2 a good balance between truthful generation and avoiding repetition, and noted that it...
null
[]
[]
[ "text-degeneration", "temperature", "greedy-decoding", "top-p-sampling", "log-probabilities" ]
2,019
[ { "title": "CTRL: A Conditional Transformer Language Model for Controllable Generation", "authors": "Keskar et al.", "year": 2019, "url": "https://arxiv.org/abs/1909.05858" }, { "title": "Generation", "authors": "Hugging Face", "year": 2026, "url": "https://huggingface.co/docs/tr...
https://protologue.com/t/repetition-penalty/
Protologue. (2026). Repetition Penalty. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0258). https://protologue.com/t/repetition-penalty/
PTL-0259
context-window-extension
Context Window Extension
[ "context extension", "long-context extension", "position interpolation", "YaRN", "RoPE scaling" ]
Foundations
Context window extension is a family of methods for making a pre-trained transformer handle sequences longer than those it was trained on, typically by rescaling its position encoding and briefly fine-tuning on longer text.
Models using rotary position embeddings perform poorly beyond their training length. Chen et al. proposed position interpolation in 2023, which scales position indices down so that longer inputs fall within the range seen in training instead of extrapolating beyond it, and extended LLaMA models to 32,768 tokens with fe...
null
[ "context-window" ]
[]
[ "rotary-position-embedding", "ruler", "needle-in-a-haystack", "lost-in-the-middle" ]
2,023
[ { "title": "Extending Context Window of Large Language Models via Positional Interpolation", "authors": "Chen et al.", "year": 2023, "url": "https://arxiv.org/abs/2306.15595" }, { "title": "YaRN: Efficient Context Window Extension of Large Language Models", "authors": "Peng et al.", ...
https://protologue.com/t/context-window-extension/
Protologue. (2026). Context Window Extension. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0259). https://protologue.com/t/context-window-extension/
PTL-0260
sleeper-agents
Sleeper Agents
[ "sleeper agent", "backdoored language model" ]
Failure Modes & Evaluation
Sleeper agents are language models with a hidden, deliberately trained backdoor behavior that appears only when a specific trigger is present in the input, used in research to test whether safety training can detect and remove deceptive behavior.
Hubinger et al. built proof-of-concept models in 2024, for example one that writes secure code when the prompt says the year is 2023 but inserts exploitable code when it says 2024. The backdoors persisted through supervised fine-tuning, reinforcement learning and adversarial training, most strongly in the largest model...
null
[]
[]
[ "alignment-faking", "emergent-misalignment", "sandbagging", "red-teaming", "evaluation-awareness" ]
2,024
[ { "title": "Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training", "authors": "Hubinger et al.", "year": 2024, "url": "https://arxiv.org/abs/2401.05566" } ]
https://protologue.com/t/sleeper-agents/
Protologue. (2026). Sleeper Agents. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0260). https://protologue.com/t/sleeper-agents/
PTL-0261
language-agent-tree-search
Language Agent Tree Search
[ "LATS" ]
Agents & Orchestration
Language agent tree search (LATS) is an agent framework that applies Monte Carlo tree search to a language model's sequences of actions, using the model itself to propose actions, estimate the value of states and reflect on failures, together with feedback from the environment.
Zhou et al. introduced LATS in 2023 to unify reasoning, acting and planning. Instead of following a single trajectory, as in ReAct, the agent expands several candidate actions, scores them with model-based value estimates, backs up results from the environment, and writes self-reflections on failed trajectories to guid...
null
[]
[]
[ "tree-of-thoughts", "react", "reflexion", "test-time-compute-scaling", "ai-agent" ]
2,023
[ { "title": "Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models", "authors": "Zhou et al.", "year": 2023, "url": "https://arxiv.org/abs/2310.04406" } ]
https://protologue.com/t/language-agent-tree-search/
Protologue. (2026). Language Agent Tree Search. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0261). https://protologue.com/t/language-agent-tree-search/
PTL-0262
attention-sinks
Attention Sinks
[ "attention sink", "StreamingLLM", "sink tokens" ]
Foundations
Attention sinks are the first few tokens of a sequence, which transformer language models attend to strongly regardless of their content; keeping their cached keys and values lets a model generate stably over streams longer than its attention window.
Xiao et al. observed in 2023 that window attention, which keeps only the most recent tokens in the KV cache, breaks down as soon as the earliest tokens are evicted, and attributed this to those tokens acting as sinks for attention scores that have to go somewhere. Their StreamingLLM method keeps a few initial tokens al...
null
[]
[]
[ "kv-cache", "context-window", "context-window-extension" ]
2,023
[ { "title": "Efficient Streaming Language Models with Attention Sinks", "authors": "Xiao et al.", "year": 2023, "url": "https://arxiv.org/abs/2309.17453" } ]
https://protologue.com/t/attention-sinks/
Protologue. (2026). Attention Sinks. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0262). https://protologue.com/t/attention-sinks/
PTL-0263
best-of-n-jailbreaking
Best-of-N Jailbreaking
[ "BoN jailbreaking", "BoN jailbreak" ]
Security & Adversarial Prompting
Best-of-N jailbreaking is a black-box attack that repeatedly sends randomly altered versions of a harmful request, such as with shuffled characters or random capitalization, until one of them gets a harmful response from the model.
Hughes et al. introduced it in 2024. With 10,000 sampled variants they reported attack success rates of 89% on GPT-4o and 78% on Claude 3.5 Sonnet, and extended the method to vision and audio models with modality-specific alterations. Success rose with the number of samples following a power-law-like trend, which lets ...
null
[ "jailbreak" ]
[]
[ "best-of-n-sampling", "prompt-sensitivity", "red-teaming", "many-shot-jailbreaking" ]
2,024
[ { "title": "Best-of-N Jailbreaking", "authors": "Hughes et al.", "year": 2024, "url": "https://arxiv.org/abs/2412.03556" } ]
https://protologue.com/t/best-of-n-jailbreaking/
Protologue. (2026). Best-of-N Jailbreaking. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0263). https://protologue.com/t/best-of-n-jailbreaking/
PTL-0264
weight-space-programming
Weight-Space Programming
[ "weight space programming" ]
Prompt Optimization
Weight-space programming is the practice of having a language model read a neural network's weights directly to work out what the network computes, and write or edit those weights to change its behavior, treating the weights like a program instead of leaving them entirely to gradient-based training.
Takehi, Teoh, Zhang and Khattab of MIT CSAIL named the concept in a blog post published on 2 November 2026, which describes it as the name of an emerging concept rather than a specific method. In their experiments a frontier model, given raw weights and a natural-language specification, identified which game each of se...
null
[]
[]
[ "activation-steering", "model-merging", "fine-tuning", "sycophancy" ]
2,026
[ { "title": "Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights", "authors": "Takehi, Teoh, Zhang and Khattab", "year": 2026, "url": "https://rikiyat.github.io/blog/weight-space-programming/" } ]
https://protologue.com/t/weight-space-programming/
Protologue. (2026). Weight-Space Programming. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0264). https://protologue.com/t/weight-space-programming/
PTL-0265
memory-trap
Memory Trap
[ "memory overgeneralization" ]
Failure Modes & Evaluation
The memory trap is a failure mode of language-model agents with persistent memory in which the agent overgeneralizes from benign past interactions, either when writing a memory or when acting on it, and later behaves unsafely or unreliably on tasks the original interaction did not cover.
Liang, Fisac, Griffiths and Lampinen named it in a paper submitted on 5 November 2026, defining a benign interaction as one that neither requests nor rewards the harmful behavior that follows. They distinguish write-time overgeneralization, in which a saved note broadens a preference beyond its original scope, from rea...
null
[]
[]
[ "agent-memory", "sycophancy", "reward-hacking", "excessive-agency" ]
2,026
[ { "title": "The Memory Trap: Language Agents Overgeneralize from Benign Interactions", "authors": "Liang et al.", "year": 2026, "url": "https://arxiv.org/abs/2611.07554" } ]
https://protologue.com/t/memory-trap/
Protologue. (2026). Memory Trap. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0265). https://protologue.com/t/memory-trap/
PTL-0266
homeopathic-learning
Homeopathic Learning
[ "diluted data poisoning" ]
Security & Adversarial Prompting
Homeopathic learning is a data-poisoning effect in which poisoned fine-tuning examples that have little effect on their own install a hidden, trigger-conditioned behavior once they are mixed with clean examples that lack the trigger.
Clarke, Dubiński, Chua, Schrodi, Evans and Cloud named the effect in a paper released in November 2026, by analogy with the homeopathic belief that diluting a remedy makes it stronger. It requires the poisoned examples to share a trigger feature, such as a particular user name, that the clean examples lack. In one of t...
null
[]
[]
[ "sleeper-agents", "fine-tuning", "emergent-misalignment", "red-teaming" ]
2,026
[ { "title": "Homeopathic Learning: Diluting Poisoned Fine-Tuning Data Can Strengthen Its Effect", "authors": "Clarke et al.", "year": 2026, "url": "https://arxiv.org/abs/2611.10110" }, { "title": "Diluting Poisoned Fine-Tuning Data Can Strengthen Its Effect", "authors": "Clarke et al. (An...
https://protologue.com/t/homeopathic-learning/
Protologue. (2026). Homeopathic Learning. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0266). https://protologue.com/t/homeopathic-learning/
PTL-0267
language-model-sleep
Language Model Sleep
[ "sleep framework", "sleep paradigm", "knowledge seeding" ]
Prompt Optimization
Language model sleep is an approach to continual learning in which a model alternates between an active phase, when it processes inputs and holds new information in short-term memory such as its context, and an offline sleep phase, when it takes no new input and consolidates that information into its parameters.
Behrouz, Hashemi, Javanmard and Mirrokni proposed a two-stage sleep paradigm in a paper publicly available since September 2025, which Google Research publicized as the "sleep framework" in October 2026. Its first stage, memory consolidation, moves short-term knowledge into the model's parameters, partly through what t...
null
[]
[]
[ "sleep-time-compute", "dreaming", "knowledge-distillation", "agent-memory", "kv-cache", "fine-tuning" ]
2,025
[ { "title": "Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories", "authors": "Behrouz et al.", "year": 2026, "url": "https://arxiv.org/abs/2606.03979" }, { "title": "The sleep framework: A new way for LLMs to retain knowledge in continual learning", "authors": "B...
https://protologue.com/t/language-model-sleep/
Protologue. (2026). Language Model Sleep. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0267). https://protologue.com/t/language-model-sleep/
PTL-0268
transformer
Transformer
[ "Transformer architecture", "transformer model", "decoder-only transformer" ]
Foundations
The Transformer is a neural network architecture that processes sequences with self-attention, letting every position draw information directly from every other position instead of through recurrence or convolution. Most large language models are built on it.
Vaswani et al. introduced the Transformer in 2017 as an encoder-decoder model for machine translation, built from stacked layers of multi-head self-attention and position-wise feed-forward networks, with residual connections, layer normalization and positional encodings to represent token order. Because attention over ...
null
[]
[ "sliding-window-attention", "multi-head-latent-attention", "looped-transformer" ]
[ "large-language-model", "token", "context-window", "kv-cache", "rotary-position-embedding", "grouped-query-attention", "flashattention", "mixture-of-experts" ]
2,017
[ { "title": "Attention Is All You Need", "authors": "Vaswani et al.", "year": 2017, "url": "https://arxiv.org/abs/1706.03762" } ]
https://protologue.com/t/transformer/
Protologue. (2026). Transformer. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0268). https://protologue.com/t/transformer/
PTL-0269
neural-scaling-laws
Neural Scaling Laws
[ "scaling laws", "Kaplan scaling laws", "Chinchilla scaling laws", "compute-optimal training" ]
Foundations
Neural scaling laws are empirical relationships showing that a language model's training loss falls predictably, as a power law, as model size, dataset size and training compute increase.
Kaplan et al. reported in 2020 that the loss of Transformer language models scales as a power law with model size, dataset size and compute across several orders of magnitude, while network width or depth have minimal effects within a wide range. They concluded that, for a fixed compute budget, it is most efficient to ...
null
[]
[]
[ "large-language-model", "foundation-model", "emergent-abilities", "test-time-compute-scaling" ]
2,020
[ { "title": "Scaling Laws for Neural Language Models", "authors": "Kaplan et al.", "year": 2020, "url": "https://arxiv.org/abs/2001.08361" }, { "title": "Training Compute-Optimal Large Language Models", "authors": "Hoffmann et al.", "year": 2022, "url": "https://arxiv.org/abs/2203...
https://protologue.com/t/neural-scaling-laws/
Protologue. (2026). Neural Scaling Laws. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0269). https://protologue.com/t/neural-scaling-laws/
PTL-0270
sliding-window-attention
Sliding Window Attention
[ "SWA", "local attention", "windowed attention", "rolling buffer cache" ]
Foundations
Sliding window attention is a form of attention in which each token attends only to a fixed number of nearby or preceding tokens rather than the whole sequence, so its cost grows linearly instead of quadratically with sequence length.
Beltagy et al. used it in Longformer in 2020, combining local windowed attention with task-motivated global attention on a few tokens, so that the model scales linearly with sequence length. Stacking layers widens the receptive field, so information can still travel across a long document. Jiang et al. used causal slid...
null
[ "transformer" ]
[]
[ "kv-cache", "context-window", "attention-sinks", "grouped-query-attention", "context-window-extension", "flashattention" ]
2,020
[ { "title": "Longformer: The Long-Document Transformer", "authors": "Beltagy et al.", "year": 2020, "url": "https://arxiv.org/abs/2004.05150" }, { "title": "Mistral 7B", "authors": "Jiang et al.", "year": 2023, "url": "https://arxiv.org/abs/2310.06825" } ]
https://protologue.com/t/sliding-window-attention/
Protologue. (2026). Sliding Window Attention. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0270). https://protologue.com/t/sliding-window-attention/
PTL-0271
multi-head-latent-attention
Multi-Head Latent Attention
[ "MLA", "latent attention" ]
Foundations
Multi-head latent attention (MLA) is an attention mechanism that compresses each token's keys and values into a low-dimensional latent vector and caches only that vector, greatly shrinking the key-value cache needed during generation.
DeepSeek-AI introduced MLA in the DeepSeek-V2 model in 2024. A down-projection maps each token to a compressed latent from which keys and values are reconstructed by up-projections, and a separate, decoupled rotary position embedding carries position information. The authors reported that MLA achieves better performanc...
null
[ "transformer" ]
[]
[ "kv-cache", "grouped-query-attention", "rotary-position-embedding", "mixture-of-experts", "pagedattention" ]
2,024
[ { "title": "DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model", "authors": "DeepSeek-AI", "year": 2024, "url": "https://arxiv.org/abs/2405.04434" } ]
https://protologue.com/t/multi-head-latent-attention/
Protologue. (2026). Multi-Head Latent Attention. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0271). https://protologue.com/t/multi-head-latent-attention/
PTL-0272
weak-to-strong-generalization
Weak-to-Strong Generalization
[ "W2S generalization", "weak-to-strong", "performance gap recovered" ]
Foundations
Weak-to-strong generalization is the phenomenon in which a strong model fine-tuned on labels produced by a weaker model performs better than that weaker supervisor, studied as an analogy for humans supervising models more capable than themselves.
Burns et al. of OpenAI introduced the setup in 2023, arguing that methods such as RLHF depend on humans being able to judge model behavior, which may not hold for superhuman models. Fine-tuning pretrained GPT-4-family models on labels from smaller models across NLP, chess and reward-modeling tasks, they found that the ...
null
[]
[]
[ "rlhf", "reward-model", "fine-tuning", "knowledge-distillation", "llm-as-a-judge" ]
2,023
[ { "title": "Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervision", "authors": "Burns et al.", "year": 2023, "url": "https://arxiv.org/abs/2312.09390" } ]
https://protologue.com/t/weak-to-strong-generalization/
Protologue. (2026). Weak-to-Strong Generalization. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0272). https://protologue.com/t/weak-to-strong-generalization/
PTL-0273
superficial-alignment-hypothesis
Superficial Alignment Hypothesis
[ "LIMA", "Less Is More for Alignment", "superficial alignment" ]
Foundations
The superficial alignment hypothesis holds that a language model learns almost all of its knowledge and capabilities during pretraining, and that alignment mainly teaches it which style and format of response to use with users, so a small set of high-quality examples can be enough to align it.
Zhou et al. proposed the hypothesis in 2023 in the paper introducing LIMA. To test it they fine-tuned the 65-billion-parameter LLaMa on only 1,000 carefully curated prompts and responses with standard supervised learning, without reinforcement learning or human preference modeling. In their human evaluation, LIMA's res...
null
[]
[]
[ "instruction-tuning", "base-model", "rlhf", "fine-tuning", "self-instruct" ]
2,023
[ { "title": "LIMA: Less Is More for Alignment", "authors": "Zhou et al.", "year": 2023, "url": "https://arxiv.org/abs/2305.11206" } ]
https://protologue.com/t/superficial-alignment-hypothesis/
Protologue. (2026). Superficial Alignment Hypothesis. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0273). https://protologue.com/t/superficial-alignment-hypothesis/
PTL-0274
looped-transformer
Looped Transformer
[ "loop transformer", "looped language model", "LoopLM", "Universal Transformer", "weight-tied recurrent depth", "recurrent-depth transformer" ]
Foundations
A looped transformer is a transformer that applies the same block of weight-shared layers several times within one forward pass, so the model gains effective depth and computation without adding parameters.
Dehghani et al. proposed the Universal Transformer in 2018, which applies one shared transformer block recurrently across depth and adds a dynamic per-position halting mechanism. Giannou et al. used the name "looped transformers" in 2023, showing that a looped 13-layer transformer with fixed weights can run small progr...
null
[ "transformer" ]
[]
[ "test-time-compute-scaling", "reasoning-model", "overthinking", "mixture-of-experts", "neural-scaling-laws" ]
2,018
[ { "title": "Universal Transformers", "authors": "Dehghani et al.", "year": 2018, "url": "https://arxiv.org/abs/1807.03819" }, { "title": "Looped Transformers as Programmable Computers", "authors": "Giannou et al.", "year": 2023, "url": "https://arxiv.org/abs/2301.13196" }, { ...
https://protologue.com/t/looped-transformer/
Protologue. (2026). Looped Transformer. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0274). https://protologue.com/t/looped-transformer/
PTL-0275
external-sandbox
External Sandbox
[ "external sandboxes", "external sandbox pattern" ]
Security & Adversarial Prompting
An external sandbox is an isolation pattern for coding agents in which the agent runs outside the sandbox and sends the commands it wants to execute to a separate sandboxed environment, so that only command execution crosses the isolation boundary.
The name comes from a November 2026 post by Simon Willison on the Prime Radiant blog, which explains that the sandbox is external to the agent rather than to the computer, so both can run on the same machine. The post contrasts it with running the agent inside the sandbox, as in Fly's Sprites, and argues that keeping t...
null
[]
[]
[ "coding-agent", "code-execution-tool", "auto-mode", "lethal-trifecta", "excessive-agency", "harness-engineering", "prompt-injection", "guardrails" ]
2,026
[ { "title": "External sandboxes for coding agents", "authors": "Simon Willison (Prime Radiant)", "year": 2026, "url": "https://blog.primeradiant.com/external-sandboxes-for-coding-agents/" } ]
https://protologue.com/t/external-sandbox/
Protologue. (2026). External Sandbox. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0275). https://protologue.com/t/external-sandbox/