Explore the research collection
243 entries · showing 193–216 · Follow this search
- Paper
Transformers need glasses! Information over-squashing in language tasks
We study how information propagates in decoder-only Transformers, which are the architectural backbone of most existing frontier large language models (LLMs). We rely on a theoretical signal propagation analysis -- specifically, we analyse the representations of the last token in the final layer of the Transformer, as …
- Paper
Round and Round We Go! What makes Rotary Positional Encodings useful?
Positional Encodings (PEs) are a critical component of Transformer-based Large Language Models (LLMs), providing the attention mechanism with important sequence-position information. One of the most popular types of encoding used today in LLMs are Rotary Positional Encodings (RoPE), that rotate the queries and keys bas…
- Paper
MEDIC: Comprehensive Evaluation of Leading Indicators for LLM Safety and Utility in Clinical Applications
While Large Language Models (LLMs) achieve superhuman performance on standardized medical licensing exams, these static benchmarks have become saturated and increasingly disconnected from the functional requirements of clinical workflows. To bridge the gap between theoretical capability and verified utility, we introdu…
- Paper
GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Generative Pre-trained Transformer models, known as GPT or OPT, set themselves apart through breakthrough performance across complex language modelling tasks, but also by their extremely high computational and storage costs. Specifically, due to their massive size, even inference for large, highly-accurate GPT models m…
- Paper
The Art of Scaling Reinforcement Learning Compute for LLMs
Reinforcement learning (RL) has become central to training large language models (LLMs), yet the field lacks predictive scaling methodologies comparable to those established for pre-training. Despite rapidly rising compute budgets, there is no principled understanding of how to evaluate algorithmic improvements for sca…
- Paper
Budget-aware Test-time Scaling via Discriminative Verification
Test-time scaling is a powerful strategy for boosting the performance of large language models on complex reasoning tasks. While state-of-the-art approaches often employ generative verifiers to select the best solution from a pool of candidates, this method incurs prohibitive computational costs, limiting its practical…
- Paper
The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoning
Reinforcement learning (RL) has recently become a strong recipe for training reasoning LLMs that produce long chains of thought (LongCoT). Yet the standard RL "thinking environment", where the state is the prompt plus all prior reasoning tokens, makes the state unbounded and forces attention-based policies to pay quadr…
- Paper
Large Language Monkeys: Scaling Inference Compute with Repeated Sampling
Scaling the amount of compute used to train language models has dramatically improved their capabilities. However, when it comes to inference, we often limit models to making only one attempt at a problem. Here, we explore inference compute as another axis for scaling, using the simple technique of repeatedly sampling …
- Paper
ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases
The tendency to find and exploit "shortcuts" to complete tasks poses significant risks for reliable assessment and deployment of large language models (LLMs). For example, an LLM agent with access to unit tests may delete failing tests rather than fix the underlying bug. Such behavior undermines both the validity of be…
- Paper
Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models
Large language model (LLM) applications such as agents and domain-specific reasoning increasingly rely on context adaptation: modifying inputs with instructions, strategies, or evidence, rather than weight updates. Prior approaches improve usability but often suffer from brevity bias, which drops domain insights for co…
- Paper
Pretraining Large Language Models with NVFP4
Large Language Models (LLMs) today are powerful problem solvers across many domains, and they continue to get stronger as they scale in model size, training set size, and training set quality, as shown by extensive research and experimentation across the industry. Training a frontier model today requires on the order o…
- Paper
DeepSeek-OCR: Contexts Optical Compression
We present DeepSeek-OCR as an initial investigation into the feasibility of compressing long contexts via optical 2D mapping. DeepSeek-OCR consists of two components: DeepEncoder and DeepSeek3B-MoE-A570M as the decoder. Specifically, DeepEncoder serves as the core engine, designed to maintain low activations under high…
- Paper
Train for Truth, Keep the Skills: Binary Retrieval-Augmented Reward Mitigates Hallucinations
Language models often generate factually incorrect information unsupported by their training data, a phenomenon known as extrinsic hallucination. Existing mitigation approaches often degrade performance on open-ended generation and downstream tasks, limiting their practical utility. We propose an online reinforcement l…
- Paper
Chasing the Tail: Effective Rubric-based Reward Modeling for Large Language Model Post-Training
Reinforcement fine-tuning (RFT) often suffers from reward over-optimization, where a policy model hacks the reward signals to achieve high scores while producing low-quality outputs. Our theoretical analysis shows that the key lies in reward misspecification at the high-reward tail: the inability to reliably distinguis…
- Paper
Hymba: A Hybrid-head Architecture for Small Language Models
arXiv 2411.13676: Hymba hybrid-head (attention + SSM in parallel), learnable meta tokens, cross-layer KV sharing, partial SWA. Hymba-1.5B-Base claims SOTA among sub-2B public models and beats Llama-3.2-3B avg accuracy with ~11.67× smaller cache and ~3.49× throughput. HF: nvidia/Hymba-1.5B-Base|Instruct. Discord: NVIDIA hybrid Mamba×Attention 1.5B.
- Paper
Training Language Models to Self-Correct via Reinforcement Learning
arXiv 2409.12917 (v2): SCoRe multi-turn RL for self-correction using only self-generated data; addresses SFT distribution mismatch and behavior collapse. Reports +15.6% / +9.1% self-correction lifts on MATH / HumanEval for Gemini 1.0 Pro / 1.5 Flash baselines. Discord: Training LLMs to self-correct.
- Paper
Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models
arXiv 2405.04304 (v5): DISCO / dynamic speculation lookahead; HF blog (2024-10-08) reports up to ~2.7× vs heuristic on some tasks; default assisted-generation mode in Transformers 4.45+. Discord Lewis Tunstall LinkedIn: smaller draft + larger verify, up to ~3× framing.
- Paper
Improve Mathematical Reasoning in Language Models by Automated Process Supervision
arXiv 2406.06592 (OmegaPRM): divide-and-conquer MCTS finds the first CoT error with binary search to build process supervision at scale (~1.5M annotations in paper). With weighted self-consistency, reports Gemini Pro MATH success 51%→69.4% (~36% relative) and gains on GSM8K; similar lifts on Gemma2 27B. Matches Discord note (binary-search CoT errors; 36% math improvement; no human supervision). Philipp Schmid LinkedIn in backlog links this paper.
- Paper
Stream of Search (SoS): Learning to Search in Language
arXiv 2404.03683: represents search as flattened strings (Stream of Search) capturing exploration, verification, pruning, and backtracking. Demonstrated on Countdown arithmetic; SoS pretraining beats optimal-path-only training (~25% search accuracy lift in paper abstract framing); further STaR/APA finetuning solves previously unsolved problems. Code github.com/kanishkg/stream-of-search. Discord framed SoS as a native-CoT / o1-related method.
- Paper
LittleLearner: Language Models Under Pedagogically Controlled Knowledge Exposure
Introduces LITTLECURRICULUM, an 88B-token pretraining corpus limited to U.S. elementary (≤Grade 5) material, and LITTLELEARNER, a 5B LM trained from scratch on it. Model has usable open-ended language ability but clear out-of-scope knowledge boundaries. First experiments: post-training and ICL help use in-scope knowledge but do not raise out-of-scope capabilities. Releases corpus + model as a developmentally restricted sandbox.
- Paper
Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision
HAWKEYE provides ~10 expert unit tests per architecture (one per recurring optimization strategy) so coding agents can stack hardware-specific optimizations across Ampere/Hopper/Blackwell/MI350 and low precisions (BF16, FP8, NVFP4, MXFP4), approaching or surpassing expert PyTorch/Triton. No numeric arXiv id found on AlphaXiv page (slug 2608.hawkeye-...); cataloged from AlphaXiv abstract.
- Paper
Trajectory-Refined Distillation
arXiv 2606.08432. Identifies prefix failure in on-policy (self-)distillation: wrong student prefixes make per-token teacher KL bimodal/fragmented. Proposes TRD: sample on-policy y_o, then teacher-refine to y_r (OPSD conditions on reference), distill forward KL on y_r. Gains on AIME/AMOBench/code vs Forward/Reverse KL ± clip/top-K with Qwen3-1.7B/4B/8B; code https://github.com/louieworth/trd.
- Paper
OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoning
arXiv 2502.11271 (submitted 2025-02-16; revised through 2026-04-13). Stanford Zou-group OctoTools: standardized tool cards, high-/low-level planner, executor for command generation, and greedy task-specific toolset optimization. Evaluated on 16 benchmarks (MathVista, MMLU-Pro, MedQA, GAIA-Text, etc.); reports +9.3% avg vs GPT-4o zero-shot and up to +10.6% vs AutoGen/GPT-Functions/LangChain with the same tools. Code at github.com/octotools/octotools; site octotools.github.io. Discord MarkTechPost writeup resolved to this arXiv primary.
- Paper
The AI Index 2025 Annual Report
Stanford HAI AI Index Report 2025 (457 pages; April 2025; DOI arXiv 2504.07139). Co-directors Yolanda Gil & Raymond Perrault; Research Manager/EIC Nestor Maslej. New coverage of AI hardware, inference costs, publication/patent trends, corporate RAI practices, and AI in science/medicine. Highlights include sharp gains on MMMU/GPQA/SWE-bench, $109.1B U.S. private AI investment in 2024, and rising global AI regulation/investment. Licensed CC BY-ND 4.0.