{"atlas":{"skills":[{"id":"direct-preference-optimization","name":"Direct Preference Optimization","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Direct Preference Optimization trains a language model from comparisons between preferred and rejected responses to the same prompt. The skill is constructing meaningful preference pairs and optimizing their relative likelihood against a reference policy, then checking whether the resulting behavior improves on independent tasks and judgments.","type":"concept","editorial":{"definition":"Basic DPO derives a preference loss from a reward maximization objective with a constraint on departure from a reference model. Rather than fitting an explicit scalar reward model and running a separate reinforcement learning loop, it adjusts the policy using the difference between chosen and rejected response log probabilities, normalized by the reference policy. The comparison is conditional on the same prompt. The reference checkpoint and the beta parameter affect the tradeoff represented by the objective. DPO is a specific formulation; KTO, ORPO and other preference methods use different assumptions or losses and should be documented separately.","practice":"Design annotation criteria that distinguish correctness, helpfulness and style, and collect pairs with a clear preference rather than arbitrary winners. Audit prompt equivalence, truncation and chat formatting before computing losses. Split by prompt families and source documents so paraphrases do not leak into evaluation. Record the reference checkpoint, objective, beta and any adapter configuration. Inspect chosen and rejected likelihoods alongside held-out preference accuracy. Evaluate generated responses with separate factuality and capability tests; a larger training margin alone is insufficient evidence of useful alignment.","example":"An illustrative documentation assistant often gives confident answers when a question lacks essential context. Reviewers compare a guessed answer with a concise clarification request for each ambiguous prompt. The team trains DPO on those comparisons and tests new product areas whose documents were excluded from training. Reviewers then inspect whether the assistant asks an appropriate question when needed while still answering complete requests, because indiscriminate clarification would be a regression.","limits":"Preference labels can reward verbosity, familiarity or annotator bias rather than the intended behavior. Offline comparisons may poorly cover responses that the updated model later generates. Training can suppress rejected answers without improving the absolute quality of chosen ones. Reference regularization does not guarantee truthfulness or broad safety. Check length effects, preference disagreements and capability regressions, and report the precise loss rather than using DPO as a label for every direct preference method.","sources":[{"title":"Direct Preference Optimization: Your Language Model is Secretly a Reward Model","url":"https://arxiv.org/abs/2305.18290","note":"Original derivation of the reference-normalized preference objective and distinction from explicit reward modeling."},{"title":"Hugging Face TRL: DPO Trainer","url":"https://huggingface.co/docs/trl/en/dpo_trainer","note":"Preference dataset formats, reference model configuration, loss variants and diagnostic metrics."}],"updatedAt":"2026-10-10"}},{"id":"rlhf","name":"RLHF","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reinforcement Learning from Human Feedback uses human judgments to shape a model's behavior through a learned reward signal. Practitioners design comparisons, train and test the reward model, and optimize a policy while controlling unwanted drift. The competence includes evaluating behavior independently of the score that training maximizes.","type":"concept","editorial":{"definition":"In a common language model pipeline, supervised demonstrations first establish useful response behavior. Annotators then compare candidate answers, and a reward model learns to assign scores that reflect those comparisons. A reinforcement learning algorithm updates the generating policy to obtain higher predicted reward, often with a penalty for divergence from a reference policy. PPO is one possible optimizer, rather than part of the definition. The broader method also applies to nonlanguage policies whose trajectories people evaluate. Human feedback expresses preferences under a particular rubric and sampling process; it does not directly reveal a universal or complete reward function.","practice":"Specify who supplies feedback and what tradeoffs the rubric asks them to make. Sample prompts and candidate answers that expose meaningful failures, preserve annotation disagreements and reserve comparisons for reward model validation. Monitor policy reward, divergence, response length and optimization stability, with a stopping rule based on independent evaluation. Hold out related conversations and tasks as groups. The useful result is a documented behavior change supported by fresh human comparisons and task checks, including cases where optimizing the learned reward harms another requirement.","example":"For an illustrative summarization assistant, reviewers prefer summaries that preserve an important caveat while omitting repetitive background. Their comparisons train a reward model. During policy optimization, the developer notices that highly scored summaries become longer, so a separate evaluation asks readers whether each summary covers the caveat within the requested length. The team selects a checkpoint using those judgments and source fidelity, rather than selecting the run with the highest reward.","limits":"A policy can exploit weaknesses in its reward model, and preference agreement on familiar examples may not transfer to new topics. Annotator population, instructions and candidate sampling all influence what is learned. Reward scores from different training runs are not automatically comparable. RLHF can improve measured preferences while leaving factual errors or competing objectives unresolved. Direct preference optimization and verifiable rewards are neighboring approaches with different learning signals, and should not be silently treated as the same pipeline.","sources":[{"title":"Deep reinforcement learning from human preferences","url":"https://arxiv.org/abs/1706.03741","note":"Preference comparisons as a learned reinforcement learning reward for policy training."},{"title":"Training language models to follow instructions with human feedback","url":"https://arxiv.org/abs/2203.02155","note":"Language model demonstration, ranking, reward modeling and policy optimization pipeline."}],"updatedAt":"2026-10-10"}},{"id":"reinforcement-learning-from-verifiable-rewards","name":"Reinforcement Learning from Verifiable Rewards","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reinforcement Learning from Verifiable Rewards improves a generating policy using outcomes that a program can check, such as a correct mathematical answer or passing tests. The skill is designing reliable verifiers and a useful task distribution, then determining whether optimization teaches transferable problem solving or merely exploits the checks.","type":"concept","editorial":{"definition":"The model samples completions for tasks whose results can be evaluated without a learned human preference model. A verifier returns a reward based on properties such as answer equivalence, executable tests or valid output structure. Policy optimization increases the probability of rewarded completions; different reinforcement learning algorithms can perform this update. Outcome verification checks the final result and does not necessarily establish that an explanation is sound. Format rewards may supplement correctness rewards but represent a separate objective. The approach is most natural when evaluation is inexpensive, reproducible and difficult for the model to game, though these conditions need testing.","practice":"Build and version the verifier before scaling policy training. Inspect parsing, numerical tolerances, test coverage, timeouts and adversarial outputs that might receive credit incorrectly. Separate problem generators, templates and solutions across training and evaluation. Sample tasks at a difficulty that produces informative variation rather than uniformly zero or maximum reward. Track reward distributions and evaluate on independently checked problems. The deliverable includes a trained policy, a reproducible verification harness and evidence distinguishing actual task success from improvements caused by formatting or a weak checker.","example":"An illustrative coding exercise asks a model to implement a parser. The reward comes from unit tests in a sandbox. A developer adds cases for malformed input and verifies that a solution cannot read expected outputs from the harness. Training tasks and held-out parser specifications use different generators. The resulting policy is assessed on hidden tests and inspected for clear failure handling, because passing the training suite does not prove that it implements the specification.","limits":"Verification can be incomplete: tests miss behaviors, answer parsers accept ambiguous strings and numerical comparisons mishandle units. Sparse rewards make exploration difficult, while permissive checks invite shortcuts. Success on automatically checkable tasks does not establish quality on subjective assistance or open-ended factual claims. Correct answers also need not imply faithful reasoning traces. Treat verifier reliability and independent task accuracy as separate quality measures, and reassess them when the policy discovers new output strategies.","sources":[{"title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","note":"Rule-based correctness and format rewards in reasoning-oriented reinforcement learning."},{"title":"Hugging Face TRL: GRPO Trainer","url":"https://huggingface.co/docs/trl/en/grpo_trainer","note":"Custom reward functions, generated completion groups and policy training diagnostics."}],"updatedAt":"2026-10-10"}},{"id":"reward-modeling","name":"Reward Modeling","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Reward modeling learns a scoring function from judgments about the quality of model outputs or actions. The competence is turning a defensible evaluation rubric into training data and a calibrated comparison model, then testing how reliably that proxy behaves on candidates outside the examples used to fit it.","type":"concept","editorial":{"definition":"A reward model takes a prompt and candidate response, or a state and trajectory, and produces a scalar or structured assessment. In pairwise language model setups, its parameters are trained so a preferred response receives a higher score than a rejected response. Other formulations use ratings, rankings or process-level judgments. Scores summarize learned preferences rather than objective correctness unless the data specifically supports that interpretation. A reward model may select candidates, evaluate experiments or supply a reinforcement learning objective. These uses expose it to different distributions, particularly when a policy actively searches for outputs that maximize its score.","practice":"Write a rubric, choose label granularity and gather comparisons with varied quality gaps. Check inter-annotator agreement and audit whether response length or formatting predicts the labels. Split related prompts and candidate sources together to avoid leakage. Evaluate pairwise accuracy and disagreement by task and response style; inspect score changes on controlled perturbations. Test generated candidates from policies that differ from the training generator. The result is a versioned scorer with a defined validity range and explicit evidence about its errors, suitable for a particular decision rather than an unrestricted quality oracle.","example":"An illustrative answer-selection system produces several explanations of a technical concept. Reviewers label pairs for factual accuracy and clarity. The fitted reward model chooses a candidate, but a challenge set adds polished answers containing a subtle false claim. The developer compares its rankings with fresh expert judgments and inspects whether the scorer values polish over correctness. Those findings determine whether it can automate selection or should only flag candidates for review.","limits":"High held-out comparison accuracy can hide systematic bias on rare but consequential cases. Scalar rewards collapse competing objectives, and their scale is usually meaningful only within the model's training setup. Optimization can amplify weaknesses that ordinary evaluation never encounters. A learned reward is distinct from a deterministic verifier and from direct policy preference losses. Validate under the intended selection or training pressure, preserve independent evaluators and avoid interpreting a high score as a probability that an answer is true.","sources":[{"title":"Hugging Face TRL: Reward Modeling","url":"https://huggingface.co/docs/trl/en/reward_trainer","note":"Pairwise reward datasets, trainer behavior and reward diagnostics."},{"title":"Training language models to follow instructions with human feedback","url":"https://arxiv.org/abs/2203.02155","note":"Role of learned preference rewards and limitations of optimizing the proxy."}],"updatedAt":"2026-10-10"}},{"id":"catastrophic-forgetting","name":"Catastrophic Forgetting","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Catastrophic forgetting is a sharp loss of previously learned capability when a model trains on new data or tasks. The skill is recognizing interference, measuring retained competence and choosing adaptation methods that balance learning the new requirement with preserving behaviors that remain important to the application.","type":"concept","editorial":{"definition":"Neural network parameters are shared across tasks, so updates that reduce a new task's loss can disrupt representations or decision boundaries needed for earlier tasks. This differs from a change in the evaluation population: forgetting compares capability on the same earlier requirement before and after adaptation. Mitigation families include replaying old examples, constraining changes to important parameters, separating task-specific components and balancing data mixtures. Elastic Weight Consolidation illustrates regularization based on parameter importance. No single mechanism defines all forgetting, and the acceptable balance depends on whether older tasks, domains, languages or safety behaviors must still be supported.","practice":"Establish a baseline on old and new tasks before sequential training. Keep representative retention sets separate from replay data, and track performance after each adaptation stage. Compare targeted replay, smaller updates, regularization and isolated adapters when they fit the model. Group evaluation examples by original source to prevent a remembered template from overstating retention. Report the new capability gain alongside losses elsewhere. A useful deliverable is an adaptation strategy and checkpoint selection rule that makes the retention tradeoff explicit, with rollback criteria for critical behaviors.","example":"An illustrative multilingual classifier is adapted to specialist English support tickets. The developer measures its original French and Polish tasks after each training stage. New-ticket accuracy improves while earlier language performance declines. They compare a mixed-language replay set with an isolated specialist adapter and evaluate both on untouched tickets from each language. The selected approach supports the new domain while meeting the project's minimum retained capability, rather than optimizing English performance alone.","limits":"Replay requires access to suitable older data and may preserve its biases. Importance estimates and parameter constraints are approximations, while separate adapters add routing and maintenance decisions. Retention tests can overlook rare skills or reward superficial similarity to old answers. Domain shift and forgetting can coexist, so diagnose them separately. Forgetting is a measured failure mode, not a guarantee that any particular fine-tuning recipe will fail; verify before and after behavior under the same evaluation protocol.","sources":[{"title":"Overcoming catastrophic forgetting in neural networks","url":"https://arxiv.org/abs/1612.00796","note":"Sequential task interference and parameter-importance regularization as one mitigation."},{"title":"Don’t Stop Pretraining: Adapt Language Models to Domains and Tasks","url":"https://arxiv.org/abs/2004.10964","note":"Domain adaptation context for distinguishing new-domain gains from retention requirements."}],"updatedAt":"2026-10-10"}},{"id":"fine-tuning-evaluation","name":"Fine-Tuning Evaluation","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Fine-tuning evaluation determines whether an adapted model improves the intended task while retaining other required behavior. The skill combines clean comparison data, task-specific measurements and inspection of generated failures. It supports checkpoint and release decisions rather than treating a falling training loss as evidence of a successful adaptation.","type":"concept","editorial":{"definition":"Evaluation compares the adapted model with the original checkpoint and meaningful alternatives under controlled inputs and decoding settings. Training loss measures fit to training targets; held-out loss estimates similar-distribution prediction quality; application tests examine whether outputs serve the actual task. These quantities answer different questions. A complete design may assess correctness, format compliance, robustness, retention, latency and resource requirements. Train, development and test sets need boundaries based on the unit that can leak, such as conversation, document, customer or problem family. Human or model-based judgments require explicit rubrics and their own checks for consistency.","practice":"Define acceptance criteria before training and reserve a final test set for the release decision. Deduplicate examples across splits, track dataset versions and inspect whether synthetic training answers reproduce evaluation material. Use the development set for checkpoint selection and tuning, then run the fixed final protocol once decisions are settled. Compare against prompt-only or retrieval baselines where relevant. Break results down by difficult cases and retained tasks, and inspect representative errors. The output should identify the supported improvement and remaining failures with enough detail for another person to reproduce the comparison.","example":"An illustrative model is tuned to extract maintenance fields from notes. The developer holds out complete machines and reporting periods, checks exact field accuracy and measures unsupported values. They compare the tuned model with the base model using a structured prompt. A checkpoint with lower validation loss invents more missing serial numbers, so the release decision favors one that meets field correctness and abstention criteria. The final report includes malformed-note examples and operating cost.","limits":"A benchmark can become a development set through repeated tuning, even when its file remains labeled test. Aggregate scores hide minority languages, long inputs and rare high-impact failures. Automated judges can share biases with the trained model, while reference overlap metrics miss factual errors. Evaluation estimates behavior within its coverage and cannot prove universal reliability. Keep training diagnostics, application acceptance criteria and independent retention tests separate, and disclose when a comparison lacks enough examples for a stable conclusion.","sources":[{"title":"Hugging Face Evaluate","url":"https://huggingface.co/docs/evaluate/en/index","note":"Evaluation modules and reproducible measurement tooling."},{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"Training, evaluation datasets and checkpoint configuration in model adaptation."}],"updatedAt":"2026-10-10"}},{"id":"hugging-face-peft","name":"Hugging Face PEFT","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Hugging Face PEFT is a library for adapting pretrained models while training a selected subset of parameters or added components. The competence is choosing a suitable adaptation method, configuring its target modules and saving a reproducible adapter that can be loaded with the correct base model and processing setup.","type":"tool","editorial":{"definition":"Parameter-efficient fine-tuning reduces the number of trainable parameters compared with updating an entire model. PEFT provides implementations and interfaces for methods such as low-rank adapters and prompt-based tuning. Their mechanisms differ: an adapter can modify internal transformations, while learned prompt parameters affect the model through its input representation. A saved adapter typically contains adaptation weights and configuration rather than a complete independent model. Its behavior therefore depends on the base checkpoint, task head, tokenizer or processor and supported architecture. Parameter efficiency describes what is trained, and is separate from weight quantization or the choice of training objective.","practice":"Select a method based on task requirements, architecture support and the memory available for training and deployment. Inspect module names, verify which parameters are trainable and test forward behavior before a long run. Preserve base revision, adapter configuration, processing artifacts and any additional saved modules. Evaluate against the unadapted model and a modest full-tuning baseline when feasible. Load the saved adapter in a fresh process and test representative inputs. The result should be a portable adaptation package with an explicit base dependency and evidence that its deployment behavior matches the evaluated training checkpoint.","example":"For an illustrative classifier, an engineer applies low-rank adapters to an encoder and saves the updated classification head with them. A clean loading test initially gives inconsistent labels because the head was omitted. After fixing the packaging configuration, the developer loads the same base revision and adapter and reproduces held-out predictions. They document the modules being adapted so a later checkpoint with different internal names does not silently receive an incompatible configuration.","limits":"A small adapter file does not imply negligible total inference memory because the base model is still required. Method and architecture support vary, and some combinations with quantization or merging have constraints. Too few trainable parameters can restrict adaptation, while excessive rank can weaken the expected savings. Adapters can still overfit or alter important behavior. Check packaging and version compatibility, and evaluate the complete loaded system rather than relying on a trainable-parameter count as a quality measure.","sources":[{"title":"Hugging Face PEFT","url":"https://huggingface.co/docs/peft/en/index","note":"Library purpose, parameter-efficient method families and adapter integration."},{"title":"LoRA: Low-Rank Adaptation of Large Language Models","url":"https://arxiv.org/abs/2106.09685","note":"Mechanism of a supported low-rank adaptation method."}],"updatedAt":"2026-10-10"}},{"id":"hugging-face-trl","name":"Hugging Face TRL","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Hugging Face TRL provides training components for supervised and preference-based language model post-training. The skill is matching a trainer to the intended learning signal, formatting data correctly and interpreting its diagnostics. Library familiarity includes understanding the objective and integration constraints behind a short training script.","type":"tool","editorial":{"definition":"TRL offers trainers for distinct post-training procedures, including supervised fine-tuning, direct preference optimization, reward modeling and group-relative policy optimization. Each expects a particular dataset structure and applies a particular loss or reward pipeline. Conversational records may require a model-specific chat template, and generated policy training also involves sampling settings and reward functions. TRL can integrate with model and adapter tooling, but those integrations do not make every combination valid. The library is an implementation layer: selecting a trainer does not resolve the scientific choice of objective, the meaning of labels or the evaluation needed for an application.","practice":"Read the selected trainer's expected data format, configuration and logged metrics for the installed version. Validate a small batch, inspect rendered conversations and check which tokens contribute to the loss. For preference training, audit chosen and rejected pairs; for reinforcement learning, test reward functions independently. Pin versions and model revisions, record effective batch and generation settings, and keep evaluation data independent of trainer examples. Reproduce saving and loading before scaling. The useful output is a documented post-training experiment whose data, objective and artifact behavior can be inspected beyond whether the trainer completed.","example":"An illustrative team wants an assistant to prefer accurate concise answers. Their dataset contains prompt, preferred answer and rejected answer records, so they select DPOTrainer rather than SFTTrainer. A small debug run reveals that long prompts remove the key distinction during truncation. After changing data handling, they evaluate fresh generated answers with a separate rubric. The run report names the DPO loss and reference policy so another engineer can interpret the result.","limits":"Trainer defaults and supported integrations change across versions. Similar-looking constructor calls can implement materially different objectives, and training metrics can be misread as application success. Incorrect templates, masking or truncation can invalidate otherwise well-formed data. Resource-intensive generation and reference models also affect feasibility. Verify the exact documented trainer behavior, and avoid treating TRL as a single alignment algorithm or assuming that supported code paths automatically yield reliable, safe or useful model behavior.","sources":[{"title":"Hugging Face TRL","url":"https://huggingface.co/docs/trl/en/index","note":"Library scope and available post-training components."},{"title":"Hugging Face TRL: Dataset formats","url":"https://huggingface.co/docs/trl/en/dataset_formats","note":"Data representations and their relationship to training procedures."}],"updatedAt":"2026-10-10"}},{"id":"llm-fine-tuning","name":"LLM Fine-Tuning","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"LLM fine-tuning adapts a pretrained language model by updating its parameters on data chosen for a task, domain or behavior. The skill is defining an objective that benefits from training, preparing compatible examples and evaluating the complete adapted artifact against the base model and simpler alternatives.","type":"concept","editorial":{"definition":"Fine-tuning starts from learned weights rather than training a model from random initialization. Updates may involve the full network, a task head or parameter-efficient components. The objective can predict task labels, imitate target responses, continue language modeling or optimize preferences; these choices imply different data and behavior. The tokenizer, context construction and output format remain part of the model's input contract. Fine-tuning primarily changes learned behavior and representations. It is not a dependable mechanism for inserting frequently changing facts or retrieving authoritative records, and does not replace a retrieval layer when answers require current source evidence.","practice":"Identify the observed failure and compare training with improved prompts, retrieval or deterministic processing. Select a licensed base checkpoint, curate examples that express the target behavior and preserve provenance. Split related documents or conversations together, inspect templates and masking, and choose full or partial parameter updates within resource limits. Monitor held-out task quality and retained capabilities while selecting checkpoints. Package tokenizer, configuration and adaptation weights together and test a fresh load. The result is an evaluated artifact and an explanation of the specific improvement that justifies the additional training and maintenance.","example":"An illustrative team repeatedly converts free-form equipment notes into a stable schema. They train a language model on reviewed note-to-record examples, including missing and contradictory fields. Entire equipment groups are held out. Evaluation compares the tuned model with a strong structured prompt, checking valid output, field accuracy and unsupported values. The final package includes the exact template and schema, because using a different prompt after deployment can change the behavior being assessed.","limits":"Poor demonstrations teach their errors, and small datasets can encourage memorization rather than generalization. Adaptation can reduce language coverage or other previously useful capabilities. A model may reproduce sensitive training material, so data selection and evaluation must account for that possibility. Lower loss does not establish factuality or format reliability. Distinguish broad fine-tuning from instruction tuning, continued pretraining and preference optimization, and document the actual objective instead of presenting them as interchangeable recipes.","sources":[{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"Adaptation from pretrained weights, data preparation and training configuration."},{"title":"Hugging Face PEFT","url":"https://huggingface.co/docs/peft/en/index","note":"Alternative to full-parameter updating through selected adaptation parameters."}],"updatedAt":"2026-10-10"}},{"id":"supervised-fine-tuning-sft","name":"Supervised Fine-Tuning (SFT)","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Supervised fine-tuning adapts a pretrained model using examples of the desired prediction or response. Practitioners choose targets, control which outputs contribute to the loss and check whether imitation generalizes to unseen inputs. Instruction-response training is one application of SFT, alongside classification, extraction and other labeled tasks.","type":"concept","editorial":{"definition":"Supervision supplies target outputs rather than only a preference between candidates or a reward for sampled actions. For an autoregressive language model, a common objective minimizes the negative log likelihood of target tokens given the context. Depending on the task, loss may cover a full text sequence, a completion or selected assistant turns. Other pretrained architectures use supervised task losses such as classification. Teacher forcing trains on reference prefixes, whereas deployment generates its own prefixes. SFT therefore teaches patterns represented by demonstrations, with behavior determined by their correctness, coverage and the loss assigned to different parts of each example.","practice":"Define the input-output contract and obtain reviewed targets that match it. Include realistic ambiguous and missing-input cases rather than only ideal answers. Inspect token-level masking, padding, packing and truncation to confirm that the intended target survives preprocessing. Split by underlying source or task family, reserve untouched evaluation examples and monitor overfitting. Measure task success on generated or predicted outputs, with format and factuality checks when appropriate. The deliverable is a model that reproduces the required behavior on unseen cases, accompanied by the exact target construction and loss configuration.","example":"An illustrative extraction model receives a note and must output a JSON object. The training record includes both the prompt and correct object, but the loss is applied to the object tokens. The developer checks examples where a field is absent and expects a null value. Evaluation uses notes from unseen reports and measures field correctness as well as parse validity. This is supervised fine-tuning even though the goal is a narrow extraction task.","limits":"The model can learn an answer's style without learning its correctness, and frequently occurring targets may dominate rarer requirements. Teacher forcing does not expose every error chain that occurs during generation. Incorrect masking can spend capacity predicting prompts, while truncation can remove the supervised answer. SFT does not directly express comparative preferences or guarantee safe behavior. Instruction tuning is a particular data and task formulation within the broader supervised adaptation approach, rather than a synonym for every SFT run.","sources":[{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/en/sft_trainer","note":"Supervised data formats, loss masking, packing and training configuration."},{"title":"Hugging Face Transformers: Fine-tuning","url":"https://huggingface.co/docs/transformers/en/training","note":"General pretrained-model adaptation and supervised training context."}],"updatedAt":"2026-10-10"}},{"id":"model-merging","name":"Model Merging","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Model merging combines compatible model weights or task updates into a single artifact. The competence is identifying which components can meaningfully be combined, choosing a merge rule and testing the resulting capabilities and interference. A merged checkpoint needs its own evaluation rather than inheriting the strengths claimed for its inputs.","type":"concept","editorial":{"definition":"Merging differs from an ensemble because inference ordinarily uses one combined parameter set instead of consulting multiple models. Simple averaging interpolates weights; task-vector approaches combine differences from a shared base; other methods address redundant updates or conflicting signs. Compatibility involves architecture, parameter shapes, tokenizers and the relationship between training histories. A common base can make task updates more interpretable, but does not eliminate interference. TIES-Merging illustrates trimming small updates and resolving sign conflicts before combination. Merging can also apply to adapters, subject to the constraints of their representation and loading or conversion path.","practice":"Inspect architecture, licenses, base revisions and processing artifacts before selecting inputs. Choose the merge rule and coefficients on development tasks that represent all intended capabilities. Preserve separate final tests and compare the merged artifact with its base and each source model. Check language coverage, output formatting and regressions rather than using one aggregate score. Record the merge specification and reproduce it from pinned input checkpoints. The deliverable is a loadable model plus evidence of which capabilities survived, which changed and whether one merged artifact actually fits the deployment requirement.","example":"An illustrative project has two adapters from the same base: one for structured reports and one for domain terminology. The engineer compares a simple weighted combination with a method designed to reduce update interference. Held-out tasks include both report formatting and terminology interpretation. The merged model preserves specialized vocabulary but occasionally breaks the report schema, so the developer adjusts the selection criterion and evaluates fresh reports before treating the artifact as suitable for both roles.","limits":"Weights from unrelated architectures cannot be averaged meaningfully just because they serve similar tasks. Even compatible checkpoints may encode conflicting updates, and special-token differences can invalidate a merge. A merge can lose capability or amplify unwanted behavior without an obvious loading error. It does not create an inference ensemble's independent votes or a distillation student's learning process. Validate the complete output artifact and retain provenance of every input, since a compact merge recipe alone does not establish reproducible behavior.","sources":[{"title":"TIES-Merging: Resolving Interference When Merging Models","url":"https://arxiv.org/abs/2306.01708","note":"Task-update interference, trimming and sign-resolution merge mechanism."},{"title":"mergekit","url":"https://github.com/arcee-ai/mergekit","note":"Maintained model-merging implementation, supported merge specifications and artifact workflow."}],"updatedAt":"2026-10-10"}},{"id":"knowledge-distillation","name":"Knowledge Distillation","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Knowledge distillation trains a student model to reproduce useful behavior or predictions from a teacher. Practitioners choose what information to transfer, which inputs expose it and how to measure the student's retained quality. The goal may be a smaller deployable model, a different architecture or a specialized policy.","type":"concept","editorial":{"definition":"A teacher can provide probability distributions, intermediate representations or generated target responses. In classic classification distillation, softened class probabilities reveal relationships between alternatives that a single hard label omits. Temperature controls the softness of those distributions, and the student may combine a teacher-matching loss with ordinary labeled supervision. For language models, sequence-level distillation can train on teacher-generated answers, while token-level methods compare predictive distributions. These are different transfer mechanisms. The student learns through training on sampled inputs; it does not receive a literal compressed copy of every teacher parameter or necessarily inherit all of the teacher's capabilities.","practice":"Define the deployment constraint and choose a student capable of the required inputs and outputs. Build a transfer set that covers difficult cases, verify teacher targets and keep the final evaluation independent of both target generation and student tuning. Select the matching objective and any mixture with trusted labels. Evaluate the student against the teacher and a student trained without distillation, measuring task quality, latency and memory in the actual runtime. Preserve teacher provenance and generation settings. The result should identify the capabilities transferred successfully and the cases where the smaller model still needs escalation.","example":"An illustrative helpdesk classifier must run locally with limited memory. A larger teacher supplies class distributions for reviewed and unlabeled tickets. The student trains on these distributions plus trusted labels. Evaluation groups tickets by conversation and includes rare request types. The engineer finds that broad categories transfer well but subtle billing distinctions do not, and adds targeted labeled examples. Deployment testing checks the student's actual runtime rather than inferring speed from its parameter count.","limits":"Distillation transfers teacher mistakes and depends heavily on the input distribution. A student with insufficient capacity may imitate surface patterns while losing nuanced behavior. Synthetic outputs can introduce unsupported claims, and evaluating on teacher-generated references can favor imitation over correctness. Access to teacher probabilities, usage permissions and model interfaces can constrain the method. Distillation differs from quantization and weight merging because it learns a new model; compare quality and operating cost after that learning process, not merely model size.","sources":[{"title":"Distilling the Knowledge in a Neural Network","url":"https://arxiv.org/abs/1503.02531","note":"Soft targets, temperature and teacher-to-student training formulation."},{"title":"Hugging Face TRL: Distillation Trainer","url":"https://huggingface.co/docs/trl/en/distillation_trainer","note":"Implementation context for language model distillation objectives."}],"updatedAt":"2026-10-10"}},{"id":"model-quantization","name":"Model Quantization","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Model quantization represents model quantities with fewer bits to reduce storage or computation requirements. The skill is choosing a numerical format and supported execution path, calibrating where necessary and measuring the resulting quality and resource tradeoff. A smaller weight file alone does not establish faster or reliable inference.","type":"concept","editorial":{"definition":"Quantization maps values from a higher-precision representation to a more limited set using scales, offsets or other encoding parameters. A scheme may quantize weights, activations or both, with parameters shared across a tensor, channel or group. Post-training quantization converts an existing model, sometimes using representative calibration data; quantization-aware training incorporates the effect during optimization. Algorithms differ in how they control approximation error and handle unusually large values. Low-bit storage also requires compatible kernels or dequantization during execution. Quantization changes numerical representation and is distinct from LoRA, which changes the set of trainable adaptation parameters.","practice":"Start with an evaluated higher-precision baseline and identify whether memory, throughput or deployment support is the constraint. Select a method supported by the target hardware and model architecture. For calibration-based schemes, use representative inputs without borrowing the final test set. Record bit width, grouping, calibration construction and excluded modules. Check task quality, long-input behavior and retained capabilities, then measure peak memory and latency at realistic batch sizes. Save the quantization configuration with the artifact. The useful result is a verified runtime configuration with an explicit accuracy-cost tradeoff, rather than a compression ratio presented as sufficient validation.","example":"An illustrative assistant needs to fit on one workstation accelerator. The engineer compares a lower-bit weight representation with the baseline using the same questions and decoding settings. A held-out suite includes code generation and long instructions. The compressed model fits memory, but one format slows short requests because conversion overhead dominates. Another compatible kernel performs better in the workload. The deployment decision uses actual request measurements and error inspection together.","limits":"Outliers and accumulated rounding error can damage particular layers or tasks, even when average loss changes little. Hardware support, batch size and memory bandwidth determine whether reduced precision improves speed. Calibration data can miss important input ranges. Quantizing weights does not automatically reduce activation or attention-cache memory. Adapter training over quantized weights is a combined procedure, not proof that quantization itself performs adaptation. Validate artifacts after conversion and loading, including configuration and kernel compatibility.","sources":[{"title":"Hugging Face Transformers: Quantization overview","url":"https://huggingface.co/docs/transformers/en/quantization/overview","note":"Supported quantization families, calibration and hardware-dependent execution."},{"title":"GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers","url":"https://arxiv.org/abs/2210.17323","note":"A specific post-training weight quantization method and error-control approach."}],"updatedAt":"2026-10-10"}},{"id":"lora-qlora","name":"LoRA / QLoRA","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"LoRA adapts a model through trainable low-rank weight updates; QLoRA combines that adaptation with a quantized frozen base. The competence is selecting adapter targets and capacity, controlling memory use and verifying the complete loaded model. Low-rank adaptation and reduced-precision storage solve different parts of the training problem.","type":"concept","editorial":{"definition":"LoRA represents an update to a weight matrix as a product of two smaller trainable matrices while the original weight remains frozen. The rank controls the update's representational capacity, and scaling influences its contribution to the layer. Target-module choices determine which computations can adapt. QLoRA retains this adapter-training idea while storing the frozen base in a low-bit format and computing through dequantized values. Its published recipe includes NormalFloat quantization and memory-management techniques. Quantized base weights are not simply trained like ordinary full-precision weights. The canonical label groups related techniques, but a reproducible run must state whether it uses ordinary LoRA or a particular quantized-base configuration.","practice":"Inspect the architecture and choose target modules based on the task rather than copying names from another model. Check trainable parameters, rank, scaling and saved task heads. For QLoRA, confirm the quantization backend, compute dtype and device support, and test a small backward pass. Keep evaluation sources outside adapter training and compare with the base on target and retained tasks. Measure training peak memory and deployment behavior separately. Save base revision, adapter and quantization settings, then reproduce a fresh load and test any merge or export path that deployment requires.","example":"An illustrative team adapts a model to produce consistent laboratory report fields. Limited accelerator memory leads them to test QLoRA. They verify that only the adapter parameters update and inspect samples where a required field is absent. Held-out reports determine whether increasing rank improves field accuracy or merely fits familiar templates. The final loader reconstructs the exact quantized base and adapter, because loading the adapter onto a different revision can change the measured behavior.","limits":"Low rank restricts the available update and may be insufficient for some adaptations. A low trainable-parameter count still leaves base weights, activations and optimizer state to account for. Quantized computation can add approximation and compatibility constraints. Adapter merging and re-quantization require separate validation; they need not reproduce the original loading path exactly. LoRA is not a quantization algorithm, and QLoRA is not a guarantee of quality equivalence to full tuning. Evaluate their chosen configuration on the actual task.","sources":[{"title":"LoRA: Low-Rank Adaptation of Large Language Models","url":"https://arxiv.org/abs/2106.09685","note":"Frozen base weights and trainable low-rank matrix updates."},{"title":"QLoRA: Efficient Finetuning of Quantized LLMs","url":"https://arxiv.org/abs/2305.14314","note":"Quantized-base adapter training and its published numerical and memory techniques."}],"updatedAt":"2026-10-10"}},{"id":"continual-pre-training","name":"Continual Pre-Training","category":"Model Adaptation, Merging & Compression","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Continual pre-training extends a pretrained model's representation learning on additional corpora, often to adapt its language or domain coverage. Practitioners curate the new distribution, preserve important earlier capabilities and measure downstream effects. This skill concerns further language-model learning rather than directly teaching a conversation format or response preference.","type":"concept","editorial":{"definition":"The model resumes an objective such as next-token prediction or masked-token prediction from an existing checkpoint. Domain-adaptive pretraining uses broad text from a target field, while task-adaptive pretraining uses text closer to a particular application. Both can alter vocabulary usage and representations without requiring explicit answer labels. Corpus selection, tokenizer compatibility, sequence packing and the mixture with general text shape the resulting distribution. Continual pre-training is also part of broader sequential learning, where later updates can interfere with earlier knowledge. It differs from instruction tuning because the supervision ordinarily comes from the corpus itself rather than a set of instruction-response demonstrations.","practice":"Establish a downstream need and inspect whether the existing model already handles it. Curate permitted corpora, remove duplicates and low-quality boilerplate, and exclude evaluation documents and close variants. Decide how much general material to retain and whether tokenizer changes are justified by evidence. Monitor held-out language-model loss in the new and earlier domains, then evaluate tasks that represent actual use. Check retained languages and behaviors after each stage. The deliverable is a new pretrained checkpoint with documented corpus composition, update budget and independent evidence that further representation learning benefits the intended application.","example":"An illustrative model must interpret technical maintenance prose with unusual abbreviations. The team continues pretraining on reviewed manuals and historical descriptive notes, holding out entire manual families. They then fine-tune a small extraction task using the same labels for the original and adapted checkpoints. Better domain loss is treated as an intermediate observation; the deciding test is whether the adapted representation improves extraction on unseen equipment without degrading general-language instructions.","limits":"Additional text can reinforce noise, outdated statements or sensitive material. A narrow corpus can reduce broader capability, and repeated documents can dominate learning. Lower in-domain perplexity does not guarantee better downstream performance or accurate factual recall. Tokenizer changes introduce compatibility and initialization decisions that require separate evaluation. Continued pretraining does not make a model's factual content current in a controlled way; retrieval and explicit source handling remain useful when individual facts change frequently.","sources":[{"title":"Don’t Stop Pretraining: Adapt Language Models to Domains and Tasks","url":"https://arxiv.org/abs/2004.10964","note":"Domain-adaptive and task-adaptive pretraining with downstream evaluation."},{"title":"Overcoming catastrophic forgetting in neural networks","url":"https://arxiv.org/abs/1612.00796","note":"Sequential learning interference relevant to retaining earlier capabilities."}],"updatedAt":"2026-10-10"}},{"id":"deepspeed","name":"DeepSpeed","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"DeepSpeed is a training systems library that helps execute large neural-network workloads across available hardware. The competence is configuring memory and communication strategies, integrating the training engine correctly and validating recovery and performance. Its optimizations change how training runs, while the model objective and data quality remain separate responsibilities.","type":"tool","editorial":{"definition":"DeepSpeed wraps model execution, backward computation and optimizer steps with distributed and memory-management features. ZeRO partitions training state across data-parallel workers: its stages progressively shard optimizer states, gradients and model parameters. Offloading can move selected state to other memory tiers, trading accelerator capacity against transfer and processing overhead. Configuration also governs precision, batch sizes and related execution behavior. These mechanisms reduce redundancy or redistribute work rather than altering the task's learning objective. Competence includes recognizing which state dominates memory and how sharding, communication and checkpoint formats affect the complete run, not only enabling a named optimization stage.","practice":"Profile memory and step time before choosing a ZeRO stage or offload strategy. Reconcile microbatch size, accumulation and world size with the intended effective batch. Verify precision support, loss scaling and optimizer ownership in the integration. Run a small distributed smoke test and compare loss behavior with a known baseline. Test checkpoint saving, resumption and export with the planned worker count and deployment loader. The useful result is a reproducible configuration that meets memory constraints with measured throughput and a demonstrated recovery path, including evidence that data is neither skipped nor duplicated unexpectedly.","example":"An illustrative language-model adaptation run exceeds accelerator memory because optimizer state occupies a large share. The engineer first tests state sharding, then compares a more aggressive stage when parameters become the constraint. Offloading fits the run but slows each step, so the choice depends on total experiment time. A deliberately interrupted small run verifies that the restored checkpoint continues with the expected optimizer and scheduler state before the team launches the expensive workload.","limits":"Higher sharding stages can add communication overhead, and offloading depends on host memory and transfer capacity. A model that fits may still train inefficiently. Integration mistakes can create inconsistent effective batches or incorrect update schedules. Sharded checkpoints may need a supported consolidation or loading path. DeepSpeed does not establish model quality, dataset integrity or convergence by itself. Record versions and hardware topology, inspect numerical behavior and compare measured end-to-end performance before attributing gains to configuration changes.","sources":[{"title":"DeepSpeed: Getting Started","url":"https://www.deepspeed.ai/getting-started/","note":"Training engine integration, configuration and checkpoint workflow."},{"title":"DeepSpeed: Zero Redundancy Optimizer","url":"https://www.deepspeed.ai/tutorials/zero/","note":"ZeRO stages, state partitioning and offload configuration."}],"updatedAt":"2026-10-10"}},{"id":"distributed-training","name":"Distributed Training","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Distributed training coordinates model learning across multiple devices or machines. Practitioners decide how to partition data, parameters and computation, then verify that synchronized updates implement the intended objective. The skill includes communication costs, numerical behavior, failure recovery and reproducible comparisons with a smaller trusted training setup.","type":"concept","editorial":{"definition":"Data parallelism gives workers different batches and combines their gradients while maintaining a shared model. Sharded data parallelism distributes parameter, gradient or optimizer state to reduce per-device memory. Tensor parallelism partitions operations within layers, and pipeline parallelism assigns different layers to stages that process microbatches. These approaches can be combined, but impose different communication and scheduling requirements. A distributed process group coordinates collectives such as reductions and gathers. Effective batch size depends on local batches, accumulation and participating workers, while averaging conventions determine the scale of the resulting update. Distributed execution is a systems choice rather than a new learning objective.","practice":"Measure model-state memory, compute time and network capacity to choose a partitioning strategy. Establish a correct single-device reference, then test a small distributed run with controlled data and randomness. Ensure samplers, accumulation, gradient scaling and scheduler steps agree across workers. Profile time spent computing, communicating and waiting for input. Validate full checkpoint recovery and test how partial failures terminate or resume the job. The deliverable should show correct update semantics and useful scaling for the workload, with resource and recovery assumptions explicit enough to reproduce the experiment.","example":"An illustrative classifier expands from one device to several. The engineer distributes disjoint training batches and reduces gradients through data parallelism. They compare an update with an equivalent combined batch on the reference implementation to catch an incorrect loss normalization. Throughput then plateaus because input decoding is slow, so optimizing the data loader helps more than adding workers. A restart test checks that sampler state and checkpoint restoration do not repeat an unintended segment of data.","limits":"Communication, imbalance and input bottlenecks can erase expected scaling gains. Numerical reduction order and mixed precision can alter results, and bitwise reproducibility is not always attainable. More workers can change optimization if effective batch or scheduling is left uncontrolled. Sharding complicates checkpoint loading and inspection. Distinguish data distribution from model partitioning, and assess total run cost rather than reporting device count as evidence of efficiency. A successful launch alone does not establish correct synchronized learning.","sources":[{"title":"PyTorch: Distributed Data Parallel theory","url":"https://docs.pytorch.org/tutorials/beginner/ddp_series_theory.html","note":"Replicated models, distributed inputs and gradient synchronization."},{"title":"PyTorch: Getting Started with Fully Sharded Data Parallel","url":"https://docs.pytorch.org/tutorials/intermediate/FSDP_tutorial.html","note":"Sharded model-state execution and training integration."}],"updatedAt":"2026-10-10"}},{"id":"grpo","name":"GRPO","category":"Alignment","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Group Relative Policy Optimization updates a generating policy using rewards compared within groups of sampled responses. The skill is constructing informative prompt groups, implementing reliable rewards and controlling policy changes. GRPO can support verifiable or learned rewards; its optimizer is distinct from the source of the reward signal.","type":"concept","editorial":{"definition":"GRPO samples multiple completions for a prompt and uses their rewards to estimate relative advantages, commonly by centering and scaling scores within the group. It avoids a separately trained value model in the original formulation, using the group as its baseline instead. A clipped policy objective limits updates relative to the sampling policy, and formulations may include a penalty for divergence from a reference. Group size, generation settings and reward variability affect the learning signal. Modern implementations offer normalization and loss variants, so the exact objective needs documentation. GRPO does not define whether correctness, human preference or another property supplies the reward.","practice":"Test reward functions independently and select prompts where sampled completions exhibit meaningful quality differences. Choose group size and generation limits within the available inference and training budget. Inspect zero-variance groups, reward distributions, completion lengths, clipping and divergence. Keep problem families and solution sources separate from evaluation. Record the implementation's loss and normalization settings, then assess independently verified task accuracy rather than average reward alone. The useful result is a policy improvement with a reproducible sampling and optimization recipe and evidence that the relative signal corresponds to the intended behavior.","example":"An illustrative arithmetic policy generates several solutions for each exercise. A verifier rewards final answers only when parsed values match the expected result. Some easy prompts produce all-correct groups and some difficult prompts all-wrong groups, so the developer inspects how little comparative signal they supply. Training uses a more informative mixture. Evaluation on independently generated exercises checks answer correctness and whether the policy has learned parser-specific tricks rather than transferable arithmetic.","limits":"Relative normalization can interact with prompt difficulty and reward variance, while group sampling adds substantial generation cost. Identical rewards within a group provide weak or absent differentiation. A flawed verifier or biased reward model still produces flawed optimization. Length effects and normalization choices can influence which responses receive pressure. GRPO is neither a guarantee of reasoning nor a synonym for reinforcement learning from verifiable rewards. Evaluate the reward source, policy objective and task behavior as separate components.","sources":[{"title":"DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models","url":"https://arxiv.org/abs/2402.03300","note":"Original group-relative policy optimization formulation."},{"title":"Hugging Face TRL: GRPO Trainer","url":"https://huggingface.co/docs/trl/en/grpo_trainer","note":"Sampling groups, reward functions, normalization choices and training diagnostics."}],"updatedAt":"2026-10-10"}},{"id":"unsloth","name":"Unsloth","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Unsloth supplies tooling and optimized execution paths for language model adaptation and related training workflows. The competence is selecting a supported model and hardware configuration, preparing compatible data and checking that training and export preserve the intended behavior. Performance claims need verification on the actual workload and installed version.","type":"tool","editorial":{"definition":"Unsloth integrates model loading, adapter setup and training workflows with optimizations intended to reduce memory use or execution time. Its documented guides cover tasks such as supervised fine-tuning, low-rank adaptation and reinforcement learning, with support dependent on model family and environment. Optimized kernels and memory strategies are implementation choices, while SFT, LoRA and reward-based training retain their own conceptual definitions. The input contract still includes tokenizer or processor, conversation template and loss masking. Exported adapters or converted models also depend on their target runtime. Competence therefore combines familiarity with the library's supported path and independent understanding of the underlying training procedure.","practice":"Check the current guide for the chosen model, accelerator, precision and quantization combination. Pin dependencies and start with a small reproducible dataset. Inspect rendered conversations, label masks and trainable modules before scaling. Measure memory and step time against a comparable baseline with the same effective batch and sequence length. Reserve evaluation prompts outside training examples, and test the saved adapter or exported model in the deployment loader. The deliverable is a documented configuration and working artifact whose task quality and resource use are demonstrated, rather than an unverified speed claim copied from a general benchmark.","example":"An illustrative developer uses Unsloth to adapt a small assistant to write structured issue summaries. A short trial checks template formatting and completion-only loss. They compare peak memory with a conventional adapter-training setup using identical data and sequence lengths. After training, they export the artifact and rerun unseen issue examples in the target runtime. A formatting discrepancy exposes a missing chat-template setting, which is fixed before the model is considered ready.","limits":"Supported architectures, installation requirements and export routes can change. Results from one model or hardware configuration need not transfer to another. An optimization can reduce memory while shifting time to preprocessing or generation, so end-to-end measurement matters. Incorrect templates or labels remain harmful even when the training code runs efficiently. Unsloth is a toolchain, not a distinct alignment objective. Validate quality and a fresh deployment load after each material version or conversion change.","sources":[{"title":"Unsloth Documentation","url":"https://unsloth.ai/docs","note":"Official scope, installation and training workflow documentation."},{"title":"Unsloth: Fine-tuning LLMs Guide","url":"https://unsloth.ai/docs/get-started/fine-tuning-llms-guide","note":"Data preparation, model configuration and fine-tuning workflow."}],"updatedAt":"2026-10-10"}},{"id":"federated-learning","name":"Federated Learning","category":"Training Infrastructure","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Federated learning trains a shared model from data held by separate participants without routinely collecting all raw examples in one place. The competence is designing local updates, aggregation and evaluation under heterogeneous data and unreliable participation. Keeping data local is an architectural property, not a complete privacy guarantee.","type":"concept","editorial":{"definition":"A coordinator distributes model parameters to selected participants, each trains locally, and an aggregation rule combines returned updates. Federated averaging weights local model contributions according to an agreed procedure, commonly related to local data volume. Participants may be devices or organizations and can have different data distributions, compute capacity and availability. Multiple local steps reduce communication but can increase divergence between participants. The system must account for who contributes and how updates are validated. Secure aggregation and differential privacy are additional mechanisms with separate assumptions; the ordinary federated training protocol does not automatically prevent sensitive information from appearing in transmitted updates.","practice":"Define participants, participation rules and the trust model before choosing a protocol. Measure data heterogeneity and compare local-only, centralized reference where permitted and federated baselines. Configure local steps, weighting and communication rounds, and test dropped or delayed participants. Keep evaluation users or organizations separate from training participants where the generalization question requires it. Evaluate each participant group as well as the aggregate. The result includes an aggregation procedure, privacy and robustness controls appropriate to the threat model, and evidence that the shared model serves participants beyond those dominating the update volume.","example":"In an illustrative collaboration, several laboratories hold differently distributed sensor observations. Each trains a shared classifier locally and returns an update. Evaluation shows that an aggregation favoring large laboratories performs poorly on a smaller site's operating conditions. The team inspects per-site results, changes the participation and weighting policy and tests a previously unseen laboratory. They also assess update exposure separately, because no raw-data transfer alone does not establish confidentiality.","limits":"Nonidentical data, uneven participation and stale updates can slow convergence or disadvantage small groups. Malicious or faulty updates can corrupt aggregation, and ordinary updates may leak information. Privacy protections introduce their own utility and system costs. A centralized test set can conceal participant-specific failures, while local tests may not be comparable. Federated learning differs from distributed training over centrally managed data and from secure multiparty computation. State the actual trust and privacy mechanisms and evaluate both shared and participant-level utility.","sources":[{"title":"Communication-Efficient Learning of Deep Networks from Decentralized Data","url":"https://arxiv.org/abs/1602.05629","note":"Federated averaging, local updates and decentralized heterogeneous data."},{"title":"Advances and Open Problems in Federated Learning","url":"https://arxiv.org/abs/1912.04977","note":"Research account of heterogeneity, privacy, robustness and deployment constraints."}],"updatedAt":"2026-10-10"}},{"id":"instruction-tuning","name":"Instruction Tuning","category":"Fine-Tuning & PEFT","subcategory":null,"section_id":"model-training-fine-tuning-alignment","section_name":"Model Training, Fine-Tuning & Alignment","description":"Instruction tuning trains a model on examples that express a task in natural language and show a suitable response. Practitioners design task diversity, instructions and demonstrations so behavior generalizes beyond memorized templates. It is a particular supervised fine-tuning formulation, with instruction following as the capability being developed and evaluated.","type":"concept","aliases":["Instruction-Tuning","Instruction Fine-Tuning"],"editorial":{"definition":"Each example specifies what the model should do, often with additional input, and supplies a target answer. A mixture can include classification, transformation, explanation and generation tasks expressed through different instructions. The supervised objective teaches the model to condition its response on the requested operation and constraints. Task breadth and instruction variation matter because merely repeating one prompt can teach a narrow mapping rather than general instruction following. Multi-turn examples add conversation roles and context dependencies. Instruction tuning differs from continual pretraining on raw text and from preference optimization, which compares candidate responses instead of simply imitating a demonstrated answer.","practice":"Define the desired instruction behaviors, then select diverse, reviewed tasks and consistent response conventions. Include constraints such as requested format, missing information and conflicting context where they matter. Audit synthetic demonstrations for factual errors and duplicated evaluation tasks. Split by task families and source material, inspect chat templates and target masking, and balance frequent tasks against less common requirements. Evaluate unseen instruction phrasings and tasks alongside retained knowledge and language coverage. The deliverable is an adapted model with evidence of broader instruction conditioning, plus a documented dataset mixture and response rubric.","example":"An illustrative assistant learns to transform short workplace notes into either a summary, action list or structured record according to the request. Training varies wording and includes examples where there are no actions. Evaluation holds out note sources and new instruction phrasings. The developer checks that changing only the requested operation changes the answer appropriately, rather than always returning the most frequent training format. New task families provide a harder test of generalization.","limits":"Demonstrations can contain unsupported facts or encode an overly uniform style. Apparent instruction following may depend on templates, language or task overlap. Models can follow some constraints while ignoring others, especially with long or conflicting contexts. Supervised imitation does not settle how competing instructions should be prioritized in every situation. Instruction tuning is narrower than SFT as a general method and does not directly optimize comparative preferences. Evaluate the specific requested behavior and novel tasks, not just similarity to reference answers.","sources":[{"title":"Finetuned Language Models Are Zero-Shot Learners","url":"https://arxiv.org/abs/2109.01652","note":"Instruction-formatted task mixtures and generalization to unseen tasks."},{"title":"Hugging Face TRL: SFT Trainer","url":"https://huggingface.co/docs/trl/en/sft_trainer","note":"Implementation of supervised instruction-response training and target loss configuration."}],"updatedAt":"2026-10-10"}}],"sections":[{"id":"mathematical-statistical-foundations","name":"Mathematical & Statistical Foundations","skills":["calculus-for-machine-learning","causal-inference","a-b-testing","information-theory","linear-algebra","mathematical-optimization","operations-research","scheduling-algorithms","search-algorithms","bayesian-statistics","monte-carlo-simulation","probability-theory","quantitative-research","statistical-inference","hypothesis-testing"]},{"id":"classical-machine-learning-modeling","name":"Classical Machine Learning & Modeling","skills":["anomaly-detection","exploratory-data-analysis","model-evaluation","predictive-analytics","time-series-forecasting","hyperparameter-optimization","recommender-systems","reinforcement-learning","multi-armed-bandits","classical-machine-learning","gradient-boosting","regression-analysis","unsupervised-learning","prophet","automl","optuna","catboost","classification","decision-trees","ensemble-learning","lightgbm","random-forests","supervised-machine-learning","support-vector-machines","xgboost","cluster-analysis","naive-bayes","hdbscan","smote","sarima","arima","class-imbalance-handling","logistic-regression","k-nearest-neighbors","k-means-clustering","isolation-forest","dbscan","cross-validation","linear-regression","principal-component-analysis"]},{"id":"deep-learning-foundation-model-architectures","name":"Deep Learning & Foundation Model Architectures","skills":["hugging-face","jax","pytorch","tensorflow","deep-learning","edge-ai","open-source-llms","comfyui","diffusion-models","video-generation","graph-neural-networks","multimodal-ai","convolutional-neural-networks","mixture-of-experts","recurrent-neural-networks","state-space-models","transformer-architecture","reasoning-models","transfer-learning","long-context-modeling","litert-tensorflow-lite","nvidia-jetson","large-language-models","generative-adversarial-networks-gan","generative-architectures","hugging-face-diffusers","image-generation","stable-diffusion","pytorch-geometric","model-pruning","autoencoders","contrastive-learning","model-training","resnet","efficientnet","gated-recurrent-unit","roberta","keras","long-short-term-memory","bert"]},{"id":"natural-language-processing-computer-vision","name":"Natural Language Processing & Computer Vision","skills":["audio-ai","computer-vision","object-detection","opencv","vision-language-models","nlp","tokenization","multilingual-nlp","named-entity-recognition","semantic-search","audio-processing","elevenlabs","librosa","speech-recognition","text-to-speech","whisper","detectron2","emotion-recognition","facial-recognition","image-classification","image-segmentation","mmdetection","mediapipe","object-tracking","yolo","dlib","gensim","nltk","spacy","information-retrieval","intent-detection","natural-language-understanding-nlu","summarization","text-classification","word2vec","tf-idf","topic-modeling","text-preprocessing","sentiment-analysis","information-extraction","question-answering"]},{"id":"model-training-fine-tuning-alignment","name":"Model Training, Fine-Tuning & Alignment","skills":["direct-preference-optimization","rlhf","reinforcement-learning-from-verifiable-rewards","reward-modeling","catastrophic-forgetting","fine-tuning-evaluation","hugging-face-peft","hugging-face-trl","llm-fine-tuning","supervised-fine-tuning-sft","model-merging","knowledge-distillation","model-quantization","lora-qlora","continual-pre-training","deepspeed","distributed-training","grpo","unsloth","federated-learning","instruction-tuning"]},{"id":"prompt-engineering-model-interaction","name":"Prompt Engineering & Model Interaction","skills":["context-engineering","synthetic-data-generation","llm-decoding-strategies","prompt-caching","token-optimization","anthropic-api","openai-api","llm-api-integration","semantic-routing","in-context-learning","prompt-engineering","system-prompt-design","prompt-management","automated-prompt-optimization","dspy","program-aided-lms-pal","self-consistency","structured-llm-outputs","test-time-compute-scaling","google-gemini-api","chain-of-thought-prompting"]},{"id":"retrieval-augmented-generation-knowledge-systems","name":"Retrieval-Augmented Generation & Knowledge Systems","skills":["agentic-rag","multimodal-rag","query-optimization","self-reflective-rag","embedding-models","neo4j","ai-grounding-citations","document-ai","document-chunking","graphrag","knowledge-graphs","visual-document-retrieval","retrieval-augmented-generation","hybrid-search","search-re-ranking","faiss","vector-databases","pgvector","sentence-transformers","graph-databases","azure-document-intelligence","contextual-retrieval","bm25","dense-retrieval","opensearch","chroma","lancedb","metadata-filtering","milvus","pinecone","qdrant","vector-indexing","weaviate","cross-encoder-reranking","multi-vector-retrieval"]},{"id":"agentic-ai-systems","name":"Agentic AI Systems","skills":["code-execution-agents","computer-use-ai","deep-research-agents","text-to-sql","voice-agents","ai-agent-design","agent-state-management","agentic-planning-task-decomposition","reflection-self-refinement","self-improving-agents","ai-guardrails","agent-sandboxing","human-in-the-loop-ai","resource-aware-agent-optimization","langchain","langgraph","llamaindex","pydantic-ai","agent-memory-systems","model-context-protocol","multi-agent-coordination-patterns","multi-agent-debate","multi-agent-orchestration","a2a-protocol","llm-function-calling","conversational-ai","dialogflow","dialogue-systems","livekit","rasa","agent-frameworks","crewai","google-adk","microsoft-autogen-agent-framework","semantic-kernel","langflow","low-code-ai-automation","microsoft-copilot-studio","n8n","multi-agent-systems","mcp-gateway-tool-governance","agent-write-action-verification"]},{"id":"llmops-model-serving-inference-optimization","name":"LLMOps, Model Serving & Inference Optimization","skills":["llm-api-gateway","litellm","ci-cd","ml-ci-cd","docker","ai-cost-optimization","ai-finops","semantic-caching","serverless-ai","mlflow","weights-biases","gpu-kernel-programming","inference-optimization","kv-cache-optimization","speculative-decoding","ollama","llama-cpp","kubernetes","kubeflow","bentoml","kserve","llm-inference-serving","ray-serve","sglang","vllm","model-retraining","reproducibility","model-deployment","experiment-tracking","cuda","gpu-acceleration","flashattention","openvino","tensorrt","onnx","onnx-runtime","nvidia-triton-inference-server","tensorrt-llm","torchserve","real-time-inference","disaggregated-inference-serving"]},{"id":"ai-evaluation-observability","name":"AI Evaluation & Observability","skills":["benchmark-analysis","llm-benchmarking","stochastic-system-debugging","agent-evaluation","llm-evaluation-design","llm-as-judge","deepeval","llm-evaluation-frameworks","llm-testing","data-drift","ml-monitoring","llm-observability","langfuse","ai-output-verification","rag-evaluation","ragas","hallucination-detection","bertscore","bleu","rouge","trulens","evidently","langsmith","opentelemetry","rag-faithfulness-evaluation","agentic-task-environment-design"]},{"id":"ai-safety-security-governance-ethics","name":"AI Safety, Security, Governance & Ethics","skills":["secure-rag","ai-data-security","agent-identity-access-management","ai-rate-limiting","ai-supply-chain-security","ai-toxicity-analysis","ai-ethics","ai-fairness","explainable-ai","mechanistic-interpretability","ai-auditability","iso-42001","nemo-guardrails","prompt-injection-defense","presidio","ai-watermarking","ai-red-teaming","adversarial-ai-testing","eu-ai-act-compliance","nist-ai-rmf","agent-threat-modeling-maestro","owasp-top-10-for-llm-applications","saif","lime","shap","ai-incident-response-reporting"]},{"id":"data-engineering-pipelines","name":"Data Engineering & Pipelines","skills":["data-mesh","databricks-unity-catalog","data-contracts","document-parsing","web-scraping","data-modeling","pii-management","data-quality-management","data-observability","entity-resolution","nosql","data-curation","data-labeling-annotation","dataset-engineering","evaluation-data-engineering","training-data-curation","apache-spark","etl-pipeline-design","apache-kafka","stream-processing","event-driven-architecture","apache-iceberg","dbt","data-versioning","bigquery","databricks","snowflake","apache-airflow","beautifulsoup","data-ingestion","optical-character-recognition-ocr","scrapy","tesseract","cvat","data-augmentation","label-studio","kedro","dvc","dagster","prefect","workflow-orchestration","data-cleaning","pii-redaction"]},{"id":"software-engineering-for-ai","name":"Software Engineering for AI","skills":["ai-code-generation","api-development","fastapi","streamlit","duckdb-polars","ai-assisted-development","feature-engineering","python","r","rust","sql","shell-scripting","numpy","pandas","scikit-learn","software-testing","git","github","claude-code","github-copilot","flask","dash","feast","computational-notebooks","jupyter","geopandas","matplotlib","plotly","scipy","seaborn","statsmodels","hypothesis","data-preprocessing-for-ml","feature-scaling","feature-extraction","feature-selection"]},{"id":"cloud-ai-platform-infrastructure","name":"Cloud & AI Platform Infrastructure","skills":["amazon-bedrock","amazon-sagemaker","azure-openai-service","aws","microsoft-azure","distributed-systems","google-vertex-ai","iac-infrastructure-as-code","terraform","aws-fargate","amazon-emr","amazon-textract","azure-ai-search","azure-machine-learning","foundry-tools","microsoft-foundry","cloud-platforms","google-cloud-platform-gcp","dask","hpc-cluster-computing","ray","cloud-run","google-cloud-build","google-cloud-data-fusion"]},{"id":"ai-product-collaboration-professional-practice","name":"AI Product, Collaboration & Professional Practice","skills":["research-to-engineering-translation","technical-mentoring","cross-functional-collaboration","data-storytelling","technical-stakeholder-management","data-visualization","domain-expertise","ai-team-leadership","technical-facilitation","rapid-prototyping","ai-product-management","ai-requirements-engineering","ai-risk-management","ai-ux-design","gradio","shiny","scientific-writing","apache-superset","dashboards","geospatial-data","metrics-definition","skills-taxonomy-architecture-mapping"]}],"ontology":[],"prerequisites":[{"skill":"Reinforcement Learning from Verifiable Rewards","skill_id":"reinforcement-learning-from-verifiable-rewards","prerequisite":"RLHF","prerequisite_id":"rlhf","strength":"hard","rationale":"RLVR swaps the human-preference reward for an automatic verifier."},{"skill":"Reinforcement Learning from Verifiable Rewards","skill_id":"reinforcement-learning-from-verifiable-rewards","prerequisite":"Direct Preference Optimization","prerequisite_id":"direct-preference-optimization","strength":"soft","rationale":"Sits in the same preference/RL post-training family."}],"fieldNotes":{},"fieldNotesVersion":"2026-10-10"},"glossary":{"version":"2026-06-26+editorial-glossary-2026-01","count":8,"categories":["Agentownosc","Debata","Inne","Karpathy","Kultura","LLMOps","Produkty","Regulacje","Safety","Trening"],"entries":[{"id":"grpo","idx":4,"term":"Group Relative Policy Optimization (GRPO)","category":"Trening","round":"R1","year":"2024-02-05","author":"Zhihong Shao and the DeepSeekMath research team introduced GRPO as a variant of Proximal Policy Optimization.","description":"Group Relative Policy Optimization (GRPO) is an online reinforcement-learning algorithm for updating a policy from groups of completions sampled for the same prompt. It computes an advantage by comparing each completion's reward with rewards in its group, then optimizes the policy with a clipped objective and optional reference-policy penalty. GRPO removes PPO's separately trained value or critic model; it does not inherently remove reward functions or reward models.","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3. GRPO has a clear originating paper, a prominent later application, maintained independent implementation support, and active research that tests and revises its objective. It remains below 4 because published variants differ materially, reliable outcomes depend on reward and sampling design, and independent work has identified optimization biases in the original formulation.","pl_status":"🔤","pl_term":"GRPO","pl_comment":"Akronim DeepSeek","relation_count":5,"references":[["DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models","https://arxiv.org/abs/2402.03300","paper"],["GRPO Trainer","https://huggingface.co/docs/trl/grpo_trainer","independent_implementation"],["DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","https://arxiv.org/abs/2501.12948","paper"],["Understanding R1-Zero-Like Training: A Critical Perspective","https://arxiv.org/abs/2503.20783","paper"]],"skill_id":"reinforcement-learning","editorial":{"id":"grpo","identity":{"canonicalName":"Group Relative Policy Optimization (GRPO)","aliases":["Group Relative Policy Optimization","GRPO training","GRPO algorithm"],"category":"Trening","lifecycle":"established","firstSeenDate":"2024-02-05","firstSeenNote":"The DeepSeekMath paper that introduced Group Relative Policy Optimization was submitted on 5 February 2024; the base catalog's 2025 date conflated the method's origin with later attention around DeepSeek-R1.","originAttribution":"Zhihong Shao and the DeepSeekMath research team introduced GRPO as a variant of Proximal Policy Optimization.","maturity":3},"content":{"definition":{"text":"Group Relative Policy Optimization (GRPO) is an online reinforcement-learning algorithm for updating a policy from groups of completions sampled for the same prompt. It computes an advantage by comparing each completion's reward with rewards in its group, then optimizes the policy with a clipped objective and optional reference-policy penalty. GRPO removes PPO's separately trained value or critic model; it does not inherently remove reward functions or reward models.","sourceIds":["s1","s2"]},"originContext":{"text":"DeepSeek introduced GRPO in the DeepSeekMath paper submitted in February 2024, primarily to reduce the memory overhead associated with PPO while training mathematical reasoning. DeepSeek-R1 later used GRPO-family reinforcement learning in a much more visible reasoning-model program. Hugging Face's independent TRL implementation subsequently exposed the algorithm, reward interfaces, and several revised loss variants to practitioners.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"A critic model can be expensive to train and hold in memory alongside the policy and reference model. By estimating relative advantages within each sampled group, GRPO can simplify that part of the reinforcement-learning stack. Its usefulness is broader than mathematics when a task supplies defensible reward signals, but the method's popularity should not be confused with evidence that it is universally cheaper, more stable, or better than PPO.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"For one math prompt, a trainer samples eight candidate solutions, scores each with an answer checker, normalizes those scores within the group, and increases the likelihood of relatively better completions. The same structure can use a learned reward model or a callable reward function. If training merely selects the highest-scoring output without updating a policy, it is best-of-N sampling rather than GRPO.","sourceIds":["s1","s2"]},"maturityRationale":{"text":"Maturity is rated 3. GRPO has a clear originating paper, a prominent later application, maintained independent implementation support, and active research that tests and revises its objective. It remains below 4 because published variants differ materially, reliable outcomes depend on reward and sampling design, and independent work has identified optimization biases in the original formulation.","sourceIds":["s1","s2","s3","s4"]},"limitations":{"text":"Group-relative normalization requires multiple completions per prompt and can be uninformative when every completion receives the same reward. Reward quality, group size, clipping, KL settings, and loss normalization all affect training. Independent analysis found a response-length bias in the original objective, while current libraries expose modified formulations. Implementations should report the exact loss and avoid presenting GRPO as synonymous with RLVR or reasoning training generally.","sourceIds":["s2","s4"]}},"sources":[{"id":"s1","title":"DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models","url":"https://arxiv.org/abs/2402.03300","publisher":"DeepSeek / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2024-02-05","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s2","title":"GRPO Trainer","url":"https://huggingface.co/docs/trl/grpo_trainer","publisher":"Hugging Face","quality":"A","role":"independent","kind":"independent_implementation","publishedAt":"2026","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s3","title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","publisher":"DeepSeek / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2025-01-22","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"},{"id":"s4","title":"Understanding R1-Zero-Like Training: A Critical Perspective","url":"https://arxiv.org/abs/2503.20783","publisher":"National University of Singapore / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-03-26","accessedAt":"2026-09-03","verifiedAt":"2026-09-03"}],"relations":{"relatedTermIds":["rlvr","rlhf","dpo","reward-hacking","post-training"],"relatedSkillIds":["reinforcement-learning","reinforcement-learning-from-verifiable-rewards","reward-modeling"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/reinforcement-learning"]},"seo":{"title":"GRPO: Group Relative Policy Optimization","description":"Understand how GRPO trains a policy from groups of scored completions, how it differs from PPO and RLVR, and which implementation choices can bias results."},"updatedAt":"2026-09-03","indexable":true}},{"id":"test-time-compute","idx":5,"term":"Test-time compute","category":"Trening","round":"R1","year":"2024-08-06","author":"Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar gave the LLM test-time scaling problem a systematic compute-allocation treatment in 2024; OpenAI subsequently used the same train-time versus test-time distinction when presenting o1.","description":"Test-time compute is the computation allocated after a prompt arrives and before an answer is finalized. For a language model, scaling it can mean generating several candidate solutions and selecting among them with a verifier, or allowing a trained model to use a longer adaptive reasoning process. It is a resource-allocation strategy, not a model family or a training algorithm: the inference budget can vary while the underlying model remains the same.","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3 rather than 4. The concept has a clear academic formulation and an independently documented production-model example, and related work appears in more than one organization. However, the best allocation method remains task-dependent, terminology overlaps with inference-time scaling, and the evidence does not support treating increased inference compute as a universal improvement.","pl_status":"🆕","pl_term":"Skalowanie compute w inferencji","pl_comment":"Można po polsku, choć \"test-time compute\" dominuje w branżowym dyskursie PL","relation_count":4,"references":[["Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters","https://arxiv.org/abs/2408.03314","paper"],["Learning to reason with LLMs","https://openai.com/index/learning-to-reason-with-llms/","source_announcement"],["DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","https://arxiv.org/abs/2501.12948","paper"]],"skill_id":"test-time-compute-scaling","editorial":{"id":"test-time-compute","identity":{"canonicalName":"Test-time compute","aliases":["test-time scaling","inference-time compute","inference-time scaling"],"category":"Trening","lifecycle":"established","firstSeenDate":"2024-08-06","firstSeenNote":"Operational date for the current LLM-specific scaling formulation in Snell et al.; the broader idea of spending computation at inference predates this paper.","originAttribution":"Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar gave the LLM test-time scaling problem a systematic compute-allocation treatment in 2024; OpenAI subsequently used the same train-time versus test-time distinction when presenting o1.","maturity":3},"content":{"definition":{"text":"Test-time compute is the computation allocated after a prompt arrives and before an answer is finalized. For a language model, scaling it can mean generating several candidate solutions and selecting among them with a verifier, or allowing a trained model to use a longer adaptive reasoning process. It is a resource-allocation strategy, not a model family or a training algorithm: the inference budget can vary while the underlying model remains the same.","sourceIds":["s1","s2"]},"originContext":{"text":"In August 2024, Snell and colleagues studied how additional inference computation should be allocated for difficult LLM prompts. They compared verifier-guided search with an approach that adaptively changes the model's response distribution, and argued that the effective strategy depends on problem difficulty. In September 2024, OpenAI explicitly separated train-time reinforcement learning from time spent thinking at test time when reporting the behavior of o1. These sources document a research formulation and a deployed example; they do not establish that either group coined the general phrase.","sourceIds":["s1","s2"]},"whyItMatters":{"text":"Test-time compute moves part of the capability-and-cost decision from model training to each inference request. A system can reserve a larger budget for a hard mathematics, coding, or planning problem without paying that cost on every simple query. Snell et al. found that compute allocation should be adapted to the prompt and reported conditions in which a smaller model with additional inference work surpassed a much larger model at matched FLOPs. OpenAI separately reported that o1 performance improved with more time spent thinking. These results make latency, cost, verification quality, and task difficulty joint design variables rather than afterthoughts.","sourceIds":["s1","s2"]},"usageExample":{"text":"For a difficult contest-math question, a test-time scaling system might generate multiple proposed proofs, score intermediate steps with a process-based verifier, and spend the remaining budget refining the strongest path. Another system may allocate a longer internal reasoning interval to the same prompt. For a routine formatting request, both strategies may add cost and delay without a meaningful benefit. The useful decision is therefore not simply whether to think longer, but how much computation to allocate and which search or reasoning mechanism is appropriate for this particular input.","sourceIds":["s1","s2"]},"distinctions":[{"termId":"reasoning-models","explanation":{"text":"A reasoning model is a category of model trained and presented for multi-step problem solving. Test-time compute is the inference resource or procedure applied to a request. Reasoning models often expose a controllable thinking budget, but test-time scaling can also search or rerank outputs from models not marketed as reasoning models.","sourceIds":["s1","s2"]}},{"termId":"rlvr","explanation":{"text":"RLVR is a training-time method that uses automatically checkable rewards on tasks such as mathematics or code. It can help produce reasoning behavior, as the DeepSeek-R1 work illustrates, but it occurs before deployment. Test-time compute concerns what happens after the trained model receives a prompt.","sourceIds":["s2","s3"]}}],"maturityRationale":{"text":"Maturity is rated 3 rather than 4. The concept has a clear academic formulation and an independently documented production-model example, and related work appears in more than one organization. However, the best allocation method remains task-dependent, terminology overlaps with inference-time scaling, and the evidence does not support treating increased inference compute as a universal improvement.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"More test-time compute does not guarantee a better answer. Snell et al. report that strategy effectiveness varies with prompt difficulty and the base model's initial chance of success. Longer reasoning also increases latency and operating cost, while verifier-guided search depends on verifier quality. Vendor evaluations can demonstrate a system under stated settings, but they do not establish the optimal budget for other models, tasks, or deployment constraints.","sourceIds":["s1","s2"]}},"sources":[{"id":"s1","title":"Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters","url":"https://arxiv.org/abs/2408.03314","publisher":"arXiv; Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar","quality":"A","role":"primary","kind":"paper","publishedAt":"2024-08-06","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s2","title":"Learning to reason with LLMs","url":"https://openai.com/index/learning-to-reason-with-llms/","publisher":"OpenAI","quality":"A","role":"independent","kind":"source_announcement","publishedAt":"2024-09-12","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s3","title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","publisher":"arXiv; DeepSeek-AI et al.","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-01-22","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"}],"relations":{"relatedTermIds":["reasoning-models","rlvr","reasoning-effort-thinking-budget","verifier-model"],"relatedSkillIds":["test-time-compute-scaling","reasoning-models","reinforcement-learning-from-verifiable-rewards"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/test-time-compute-scaling"]},"seo":{"title":"What Is Test-Time Compute? | AI Glossary","description":"Test-time compute allocates more inference work to harder prompts. Learn how it differs from reasoning models and RLVR, with evidence and limits."},"updatedAt":"2026-08-27","indexable":true}},{"id":"reasoning-models","idx":6,"term":"Reasoning models","category":"Trening","round":"R1","year":"2024-09-12","author":"OpenAI's o1 release made the current category visible in September 2024, and the independently developed DeepSeek-R1 family documented a second prominent training approach and implementation in January 2025.","description":"Reasoning models are language models trained and deployed to devote intermediate computation to multi-step problems before returning a final answer. They may refine a chain of thought, check intermediate work, backtrack, or try another strategy. The label describes a model category and intended behavior, not a guarantee of logically valid reasoning and not one mandatory training recipe. OpenAI o1 and DeepSeek-R1 are two independently documented examples.","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3. The category is documented by at least two independent model developers and is linked to concrete training and inference practices, so it is more than a single-product label. It is not rated 4 because there is no shared technical definition, vendor terminology remains fluid, and public evidence does not justify a claim that the category is used uniformly across the industry.","pl_status":"🆕","pl_term":"modele rozumujące","pl_comment":"Naturalna kalka, używana w polskich artykułach branżowych obok \"reasoning models\"","relation_count":5,"references":[["Learning to reason with LLMs","https://openai.com/index/learning-to-reason-with-llms/","source_announcement"],["DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","https://arxiv.org/abs/2501.12948","paper"],["Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters","https://arxiv.org/abs/2408.03314","paper"]],"skill_id":"reasoning-models","editorial":{"id":"reasoning-models","identity":{"canonicalName":"Reasoning models","aliases":["reasoning LLMs","thinking models"],"category":"Trening","lifecycle":"established","firstSeenDate":"2024-09-12","firstSeenNote":"Operational start date for the current product-and-research category, anchored to the public o1-preview release; it is not a claim that OpenAI coined every earlier use of the phrase.","originAttribution":"OpenAI's o1 release made the current category visible in September 2024, and the independently developed DeepSeek-R1 family documented a second prominent training approach and implementation in January 2025.","maturity":3},"content":{"definition":{"text":"Reasoning models are language models trained and deployed to devote intermediate computation to multi-step problems before returning a final answer. They may refine a chain of thought, check intermediate work, backtrack, or try another strategy. The label describes a model category and intended behavior, not a guarantee of logically valid reasoning and not one mandatory training recipe. OpenAI o1 and DeepSeek-R1 are two independently documented examples.","sourceIds":["s1","s2"]},"originContext":{"text":"The current category became visible with OpenAI's public release of o1-preview on 12 September 2024. OpenAI described a model trained with large-scale reinforcement learning to improve its chain of thought and reported gains from both train-time reinforcement learning and additional thinking time at test time. On 22 January 2025, DeepSeek-AI released the first version of its R1 paper, calling R1-Zero and R1 its first-generation reasoning models. R1-Zero used reinforcement learning without supervised fine-tuning as a preliminary stage, while R1 added cold-start data and multi-stage training. Together, the sources support a cross-organization category without proving a single originator of the phrase.","sourceIds":["s1","s2"]},"whyItMatters":{"text":"Reasoning models make additional computation available for tasks where an immediate completion is often insufficient, including mathematics, coding, scientific questions, and structured planning. OpenAI describes o1 learning to identify mistakes, simplify difficult steps, and switch approaches. DeepSeek reports self-reflection, verification, and dynamic strategy adaptation emerging under reinforcement learning. The practical change is not that every response becomes more reliable; it is that developers can choose a model family designed to spend more effort on problems that benefit from decomposition and checking, accepting additional cost and latency where justified.","sourceIds":["s1","s2"]},"usageExample":{"text":"For a competition-math problem, a conventional chat model may produce a direct solution in one pass. A reasoning model may instead explore candidate derivations, notice that an assumption fails, backtrack, and attempt a different route before presenting its answer. The intermediate process may remain internal or be summarized by the product. A longer process is therefore an implementation behavior, not evidence by itself that the final result is correct, even when the intermediate trace sounds fluent; the answer still needs task-appropriate verification.","sourceIds":["s1","s2"]},"distinctions":[{"termId":"test-time-compute","explanation":{"text":"Reasoning models are a model category. Test-time compute is the amount and allocation of inference work after a prompt arrives. A reasoning model can use a larger or smaller thinking budget, while test-time scaling can also generate, search, or rerank outputs from other models.","sourceIds":["s1","s3"]}},{"termId":"rlvr","explanation":{"text":"RLVR is a training method based on rewards that can be checked automatically, especially for domains such as mathematics and code. DeepSeek-R1 shows that reinforcement learning on verifiable tasks can develop reasoning behaviors, but a reasoning model may use multi-stage training or other methods. The category and the recipe are not synonyms.","sourceIds":["s1","s2"]}}],"maturityRationale":{"text":"Maturity is rated 3. The category is documented by at least two independent model developers and is linked to concrete training and inference practices, so it is more than a single-product label. It is not rated 4 because there is no shared technical definition, vendor terminology remains fluid, and public evidence does not justify a claim that the category is used uniformly across the industry.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"The word reasoning is a behavioral and product label, not proof that a model's intermediate process is faithful, complete, or human-like. The core sources report evaluations from the organizations that built the models, so broader independent testing remains important. Performance depends on the task, evaluation design, inference budget, and verification method. The available evidence supports examples from OpenAI and DeepSeek; it does not support saying that every major laboratory has adopted the same category or architecture.","sourceIds":["s1","s2","s3"]}},"sources":[{"id":"s1","title":"Learning to reason with LLMs","url":"https://openai.com/index/learning-to-reason-with-llms/","publisher":"OpenAI","quality":"A","role":"primary","kind":"source_announcement","publishedAt":"2024-09-12","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s2","title":"DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning","url":"https://arxiv.org/abs/2501.12948","publisher":"arXiv; DeepSeek-AI et al.","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-01-22","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"},{"id":"s3","title":"Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters","url":"https://arxiv.org/abs/2408.03314","publisher":"arXiv; Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-08-06","accessedAt":"2026-08-27","verifiedAt":"2026-08-27"}],"relations":{"relatedTermIds":["test-time-compute","rlvr","chain-of-thought-monitorability","deliberative-alignment","arc-agi"],"relatedSkillIds":["reasoning-models","test-time-compute-scaling","reinforcement-learning-from-verifiable-rewards"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/reasoning-models"]},"seo":{"title":"Reasoning Models Explained | AI Glossary","description":"Reasoning models spend intermediate computation on multi-step problems. See how they differ from test-time compute and RLVR, with limits."},"updatedAt":"2026-08-27","indexable":true}},{"id":"dapo-decoupled-clip-and-dynamic-sampling-policy-optimization","idx":128,"term":"Decoupled Clip and Dynamic sAmpling Policy Optimization (DAPO)","category":"Trening","round":"R2","year":"2025-03-18","author":"Qiying Yu and the ByteDance Seed–Tsinghua AIR collaboration introduced DAPO as both a policy-optimization algorithm and the central recipe in an open large-scale LLM reinforcement-learning system.","description":"DAPO stands for Decoupled Clip and Dynamic sAmpling Policy Optimization. It is a reinforcement-learning recipe for LLM reasoning, built on the group-relative policy-optimization family. Its four components are Clip-Higher, dynamic sampling, token-level policy-gradient loss and overlong reward shaping. The name also identifies the authors’ open training system. DAPO changes how a model is trained; it is not an inference-time search method or another name for Direct Preference Optimization (DPO).","speculative":false,"maturity":3,"maturity_basis":"Maturity is rated 3. DAPO has a public algorithm, released artifacts, a NeurIPS 2025 publication and an independent comparative preprint examining its mechanisms. The base score of 2 is therefore stale. A score of 4 would require broader evidence of sustained adoption across independent production or research stacks and more stable agreement on which components drive gains; current comparative evidence continues to revise those choices.","pl_status":null,"pl_term":null,"pl_comment":"The inherited Polish term describes agentic misalignment and belongs to another record. It is removed pending a dedicated DAPO localization review.","relation_count":5,"references":[["DAPO: An Open-Source LLM Reinforcement Learning System at Scale","https://arxiv.org/abs/2503.14476","paper"],["DAPO: An Open-Source LLM Reinforcement Learning System at Scale","https://seed.bytedance.com/en/public_papers/dapo-an-open-source-llm-reinforcement-learning-system-at-scale","paper"],["DCPO: Dynamic Clipping Policy Optimization","https://arxiv.org/abs/2509.02333","paper"],["Direct Preference Optimization: Your Language Model is Secretly a Reward Model","https://arxiv.org/abs/2305.18290","paper"]],"skill_id":"reinforcement-learning","editorial":{"id":"dapo-decoupled-clip-and-dynamic-sampling-policy-optimization","identity":{"canonicalName":"Decoupled Clip and Dynamic sAmpling Policy Optimization (DAPO)","aliases":["DAPO","DAPO algorithm","Decoupled Clip and Dynamic sAmpling Policy Optimization"],"category":"Trening","lifecycle":"established","firstSeenDate":"2025-03-18","firstSeenNote":"The DAPO preprint was submitted on 18 March 2025 and revised on 20 May 2025. ByteDance's publication page dates the released system to 20 May 2025 and records its later NeurIPS 2025 venue.","originAttribution":"Qiying Yu and the ByteDance Seed–Tsinghua AIR collaboration introduced DAPO as both a policy-optimization algorithm and the central recipe in an open large-scale LLM reinforcement-learning system.","maturity":3},"content":{"definition":{"text":"DAPO stands for Decoupled Clip and Dynamic sAmpling Policy Optimization. It is a reinforcement-learning recipe for LLM reasoning, built on the group-relative policy-optimization family. Its four components are Clip-Higher, dynamic sampling, token-level policy-gradient loss and overlong reward shaping. The name also identifies the authors’ open training system. DAPO changes how a model is trained; it is not an inference-time search method or another name for Direct Preference Optimization (DPO).","sourceIds":["s1","s2","s4"]},"originContext":{"text":"The DAPO preprint appeared on 18 March 2025 and was revised on 20 May. The ByteDance Seed publication page dates the accompanying open system to 20 May and lists the work at NeurIPS 2025. The authors presented four techniques intended to stabilize large-scale reinforcement learning from verifiable rewards. A September 2025 independent arXiv preprint compared DAPO with GRPO and proposed alternative clipping and reward-standardization choices, showing that the name had become a reproducible research baseline rather than only a release label.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Reasoning-model reinforcement learning can waste batches when every sampled answer for a prompt gets the same reward, clip useful updates or let very long responses dominate optimization. DAPO packages interventions for those concrete failure modes and provides public artifacts for studying them at scale. That makes it useful to researchers comparing RLVR recipes and to engineers who need to specify more than “we used GRPO.” The contribution is not just a new acronym: it exposes choices about sampling, clipping, loss aggregation and length handling that materially change training behavior.","sourceIds":["s1","s2","s3"]},"usageExample":{"text":"In an illustrative math-training batch, four responses with rewards [1, 1, 1, 1] or [0, 0, 0, 0] provide no within-group reward variation. Dynamic sampling filters such prompt groups and draws more samples to fill the batch; a mixed group such as [1, 0, 1, 0] can provide a learning signal. This filter does not itself create better answers or implement all of DAPO. Clipping, token-level loss aggregation and length penalties are separate components. Record the reward rule and sampling budget when comparing the complete recipe with GRPO.","sourceIds":["s1","s2"]},"distinctions":[{"termId":"grpo","explanation":{"text":"GRPO is the broader group-relative policy-optimization baseline that estimates advantages without a separate critic. DAPO modifies that family with a named collection of clipping, sampling, loss and length-control choices. Results for DAPO should not be attributed to GRPO generally, and a GRPO trainer does not automatically implement DAPO.","sourceIds":["s1","s3"]}},{"termId":"dpo","explanation":{"text":"DPO (Direct Preference Optimization) learns from preferred and rejected responses through a preference objective. DAPO uses a reinforcement-learning loop with sampled responses and rewards, modifying a group-relative optimization recipe. The similar acronyms do not identify interchangeable algorithms; compare the required training data, objective and sampling process.","sourceIds":["s1","s4"]}}],"maturityRationale":{"text":"Maturity is rated 3. DAPO has a public algorithm, released artifacts, a NeurIPS 2025 publication and an independent comparative preprint examining its mechanisms. The base score of 2 is therefore stale. A score of 4 would require broader evidence of sustained adoption across independent production or research stacks and more stable agreement on which components drive gains; current comparative evidence continues to revise those choices.","sourceIds":["s2","s3"]},"limitations":{"text":"The four components interact, so a headline result cannot identify one causal improvement without ablations. The reported 50-point AIME 2024 result is tied to the authors' Qwen2.5-32B setup, dataset, compute and evaluation. An independent comparative preprint argues that dynamic sampling reduces sampling efficiency and reports a different multi-component recipe that outperforms DAPO in some tested settings. Implementers should record the exact code revision, clipping bounds, group size, reward rules and loss aggregation rather than using DAPO as a loose synonym for open RLVR.","sourceIds":["s1","s2","s3"]}},"sources":[{"id":"s1","title":"DAPO: An Open-Source LLM Reinforcement Learning System at Scale","url":"https://arxiv.org/abs/2503.14476","publisher":"ByteDance Seed and Tsinghua AIR / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2025-03-18","accessedAt":"2026-11-06","verifiedAt":"2026-11-06"},{"id":"s2","title":"DAPO: An Open-Source LLM Reinforcement Learning System at Scale","url":"https://seed.bytedance.com/en/public_papers/dapo-an-open-source-llm-reinforcement-learning-system-at-scale","publisher":"ByteDance Seed","quality":"A","role":"primary","kind":"paper","publishedAt":"2025-05-20","accessedAt":"2026-09-04","verifiedAt":"2026-09-04"},{"id":"s3","title":"DCPO: Dynamic Clipping Policy Optimization","url":"https://arxiv.org/abs/2509.02333","publisher":"Independent researchers / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-09-02","accessedAt":"2026-11-06","verifiedAt":"2026-11-06"},{"id":"s4","title":"Direct Preference Optimization: Your Language Model is Secretly a Reward Model","url":"https://arxiv.org/abs/2305.18290","publisher":"Rafailov et al. / arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2023-05-29","accessedAt":"2026-11-06","verifiedAt":"2026-11-06"}],"relations":{"relatedTermIds":["grpo","dpo","rlvr","gepa-reflective-prompt-evolution","software-2-0"],"relatedSkillIds":["reinforcement-learning","reinforcement-learning-from-verifiable-rewards"],"inboundPaths":["/glossary","/glossary/term/gepa-reflective-prompt-evolution","/glossary/term/software-2-0","/atlas/genai-2026/skill/reinforcement-learning"]},"seo":{"title":"DAPO vs GRPO: Clip-Higher & Dynamic Sampling Explained","description":"DAPO (arXiv 2503.14476) scales long-CoT LLM reinforcement learning beyond GRPO via Clip-Higher, dynamic sampling, token-level loss and reward shaping."},"updatedAt":"2026-11-20","indexable":true}},{"id":"difficulty-aware-length-penalty","idx":300,"term":"Difficulty-Aware Length Penalty","category":"Trening","round":"R3","year":"2025-10-17","author":"Tan et al. used the exact phrase in DEPO; Pardinas et al. later named the Apriel implementation DAP. Independent precursors LASER-D and ALP mean the broader family should not be attributed to one team.","description":"A difficulty-aware length penalty is a family of training-time reward-shaping mechanisms for reasoning models. Instead of charging every generated trace the same length cost, it estimates how difficult a prompt is for the current policy—often from the fraction of correct rollouts—and applies stronger brevity pressure to easier prompts and weaker pressure to harder ones. Implementations differ in penalty shape, target selection, treatment of incorrect outputs and optimizer.","speculative":true,"maturity":3,"maturity_basis":"Maturity is 3. The family has several organizationally independent formulations, peer-reviewed ICLR 2026 and workshop evidence, a COLM 2026 paper listing, open implementations and experiments across multiple model sizes and domains. It is not rated 4 because names and formulas remain unsettled, most results come from method authors' own checkpoints, and matched independent replications across data, models and optimizers remain limited.","pl_status":null,"pl_term":null,"pl_comment":"The inherited `(brak propozycji)` value is an editorial placeholder, not a public localization. Retain the English headword pending a separate localization review.","relation_count":5,"references":[["Towards Flash Thinking via Decoupled Advantage Policy Optimization","https://arxiv.org/abs/2510.15374","paper"],["Apriel-1.5-OpenReasoner: RL Post-Training for General-Purpose and Efficient Reasoning","https://arxiv.org/abs/2604.02007","paper"],["Learn to Reason Efficiently with Adaptive Length-based Reward Shaping","https://proceedings.iclr.cc/paper_files/paper/2026/hash/47795c4ae2f7d07ea2fb0d11fa2c3c90-Abstract-Conference.html","paper"],["Just Enough Thinking: Efficient Reasoning with Adaptive Length Penalties Reinforcement Learning","https://neurips.cc/virtual/2025/loc/san-diego/126570","paper"],["PACE: Prefix-Protected and Difficulty-Aware Compression for Efficient Reasoning","https://arxiv.org/abs/2602.11639","paper"],["DLER: Doing Length pEnalty Right - Incentivizing More Intelligence per Token via Reinforcement Learning","https://arxiv.org/abs/2510.15110","paper"],["ServiceNow AI Research publications","https://www.servicenow.com/research/publication.html","source_announcement"]],"skill_id":"reinforcement-learning","editorial":{"id":"difficulty-aware-length-penalty","identity":{"canonicalName":"Difficulty-Aware Length Penalty","aliases":["Difficulty-Aware Length Penalty (DAP)","DAP","difficulty-aware penalty","difficulty-conditioned length penalty","adaptive length penalty"],"category":"Trening","lifecycle":"established","firstSeenDate":"2025-10-17","firstSeenNote":"The earliest exact phrase verified in this review appears in the DEPO preprint submitted on 17 October 2025; LASER-D and Adaptive Length Penalty described the same core idea under different names in May and June 2025.","originAttribution":"Tan et al. used the exact phrase in DEPO; Pardinas et al. later named the Apriel implementation DAP. Independent precursors LASER-D and ALP mean the broader family should not be attributed to one team.","maturity":3},"content":{"definition":{"text":"A difficulty-aware length penalty is a family of training-time reward-shaping mechanisms for reasoning models. Instead of charging every generated trace the same length cost, it estimates how difficult a prompt is for the current policy—often from the fraction of correct rollouts—and applies stronger brevity pressure to easier prompts and weaker pressure to harder ones. Implementations differ in penalty shape, target selection, treatment of incorrect outputs and optimizer.","sourceIds":["s1","s2","s3","s4","s5"]},"originContext":{"text":"LASER-D, first posted in May 2025 and later published at ICLR 2026, and Adaptive Length Penalty, posted in June 2025 and presented at a NeurIPS workshop, developed the core idea under different names. The earliest exact phrase verified here is in DEPO from October 2025. PACE then used “difficulty-aware penalty,” while the April 2026 Apriel paper named its formula Difficulty-Aware Length Penalty (DAP). DAP is one implementation, not the origin of the family.","sourceIds":["s1","s2","s3","s4","s5","s7"]},"whyItMatters":{"text":"A uniform penalty can reward premature stopping on hard problems while spending unnecessary tokens on easy ones. Conditioning the pressure on online solve rate gives reinforcement learning a model-relative signal for where extra generation may still help. After post-training, the model can normally use the usual decoding interface without a separate inference controller. The practical target is a better accuracy–length trade-off, but fewer visible tokens do not alone prove better reasoning or lower end-to-end training cost.","sourceIds":["s2","s3","s4","s5","s6"]},"usageExample":{"text":"Suppose eight rollouts solve an easy prompt seven times and a hard prompt once. A DAP-like objective can keep the easy prompt's overlength penalty near full strength while relaxing it for the hard prompt, subject to a maximum-length guard. LASER-D instead assigns difficulty-specific target lengths and updates them during training. A valid evaluation holds the base model and recipe constant and reports accuracy and output tokens by difficulty bucket, not only an overall average.","sourceIds":["s2","s3","s4"]},"distinctions":[{"termId":"rlvr","explanation":{"text":"RLVR is the broader use of automatically checkable rewards. A difficulty-aware length penalty is an optional reward component and commonly uses the verifier's results to estimate solve rate.","sourceIds":["s2","s4"]}},{"termId":"budget-forcing","explanation":{"text":"Budget forcing extends or stops a trace at inference time. Difficulty-aware penalties alter training incentives so the learned policy allocates length without per-request forcing.","sourceIds":["s2","s4"]}},{"termId":"reasoning-effort-thinking-budget","explanation":{"text":"A reasoning-effort or thinking-budget setting is a user- or provider-selected inference control. This penalty instead learns an implicit prompt-dependent policy during post-training.","sourceIds":["s3","s4"]}},{"termId":"test-time-compute","explanation":{"text":"Test-time compute is the broader resource being allocated. The penalty is one training mechanism for changing serial generation length, not a general scaling law.","sourceIds":["s3","s6"]}}],"maturityRationale":{"text":"Maturity is 3. The family has several organizationally independent formulations, peer-reviewed ICLR 2026 and workshop evidence, a COLM 2026 paper listing, open implementations and experiments across multiple model sizes and domains. It is not rated 4 because names and formulas remain unsettled, most results come from method authors' own checkpoints, and matched independent replications across data, models and optimizers remain limited.","sourceIds":["s1","s2","s3","s4","s5","s6","s7"]},"limitations":{"text":"Solve rate depends on the current policy, sampler, verifier and rollout-group size; it is not intrinsic difficulty and can be noisy. Length rewards may distort or sparsify advantages, encourage premature stopping or reduce exploration, so normalization, clipping and truncation guards matter. Reported savings are not interchangeable. In Apriel, 30–50% shorter traces compare the full post-trained model with Apriel-Base; the isolated DAP-versus-fixed-penalty ablation uses more tokens while recovering accuracy. “No additional overhead” applies only when required group rollouts already exist and does not make RL training free. Benchmark gains need not transfer to private workloads or wall-clock latency.","sourceIds":["s1","s2","s3","s4","s5","s6"]}},"sources":[{"id":"s1","title":"Towards Flash Thinking via Decoupled Advantage Policy Optimization","url":"https://arxiv.org/abs/2510.15374","publisher":"arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2025-10-17","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s2","title":"Apriel-1.5-OpenReasoner: RL Post-Training for General-Purpose and Efficient Reasoning","url":"https://arxiv.org/abs/2604.02007","publisher":"arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2026-04-02","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s3","title":"Learn to Reason Efficiently with Adaptive Length-based Reward Shaping","url":"https://proceedings.iclr.cc/paper_files/paper/2026/hash/47795c4ae2f7d07ea2fb0d11fa2c3c90-Abstract-Conference.html","publisher":"International Conference on Learning Representations","quality":"A","role":"independent","kind":"paper","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s4","title":"Just Enough Thinking: Efficient Reasoning with Adaptive Length Penalties Reinforcement Learning","url":"https://neurips.cc/virtual/2025/loc/san-diego/126570","publisher":"NeurIPS 2025 Efficient Reasoning Workshop","quality":"A","role":"independent","kind":"paper","publishedAt":"2025","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s5","title":"PACE: Prefix-Protected and Difficulty-Aware Compression for Efficient Reasoning","url":"https://arxiv.org/abs/2602.11639","publisher":"arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2026-02-12","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s6","title":"DLER: Doing Length pEnalty Right - Incentivizing More Intelligence per Token via Reinforcement Learning","url":"https://arxiv.org/abs/2510.15110","publisher":"arXiv","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-10-16","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s7","title":"ServiceNow AI Research publications","url":"https://www.servicenow.com/research/publication.html","publisher":"ServiceNow AI Research","quality":"A","role":"primary","kind":"source_announcement","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"}],"relations":{"relatedTermIds":["rlvr","reasoning-models","budget-forcing","reasoning-effort-thinking-budget","test-time-compute"],"relatedSkillIds":["reinforcement-learning","reinforcement-learning-from-verifiable-rewards","reasoning-models","test-time-compute-scaling"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/reinforcement-learning-from-verifiable-rewards"]},"seo":{"title":"Difficulty-Aware Length Penalty in Reasoning RL","description":"Learn how difficulty-aware length penalties use prompt-level solve rates during RL to balance reasoning accuracy, output length, latency and token cost."},"updatedAt":"2026-09-07","indexable":true}},{"id":"gaia2","idx":302,"term":"Gaia2","category":"LLMOps","round":"R3","year":"2025-09-21","author":"The Meta Agents Research Environments author team introduced Gaia2 alongside ARE; Hugging Face collaborators supported public release materials and infrastructure.","description":"Gaia2 is an agent benchmark built on Meta Agents Research Environments (ARE). It places an LLM-based agent in a simulated consumer environment containing apps, data and timed events. Unlike a static question set, the environment can change while the agent is working. Scenarios test state-changing execution, search, adaptation, temporal constraints, ambiguity, controlled noise and communication with simulated application agents.","speculative":false,"maturity":3,"maturity_basis":"Maturity is 3. Gaia2 has peer-reviewed publication, open code and data, a documented runner, model comparisons, an external beta implementation and a multilingual derivative. It is not rated higher because independent score reproduction remains thin, one external implementation warns that parity is unvalidated, the benchmark is still evolving and synthetic scenarios cannot establish production reliability by themselves.","pl_status":null,"pl_term":null,"pl_comment":"The inherited `(brak propozycji)` value is an editorial placeholder, not a public localization. Retain the benchmark name Gaia2.","relation_count":4,"references":[["ARE: Scaling Up Agent Environments and Evaluations","https://arxiv.org/abs/2509.17158","paper"],["Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environments","https://arxiv.org/abs/2602.11964","paper"],["Meta Agents Research Environments","https://github.com/facebookresearch/meta-agents-research-environments","repository"],["Gaia2 and ARE: Empowering the Community to Evaluate Agents","https://github.com/huggingface/blog/blob/main/gaia2.md","technical_analysis"],["GAIA2: Dynamic Multi-Step Scenario Benchmark (Beta)","https://maseval.readthedocs.io/en/stable/benchmark/gaia2/","independent_implementation"],["GAIA2 — Benchgen","https://benchgen.com/benchmarks/meta/gaia2","independent_implementation"],["OmnilingualGAIA2: Evaluating the Multilingual Gap in Frontier AI Agents","https://arxiv.org/abs/2608.08775","paper"]],"skill_id":"agent-evaluation","editorial":{"id":"gaia2","identity":{"canonicalName":"Gaia2","aliases":["Gaia2 benchmark"],"category":"LLMOps","lifecycle":"established","firstSeenDate":"2025-09-21","firstSeenNote":"The first ARE paper version submitted on 21 September 2025 introduced Gaia2; a dedicated paper followed in February 2026 and was accepted as an ICLR 2026 oral.","originAttribution":"The Meta Agents Research Environments author team introduced Gaia2 alongside ARE; Hugging Face collaborators supported public release materials and infrastructure.","maturity":3},"content":{"definition":{"text":"Gaia2 is an agent benchmark built on Meta Agents Research Environments (ARE). It places an LLM-based agent in a simulated consumer environment containing apps, data and timed events. Unlike a static question set, the environment can change while the agent is working. Scenarios test state-changing execution, search, adaptation, temporal constraints, ambiguity, controlled noise and communication with simulated application agents.","sourceIds":["s1","s2","s3"]},"originContext":{"text":"Gaia2 first appeared with ARE in September 2025 as a successor to the read-oriented GAIA benchmark. Its dedicated paper was accepted as an ICLR 2026 oral. The public ARE package, Gaia2 dataset and leaderboard workflow make the scenarios runnable, while later work extended part of the suite across ten languages. The benchmark name does not mean a numbered release of every dataset called GAIA.","sourceIds":["s1","s2","s3","s4","s7"]},"whyItMatters":{"text":"An agent can answer static questions yet fail when an email arrives mid-task, an API returns noise, a deadline passes or an instruction needs clarification. Gaia2 exposes those failure modes in a repeatable simulated world. Expected state-changing actions and ordering or timing constraints support action-level verification rather than scoring only the final response. The same structure can also generate verified trajectories for debugging or reinforcement learning from verifiable rewards.","sourceIds":["s2","s3","s4"]},"usageExample":{"text":"A team connects its agent scaffold to ARE, pins the model and provider configuration, then runs repeated Gaia2 scenarios by capability. A calendar task may require the agent to inspect existing events, ask about a conflict and perform writes before a timed event changes the state. The team compares overall success with per-capability results, cost and latency, then inspects structured traces. A valid report records the benchmark version, scaffold, judge configuration, budgets, retries and run variance.","sourceIds":["s3","s4"]},"distinctions":[{"termId":"agent-sandboxes","explanation":{"text":"ARE supplies a simulated evaluation environment. An agent sandbox isolates execution resources; it does not by itself define Gaia2 tasks, expected actions or scoring.","sourceIds":["s3"]}},{"termId":"rlvr","explanation":{"text":"RLVR is a training approach. Gaia2's verifiers can provide rewards for training, but the benchmark can also be used only for evaluation and does not prescribe one learning algorithm.","sourceIds":["s2"]}},{"termId":"llm-as-a-judge","explanation":{"text":"Gaia2 uses exact checks for rigid fields and an LLM rubric for some flexible text. Its write-action verification is therefore broader than, but not independent of, LLM-as-a-judge techniques.","sourceIds":["s2","s4"]}},{"termId":"benchmark-contamination","explanation":{"text":"Benchmark contamination concerns exposure of test material. Gaia2's additional concerns include synthetic-world validity, harness dependence, judge behavior and variance from asynchronous execution.","sourceIds":["s2","s6"]}}],"maturityRationale":{"text":"Maturity is 3. Gaia2 has peer-reviewed publication, open code and data, a documented runner, model comparisons, an external beta implementation and a multilingual derivative. It is not rated higher because independent score reproduction remains thin, one external implementation warns that parity is unvalidated, the benchmark is still evolving and synthetic scenarios cannot establish production reliability by themselves.","sourceIds":["s2","s3","s5","s6","s7"]},"limitations":{"text":"Gaia2 models a fictional app ecosystem rather than uncontrolled workplaces or the open web. Benchmark scores are joint measurements of the model, agent loop, prompts, tool descriptions, timeouts, provider latency and judge setup. Asynchronous scenarios can vary between runs, and some flexible fields use an LLM rubric. Published rankings age quickly as model endpoints change. MASEval's separate implementation is useful adoption evidence but explicitly lacks validation against original results; Benchgen had no external run results at review time. Connecting ARE to real tools or unsafe MCP servers changes the risk boundary and requires separate isolation and permissions.","sourceIds":["s2","s3","s4","s5","s6"]}},"sources":[{"id":"s1","title":"ARE: Scaling Up Agent Environments and Evaluations","url":"https://arxiv.org/abs/2509.17158","publisher":"arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2025-09-21","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s2","title":"Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environments","url":"https://arxiv.org/abs/2602.11964","publisher":"ICLR / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2026-02-12","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s3","title":"Meta Agents Research Environments","url":"https://github.com/facebookresearch/meta-agents-research-environments","publisher":"Meta","quality":"A","role":"primary","kind":"repository","publishedAt":"2025","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s4","title":"Gaia2 and ARE: Empowering the Community to Evaluate Agents","url":"https://github.com/huggingface/blog/blob/main/gaia2.md","publisher":"Hugging Face and Meta Agents Research Environments","quality":"A","role":"primary","kind":"technical_analysis","publishedAt":"2025","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s5","title":"GAIA2: Dynamic Multi-Step Scenario Benchmark (Beta)","url":"https://maseval.readthedocs.io/en/stable/benchmark/gaia2/","publisher":"MASEval","quality":"B","role":"independent","kind":"independent_implementation","publishedAt":"2026","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s6","title":"GAIA2 — Benchgen","url":"https://benchgen.com/benchmarks/meta/gaia2","publisher":"Benchgen","quality":"B","role":"independent","kind":"independent_implementation","publishedAt":"2026-08-10","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"},{"id":"s7","title":"OmnilingualGAIA2: Evaluating the Multilingual Gap in Frontier AI Agents","url":"https://arxiv.org/abs/2608.08775","publisher":"arXiv","quality":"B","role":"background","kind":"paper","publishedAt":"2026-08-09","accessedAt":"2026-09-07","verifiedAt":"2026-09-07"}],"relations":{"relatedTermIds":["agent-sandboxes","rlvr","llm-as-a-judge","benchmark-contamination"],"relatedSkillIds":["agent-evaluation","llm-benchmarking","llm-evaluation-design","reinforcement-learning-from-verifiable-rewards","multi-agent-coordination-patterns","agent-sandboxing"],"inboundPaths":["/glossary","/glossary/term/agent-sandboxes","/atlas/genai-2026/skill/agent-evaluation"]},"seo":{"title":"Gaia2 Agent Benchmark: Async Tasks, Verifiers & Scores","description":"How the Gaia2 benchmark (Meta ARE) evaluates LLM agents in timed, asynchronous app environments with write-action verifiers and harness sensitivity."},"updatedAt":"2026-11-20","indexable":true}},{"id":"overthinking-phenomenon","idx":423,"term":"Overthinking (in Reasoning Models)","category":"Trening","round":"R4","year":"2025-01-20","author":"Xingyu Chen et al. (2025) and Alejandro Cuadron et al. (UC Berkeley, 2025).","description":"Overthinking is a failure mode of reasoning-trained language models and agentic planners in which the model expends excessive intermediate tokens verifying trivial facts, second-guessing correct initial answers, or exploring redundant branches without improving final accuracy. Empirical benchmarks such as OckBench and inductive-reasoning studies show that unconstrained reasoning traces inflate latency and token cost and can actively degrade performance on pattern-recognition or constrained-planning tasks by amplifying early decomposition errors. It demonstrates that test-time compute scaling is not monotonically beneficial and requires explicit budget controls or length-penalized reinforcement learning.","speculative":false,"maturity":3,"maturity_basis":"Overthinking merits maturity 3: it is independently reproduced across multiple academic benchmarks (Math500, SWE-bench, OckBench) and has directly driven production API features such as configurable thinking budgets and adaptive reasoning effort.","pl_status":null,"pl_term":null,"pl_comment":"Keep the canonical English technical term pending specialist Polish localization review.","relation_count":3,"references":[["Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs","https://arxiv.org/abs/2412.21187","paper"],["The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Tasks","https://arxiv.org/abs/2502.08235","paper"],["Stop Overthinking: A Survey on Efficient Reasoning for Large Language Models","https://arxiv.org/abs/2503.16419","paper"]],"skill_id":"reasoning-models","editorial":{"id":"overthinking-phenomenon","identity":{"canonicalName":"Overthinking (in Reasoning Models)","aliases":["LLM Overthinking","Reasoning Model Overthinking","Test-Time Overthinking"],"category":"Trening","lifecycle":"established","firstSeenDate":"2025-01-20","firstSeenNote":"Chen et al. (\"Do NOT Think That Much for 2+3=?\") and Cuadron et al. (\"The Danger of Overthinking in Agentic Systems\") formalized the overthinking failure mode in early 2025.","originAttribution":"Xingyu Chen et al. (2025) and Alejandro Cuadron et al. (UC Berkeley, 2025).","maturity":3},"content":{"definition":{"text":"Overthinking is a failure mode of reasoning-trained language models and agentic planners in which the model expends excessive intermediate tokens verifying trivial facts, second-guessing correct initial answers, or exploring redundant branches without improving final accuracy. Empirical benchmarks such as OckBench and inductive-reasoning studies show that unconstrained reasoning traces inflate latency and token cost and can actively degrade performance on pattern-recognition or constrained-planning tasks by amplifying early decomposition errors. It demonstrates that test-time compute scaling is not monotonically beneficial and requires explicit budget controls or length-penalized reinforcement learning.","sourceIds":["s1","s2"]},"originContext":{"text":"Following the release of OpenAI o1 and DeepSeek-R1, RLVR training rewarded models for generating long chains of thought containing self-verification and backtracking steps. In January–March 2025, independent research groups—including Chen et al. (\"Do NOT Think That Much for 2+3=?\") and Cuadron et al. at UC Berkeley (\"The Danger of Overthinking\")—documented that reasoning models frequently determine the correct answer within the first few hundred tokens but continue generating thousands of tokens of self-doubt, circular checks, or over-complicated hypotheses in both math problems and software-engineering agents.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Unbounded reasoning traces multiply inference latency and token costs by 3x to 10x on simple queries where standard instruction-tuned models succeed immediately. Worse, in agentic environments and abductive or visual reasoning tasks, prolonged internal monologue can cause the model to talk itself out of a valid initial solution, ignore environment feedback, or hallucinate nonexistent edge cases.","sourceIds":["s1","s2"]},"usageExample":{"text":"When asked a straightforward arithmetic or single-file bug-fix question, an uncalibrated reasoning model outputs the right solution in step two, but then emits twelve additional paragraphs beginning with \"Wait, let me double check whether the problem statement could be interpreted in base 8...\" before timing out or reverting to an incorrect edge-case patch. Applying a thinking-budget cap (`reasoning_effort=\"low\"`) or a length-penalized RL reward eliminates the redundant verification loop.","sourceIds":["s1","s3"]},"maturityRationale":{"text":"Overthinking merits maturity 3: it is independently reproduced across multiple academic benchmarks (Math500, SWE-bench, OckBench) and has directly driven production API features such as configurable thinking budgets and adaptive reasoning effort.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"Aggressive length penalties or hard token truncation during training and inference can backfire on genuinely hard multi-step problems where deep backtracking is necessary, requiring difficulty-aware routing rather than a single global token cap.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs","url":"https://arxiv.org/abs/2412.21187","publisher":"Chen et al. (arXiv)","quality":"A","role":"primary","kind":"paper","publishedAt":"2024-12-30","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s2","title":"The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Tasks","url":"https://arxiv.org/abs/2502.08235","publisher":"Cuadron et al. / UC Berkeley (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-02-12","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s3","title":"Stop Overthinking: A Survey on Efficient Reasoning for Large Language Models","url":"https://arxiv.org/abs/2503.16419","publisher":"Sui et al. (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-03-20","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"}],"relations":{"relatedTermIds":["reasoning-models","test-time-compute","reasoning-effort-thinking-budget"],"relatedSkillIds":["reasoning-models","test-time-compute-scaling","agentic-planning-task-decomposition","reinforcement-learning-from-verifiable-rewards"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/reasoning-models","/atlas/genai-2026/skill/test-time-compute-scaling"]},"seo":{"title":"Overthinking in Reasoning Models & AI Agents","description":"Learn why reasoning models and AI agents suffer from overthinking—wasting tokens on redundant verification and hurting accuracy—and how to mitigate it."},"updatedAt":"2026-10-19","indexable":true}},{"id":"rubric-based-rl","idx":426,"term":"Rubric-Based Reinforcement Learning","category":"Trening","round":"R4","year":"2025-03-15","author":"Post-training researchers across open-ended RLVR and checklist-reward studies (2025).","description":"Rubric-based reinforcement learning is a post-training paradigm that extends reinforcement learning beyond formally verifiable domains (such as math and code) to open-ended tasks by scoring model completions against prompt-specific, multi-criteria grading rubrics evaluated by a calibrated judge model. Instead of relying on a single opaque scalar reward model or a binary unit test, the training loop decomposes quality into explicit, auditable checklist items—such as factual grounding, constraint adherence, and tone—to reduce reward hacking and stylistic bias. Its reliability remains bounded by the construct validity of the generated rubrics and the calibration of the evaluator.","speculative":true,"maturity":2,"maturity_basis":"Rubric-based RL is rated maturity 2 (emerging): it is actively adopted in frontier post-training pipelines and domain benchmarks (such as OpenAI HealthBench and checklist-RL preprints), though best practices for automated rubric synthesis and adversarial judge hardening are still evolving.","pl_status":null,"pl_term":null,"pl_comment":"Keep the canonical English technical term pending specialist Polish localization review.","relation_count":4,"references":[["Reinforcement Learning with Rubric-Based Rewards for Open-Ended Generation (Checklist & Rubric Reward Modeling)","https://arxiv.org/abs/2503.10615","paper"],["TICK / Checklist-Guided Evaluation and Reward Design for Instruction Following","https://arxiv.org/abs/2410.03608","paper"],["HealthBench: Evaluating Large Language Models Towards Improved Human Health with Physician Rubrics","https://arxiv.org/abs/2505.08775","paper"]],"skill_id":"reinforcement-learning","editorial":{"id":"rubric-based-rl","identity":{"canonicalName":"Rubric-Based Reinforcement Learning","aliases":["Rubric-Guided RL","Checklist-Based RL","Multi-Criteria Rubric RLVR"],"category":"Trening","lifecycle":"emerging","firstSeenDate":"2025-03-15","firstSeenNote":"Multiple early-2025 post-training studies (including RLVR extensions to open-ended tasks and HealthBench/checklist reward modeling) formalized prompt-specific rubric evaluation inside online RL loops.","originAttribution":"Post-training researchers across open-ended RLVR and checklist-reward studies (2025).","maturity":2},"content":{"definition":{"text":"Rubric-based reinforcement learning is a post-training paradigm that extends reinforcement learning beyond formally verifiable domains (such as math and code) to open-ended tasks by scoring model completions against prompt-specific, multi-criteria grading rubrics evaluated by a calibrated judge model. Instead of relying on a single opaque scalar reward model or a binary unit test, the training loop decomposes quality into explicit, auditable checklist items—such as factual grounding, constraint adherence, and tone—to reduce reward hacking and stylistic bias. Its reliability remains bounded by the construct validity of the generated rubrics and the calibration of the evaluator.","sourceIds":["s1","s2"]},"originContext":{"text":"Reinforcement Learning with Verifiable Rewards (RLVR) drove major reasoning breakthroughs in 2024–2025 on mathematics and competitive programming where exact string matching or unit tests provide noise-free rewards. However, applying online RL (such as GRPO) to clinical synthesis, legal drafting, or complex instruction following with traditional Bradley-Terry scalar reward models quickly triggered length bias and sycophantic reward hacking. In 2025, researchers introduced rubric-based and checklist-guided RL pipelines (such as Rockets/Rubric-RL and rule-decomposed judge rewards), pairing each training prompt with an instance-specific list of weighted binary or ternary criteria.","sourceIds":["s1","s2","s3"]},"whyItMatters":{"text":"Most enterprise AI tasks lack a compiler or closed-form numeric answer, yet still have objective domain criteria that domain experts can specify. Decomposing open-ended evaluation into a structured rubric turns subjective preference scoring into a set of verifiable sub-questions, making the reward signal interpretable, easier to audit for bias, and substantially harder for the policy model to game via superficial formatting.","sourceIds":["s1","s2"]},"usageExample":{"text":"To train a medical summarization model with GRPO, each training case is paired with a physician-authored or reference-derived 6-point rubric (e.g., \"+2 if acute renal contraindication is stated; +1 if dosage units match the chart; -3 if unrecorded allergies are invented\"). During each rollout step, an LLM judge evaluates the 8 sampled completions strictly against those binary checklist items, and the resulting weighted scores compute the group-relative advantage.","sourceIds":["s1","s3"]},"maturityRationale":{"text":"Rubric-based RL is rated maturity 2 (emerging): it is actively adopted in frontier post-training pipelines and domain benchmarks (such as OpenAI HealthBench and checklist-RL preprints), though best practices for automated rubric synthesis and adversarial judge hardening are still evolving.","sourceIds":["s1","s2","s3"]},"limitations":{"text":"If the rubric omits a critical negative constraint or if the judge model can be fooled by adversarial phrasing, the policy model will still optimize for the loopholes in the checklist—a form of specification gaming at the rubric layer.","sourceIds":["s2","s3"]}},"sources":[{"id":"s1","title":"Reinforcement Learning with Rubric-Based Rewards for Open-Ended Generation (Checklist & Rubric Reward Modeling)","url":"https://arxiv.org/abs/2503.10615","publisher":"Independent Post-Training Researchers / arXiv","quality":"A","role":"primary","kind":"paper","publishedAt":"2025-03-13","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s2","title":"TICK / Checklist-Guided Evaluation and Reward Design for Instruction Following","url":"https://arxiv.org/abs/2410.03608","publisher":"Cook et al. (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2024-10-04","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"},{"id":"s3","title":"HealthBench: Evaluating Large Language Models Towards Improved Human Health with Physician Rubrics","url":"https://arxiv.org/abs/2505.08775","publisher":"OpenAI (arXiv)","quality":"A","role":"independent","kind":"paper","publishedAt":"2025-05-13","accessedAt":"2026-10-19","verifiedAt":"2026-10-19"}],"relations":{"relatedTermIds":["rlvr","grpo","judge-calibration","reward-hacking"],"relatedSkillIds":["reinforcement-learning","llm-as-judge","reward-modeling","reinforcement-learning-from-verifiable-rewards"],"inboundPaths":["/glossary","/atlas/genai-2026/skill/reinforcement-learning","/atlas/genai-2026/skill/llm-as-judge"]},"seo":{"title":"Rubric-Based RL (Rubric RL): Checklists for Open-Ended RL","description":"How rubric-based reinforcement learning (Rubric RL) extends RLVR to open-ended generation with prompt-specific grading checklists and judge calibration."},"updatedAt":"2026-11-20","indexable":true}}]},"roles":{"version":"2026-10-24","profileVersion":"2026-10-24.1","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","note":"Editorial role profiles covering technology, business, operations and engineering. Skills and task examples are indicative, not a complete occupational standard.","sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"categories":[]},"exposure":{"version":"2026-10-24","catalogDigest":"f5c4c4ea889834ddd8ba6d18d4a098e762142d8db3be3d7edf82e48fd6a8d3b4","method":{"version":"task-scenario-1","assessmentDate":"2026-10-24","title":"Illustrative task-based AI exposure","scenario":"AI-assisted software and agents with authorized access to relevant digital inputs and tools. A person verifies material outputs and retains decisions, permissions and accountability. Required quality is fit for the stated work context. Physical robotics and unrestricted autonomous action are outside the scenario.","weighting":"Each of the six representative tasks has weight 1. These are assumed units of work, not measured time shares.","outcomes":{"commoditize":"AI can produce a constrained routine output, with human verification.","mixed":"AI assistance is material, but integration, reliability or context can dominate completion.","amplify":"AI supports analysis or design while contextual judgment remains central.","durable":"Physical presence, interpersonal trust or accountable decisions remain central under this scenario."},"calculation":"Sum task weights within each outcome, divide by total weight, and multiply by 100. Display integer percentages using largest remainders in the order commoditize, mixed, amplify, durable. If raw commoditize and amplify are equal, preserve their equality with the floor-or-ceiling allocation having the smallest squared rounding error and a total of 100. Displayed net = displayed commoditize minus displayed amplify. Raw values are retained.","sensitivity":"Range of raw net over all combinations of task weights 0.5 or 2, plus each single-task alternative classification at baseline weights. The two perturbations are evaluated separately. This is a scenario range, not a confidence interval or exhaustive bound.","limitations":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","review":{"type":"AI-assisted editorial review","date":"2026-10-24","independentDomainValidation":false,"scope":"Profile boundaries, explicit task assumptions, rationale consistency and arithmetic. No tool-performance experiment was conducted for these profiles."},"sourceIds":["ilo-tasks","metr-context"]},"sources":{"sfia-profiles":{"title":"SFIA 9 illustrative skills profiles","url":"https://sfia-online.org/en/tools-and-resources/standard-industry-skills-profiles/sfia_9_illustrative_skills_profiles.pdf","scope":"Illustrative professional responsibilities; related context, not formal occupation equivalence.","accessedOn":"2026-10-24"},"sfia-ai":{"title":"SFIA illustrative AI professional role archetypes","url":"https://sfia-online.org/en/tools-and-resources/ai-skills-framework/illustrative-levelled-role-archetypes-for-cwa-18398-ai-professional-role-profiles-mapped-to-sfia","scope":"Related AI responsibilities; this catalogue remains an editorial synthesis.","accessedOn":"2026-10-24"},"ilo-tasks":{"title":"ILO: Generative AI and Jobs — task-level exposure methodology (2025)","url":"https://www.ilo.org/publications/generative-ai-and-jobs-refined-global-index-occupational-exposure","scope":"Methodological context only. ILO did not assess or validate the scores in this catalogue.","accessedOn":"2026-10-24"},"metr-context":{"title":"METR: Developer productivity experiment update (February 2026)","url":"https://metr.org/blog/2026-02-24-uplift-update/","scope":"Evidence that measured productivity depends on context and study design; not calibration for these scores.","accessedOn":"2026-10-24"},"onet-11":{"title":"O*NET occupational family: Management","url":"https://www.onetonline.org/find/family?f=11","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-13":{"title":"O*NET occupational family: Business and Financial Operations","url":"https://www.onetonline.org/find/family?f=13","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-15":{"title":"O*NET occupational family: Computer and Mathematical","url":"https://www.onetonline.org/find/family?f=15","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-17":{"title":"O*NET occupational family: Architecture and Engineering","url":"https://www.onetonline.org/find/family?f=17","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-25":{"title":"O*NET occupational family: Educational Instruction and Library","url":"https://www.onetonline.org/find/family?f=25","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-27":{"title":"O*NET occupational family: Arts, Design and Media","url":"https://www.onetonline.org/find/family?f=27","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-41":{"title":"O*NET occupational family: Sales and Related","url":"https://www.onetonline.org/find/family?f=41","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-43":{"title":"O*NET occupational family: Office and Administrative Support","url":"https://www.onetonline.org/find/family?f=43","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-49":{"title":"O*NET occupational family: Installation, Maintenance and Repair","url":"https://www.onetonline.org/find/family?f=49","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-51":{"title":"O*NET occupational family: Production","url":"https://www.onetonline.org/find/family?f=51","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"},"onet-53":{"title":"O*NET occupational family: Transportation and Material Moving","url":"https://www.onetonline.org/find/family?f=53","scope":"Related occupational-family context. No exact occupation-code mapping is claimed.","accessedOn":"2026-10-24"}},"note":"Task selection and classifications are AI-assisted editorial judgments. They have not been independently validated by occupation specialists or calibrated against observed work time or productivity. Scores are not probabilities of replacement, pay forecasts, headcount estimates or assessments of people. Similar net values can conceal very different work.","grouping":{"method":"Editorial work families shared with the Role Dictionary. Each role has one primary family; real jobs may combine several profiles.","families":[{"id":"SW","label":"Software Development & Testing","n":16},{"id":"CL","label":"Cloud, Platform & IT Operations","n":14},{"id":"SEC","label":"Cybersecurity & Privacy","n":8},{"id":"DATA","label":"Data Engineering & Analytics","n":11},{"id":"AI","label":"AI & Machine Learning","n":6},{"id":"ENT","label":"Enterprise Applications & Business Analysis","n":6},{"id":"PROD","label":"Product, Project & Change Management","n":8},{"id":"SALES","label":"Sales & Customer Service","n":10},{"id":"MKT","label":"Marketing, Design & Content","n":12},{"id":"HR","label":"People, Learning & Education","n":10},{"id":"FIN","label":"Finance & Accounting","n":6},{"id":"OPS","label":"Business Operations & Administration","n":6},{"id":"LOG","label":"Supply Chain & Logistics","n":4},{"id":"ELEC","label":"Electrical & Industrial Automation","n":4},{"id":"MECH","label":"Mechanical & Manufacturing Engineering","n":5},{"id":"BUILT","label":"Construction & Energy Engineering","n":2},{"id":"QUAL","label":"Quality, Safety & Compliance","n":6},{"id":"EMB","label":"Embedded Systems & Electronics","n":3}]},"roles":[]},"newsroom":{"schemaVersion":"1.1.0","generatedAt":"2026-11-23T18:47:38.499Z","topics":[{"decisionQuestion":"Which tasks have become newly feasible, cheaper, more reliable, or more autonomous?","id":"ai_capability_frontier","label":"AI Capability Frontier"},{"decisionQuestion":"How are tasks, role boundaries, accountability, and human-machine collaboration changing?","id":"work_and_role_change","label":"Work and Role Change"},{"decisionQuestion":"Which capabilities are gaining or losing demand, and where is the evidence visible?","id":"skills_demand_and_labour_market","label":"Skills Demand and Labour Market"},{"decisionQuestion":"How are skills data, inference, assessment, mobility, learning, and workforce-planning systems changing?","id":"skills_systems_and_hr_tech","label":"Skills Systems and HR Tech"},{"decisionQuestion":"Which rules, classifications, standards, and decision rights change what organisations must do?","id":"policy_standards_and_governance","label":"Policy, Standards and Governance"}],"articles":[]},"summary":{"skillCount":473,"sectionCount":15,"ontologyCount":467,"prerequisiteCount":344,"atlasEditorialDate":"2026-11-02","sectionSkillCounts":{"mathematical-statistical-foundations":15,"classical-machine-learning-modeling":40,"deep-learning-foundation-model-architectures":40,"natural-language-processing-computer-vision":41,"model-training-fine-tuning-alignment":21,"prompt-engineering-model-interaction":21,"retrieval-augmented-generation-knowledge-systems":35,"agentic-ai-systems":42,"llmops-model-serving-inference-optimization":41,"ai-evaluation-observability":26,"ai-safety-security-governance-ethics":26,"data-engineering-pipelines":43,"software-engineering-for-ai":36,"cloud-ai-platform-infrastructure":24,"ai-product-collaboration-professional-practice":22},"atlasFacts":{"skills":473,"sections":15,"ontologyRelations":467,"prerequisiteRelations":344,"prerequisites":{"hard":173,"medium":153,"soft":18,"other":0}},"transformerPrerequisites":[{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Deep Learning","prerequisite_id":"deep-learning","strength":"hard","rationale":"Self-attention, layer normalization, residual connections, softmax — all are DL building blocks assembled in the Transformer"},{"skill":"Transformer Architecture","skill_id":"transformer-architecture","prerequisite":"Linear Algebra","prerequisite_id":"linear-algebra","strength":"hard","rationale":"Q·Kᵀ/√d is a scaled dot product of matrices; multi-head attention is parallel matrix projections — Transformers ARE linear algebra in action"}],"glossaryTermCount":421,"glossaryMaturityCounts":[59,69,215,58,20],"roleCount":137,"exposureFacts":{"roles":137,"assessed":137,"unassessed":0,"exposed":55,"amplified":39,"neutral":43},"exposureLeadersExposed":[{"role":"Accounting Administrator","net":50},{"role":"Document Controller","net":34},{"role":"IT Support Specialist","net":33},{"role":"Office Administrator","net":33},{"role":"Communications & Events Coordinator","net":33}],"exposureLeadersAmplified":[{"role":"Machine Learning Engineer","net":-16},{"role":"Software Architect","net":-16},{"role":"Network Engineer","net":-16},{"role":"Site Reliability Engineer","net":-16},{"role":"Cloud Infrastructure Engineer","net":-16}],"newsroomArticleCount":360,"newsroomTopicCounts":{"ai_capability_frontier":171,"work_and_role_change":157,"skills_demand_and_labour_market":98,"skills_systems_and_hr_tech":152,"policy_standards_and_governance":188}},"partialSlices":["atlas","glossary","roles","exposure","newsroom"]}