Tag: llm
14 topic(s)
- GRPO Pathology Fixes (Dr. GRPO & DAPO)Standard Group Relative Policy Optimization (GRPO) introduces length bias (dividing by response length |o_i| rewards verbose wrong answers and penalizes concise right ones), question-level difficulty bias (dividing by group standard deviation over-weights trivial or impossible prompts), and entropy collapse from symmetric clipping. Dr. GRPO and DAPO correct these pathologies via token-level loss normalization, decoupled asymmetric clipping (Clip-Higher), dynamic sampling of zero-variance groups, and removal of standard-deviation normalization.
- Reinforcement Pre-Training (RPT)Reinforcement Pre-Training (RPT) reframes next-token prediction over general pre-training text as an online reinforcement learning problem with verifiable rewards. Before predicting the next token (or token span), the model generates an internal chain-of-thought trace and receives a binary exact-match reward against the ground-truth corpus continuation, turning every document in a pre-training corpus into a self-supervised RLVR environment.
- Thinking Budgets & Adaptive Reasoning EffortFrontier reasoning models expose an explicit or learned thinking budget that controls how many internal reasoning tokens are generated before the final response. Through length-conditioned RL rewards, budget-forcing tokens, and hybrid fast/thinking routing, a single model can operate along a continuous accuracy–latency Pareto frontier rather than running maximum-length chains of thought on trivial queries.
- Continuous Latent-Space Reasoning (Coconut)Continuous latent-space reasoning replaces discrete natural-language chain-of-thought tokens with continuous hidden-state vectors fed directly back into the Transformer as input embeddings. Because each continuous thought is a high-dimensional vector rather than a one-hot vocabulary sample, it can represent a superposition of multiple candidate reasoning paths simultaneously, enabling breadth-first search in activation space with far fewer autoregressive steps.
- Trainable Block-Sparse Attention (NSA & MoBA)Unlike post-hoc KV-cache eviction heuristics (H2O, SnapKV) or static sparsity masks (Longformer, BigBird), Native Sparse Attention (NSA) and Mixture of Block Attention (MoBA) learn dynamic, content-based block routing end-to-end during pre-training and align block granularity with GPU SRAM tiling so theoretical FLOP reductions translate into real prefill and decoding speedups.
- Fine-Grained & Shared-Expert MoE (Loss-Free Balancing)Modern Mixture-of-Experts architectures replace a handful of coarse experts (such as 8× top-2 in Mixtral) with dozens or hundreds of fine-grained routed experts alongside always-active shared experts, and replace gradient-distorting auxiliary load-balancing losses with a dynamic per-expert router bias updated outside the computational graph.
- Byte-Latent Transformers (BLT) & Dynamic PatchingByte-Latent Transformers (BLT) eliminate fixed subword vocabularies (BPE/SentencePiece) by grouping raw UTF-8 bytes into variable-length patches bounded by next-byte entropy spikes. Lightweight local byte encoders and decoders bridge raw bytes to a heavy latent Transformer that runs only once per patch, allocating compute dynamically to unpredictability rather than static orthographic frequency.
- Masked Diffusion Language Models (MDLM / LLaDA)Masked Diffusion Language Models (MDLM) and Large Language Diffusion with mAsking (LLaDA) formulate discrete language modeling as the time-reversal of a continuous-time forward masking process. Using a bidirectional Transformer trained on a weighted integral of masked cross-entropy losses, they provide an exact likelihood bound, native bidirectional infill, and parallel multi-token generation.
- Recursive Language Models (RLMs) & Context FoldingRecursive Language Models (RLMs) and Context Folding treat arbitrarily long inputs and agent histories not as a flat token prefix forced into a single attention window, but as an external symbolic environment that the root LLM programmatically inspects, slices, and delegates to isolated sub-calls whose intermediate scratchpads are folded into compact return summaries.
- Computer-Use Agents & Long-Horizon HarnessesComputer-Use Agents (CUAs) and coding harnesses couple multimodal reasoning models with an executable operating-system loop (screenshots/DOM perception, bash/editor tools, mouse/keyboard actions) and train the policy end-to-end across dozens of environment turns. Their performance depends equally on multi-turn RL over real execution sandboxes and on harness engineering — KV-cache prefix preservation, observation pruning, and environment-grounded verification.
- Contamination-Resistant & Frontier Benchmarks (ARC-AGI-2, LiveBench, HLE)As static benchmarks (MMLU, GSM8K, HumanEval) saturate from pre-training contamination and post-training overfitting, modern evaluation relies on three defenses: compositional novel-rule synthesis with private held-out test sets (ARC-AGI-2), continuously refreshed time-stamped tasks (LiveBench, LiveCodeBench), and multi-disciplinary expert-frontier exams (Humanity's Last Exam, FrontierMath).
- Training Data Attribution at Scale (Influence Functions & TRAK)Training Data Attribution (TDA) estimates how much a model's prediction or loss on a test query would change if a specific training example were down-weighted or removed. Random-projection linearized kernels (TRAK) and Kronecker-factored Gauss–Newton approximations (EK-FAC Influence Functions) make counterfactual attribution tractable at billion-parameter LLM scale.
- Machine Unlearning & Targeted Knowledge RemovalMachine unlearning removes specific hazardous capabilities, copyrighted texts, or private entities from a trained model without retraining from scratch. Because naive gradient ascent collapses general fluency and representation steering (RMU, NPO) can often be reversed by fine-tuning or adversarial rephrasing, unlearning is evaluated by the forget-quality vs. utility retention frontier and robustness to relearning attacks.
- Ternary & 1.58-Bit Quantization-Aware Training (BitNet b1.58)Unlike post-training quantization (PTQ), which compresses high-precision weights after convergence and degrades sharply below 3–4 bits, BitNet b1.58 trains Transformer linear layers natively from scratch with ternary weights {-1, 0, +1} via absmean quantization and Straight-Through Estimators — replacing floating-point matrix multiplications with integer additions while matching full-precision perplexity at scale.