arXiv digest

Sunday

October 25, 2026

Up to five new AI papers a day, read in full where arXiv renders them and checked against the source.

Paper 1 of 5

Direct Pass@$k$ Optimization for Thought Pruning: Balancing Quality and Diversity in Test-Time Reasoning

Mahdi Salmani, Adel Javanmard, Devansh Gupta and 1 others · abstract · pdf

quote verifiedfigures checkedread: full textcs.AI

Problem

Prior pruning methods either score partial solutions for quality or select diverse trajectories, but they do not directly optimize the trade‑off between quality and diversity, and naive combination of the two does not yield consistent improvements.

Approach

The paper introduces PKTP, which first learns a probabilistic model of joint rollout outcomes using a linear probe that predicts quality and captures shared random effects. It then estimates the pass@k value for any subset of rollouts and solves a mixed‑integer program at selection time to choose the subset that maximizes the estimated pass@k. This objective simultaneously rewards high‑quality partial solutions and penalizes redundancy, balancing quality and diversity without separate heuristics. The learned model is trained by maximizing a second‑order surrogate likelihood via stochastic gradient ascent. At inference, the optimizer selects the pool of partial rollouts to continue generation.

Result

PKTP consistently outperforms both the Linear Probe and RepExp baselines, especially at moderate numbers of kept rollouts, and remains above Random for all models when k is moderate. At large k the gap narrows, indicating the quality signal in partial rollouts becomes weaker.

Why it matters

Researchers and engineers building test‑time pruning pipelines for large reasoning models should consider PKTP to achieve better trade‑offs between solution quality and computational cost.

Method details
  • Evaluated on eight open‑weight reasoning models (four small: Qwen3‑0.6B, Qwen3‑1.7B, OpenMath‑Nemotron‑1.5B, DeepSeek‑R1‑Distill‑Qwen‑1.5B; four large: Qwen3‑8B, OpenMath‑Nemotron‑7B, DeepSeek‑R1‑Distill‑Qwen‑7B, Skywork‑OR1‑Math‑7B).
  • Datasets include AIME 2024‑2026, HMMT 2024‑2026, RIMO‑N, plus tier‑specific benchmarks (BeyondAIME, OlymMATH Easy, Omni‑MATH 7‑8 for small; AMO‑Bench, OlymMATH Hard, Omni‑MATH 8‑9 for large).
  • Training uses the joint correctness patterns of rollouts per question, optimizing the surrogate likelihood from Eq. 9 with a simple linear model as the quality predictor.
  • Baselines compared are Random selection, Linear Probe ranking, and RepExp diversity selection.
  • Ablations include varying the number of kept rollouts (k) and analyzing performance at moderate versus large k values.
Numbers
  • 8 open‑weight reasoning models, outperforms existing quality‑based and diversity‑based pruning strategies
Limitations

The paper does not establish how to obtain a strong quality embedding from partial rollouts, noting that the correctness signal may be weak.

the Linear Probe performs strongly at , but as increases it gets closer and closer to RandomFound in the source text, word for word.

Picked because: Presents a concrete test‑time pruning method (Pass@$k$) that cuts inference cost for LLM reasoning agents and includes released code.

Paper 2 of 5

A Fix for Softmax and Cross-Entropy

Jonathan T. Barron, Dan Gnanapragasam, Michael Tschannen · abstract · pdf

quote verifiedfigures checkedread: full textcs.LG

Problem

Standard softmax and cross‑entropy implementations suffer from Softmax Collapse, which zeroes the target logit gradient at high confidence, and Softmax Cancellation, which leaves a non‑zero gradient when student and teacher logits are equal. These bugs cause gradients that do not sum to zero and produce loss spikes (the “Slingshot”) during training. Simple tricks like casting to higher precision or adding surrogate losses do not fully remove the precision‑cliff behavior.

Approach

The authors rewrite log‑softmax, softmax and cross‑entropy entirely in log space so that the target logit is never added directly to the denominator. They compute a logit margin by excluding the maximal logit from the log‑sum‑exp and combine terms with a numerically stable softplus. The resulting functions preserve accurate gradients down to exponent underflow and guarantee zero‑sum gradients. A JAX implementation is provided that uses argmax masking, shifted logits, and log‑sum‑exp of the non‑max entries. This fix works across bf16, fp32 and fp64 without needing higher‑precision casts.

Result

Fixed cross‑entropy eliminates the Slingshot loss spikes, reaches 100 % test accuracy in all three precisions, and attains the predicted equilibrium margin near zero. Standard cross‑entropy stalls near its precision cliff and achieves lower accuracy (e.g., 94.3 % in fp32). The method also prevents student‑teacher drift during soft‑target distillation. Across benchmarks, fp32 fixed cross‑entropy matches fp64 standard cross‑entropy performance.

Why it matters

Practitioners training high‑confidence models, performing knowledge distillation, or studying grokking should adopt the fixed loss functions to avoid gradient anomalies and improve stability across precisions.

Method details
  • 1‑layer width‑ReLU Transformer trained on modular addition with full‑batch AdamW (weight decay , learning rate , beta1 , beta2 )
  • Evaluated on four grokking benchmarks: 1‑layer Transformers on two datasets and 2‑layer MLPs on two datasets
  • Compared fixed cross‑entropy against standard cross‑entropy, Zero‑sum Proj (Liu et al. 2026) and StableMax (Prieto et al. 2025)
  • Precision variants tested: bf16, fp32, fp64
  • Training loss, test accuracy and final logit margin recorded for each variant
Numbers
  • Test Accuracy 100.0 % Fixed CE vs 94.3 % Standard CE (fp32)
  • Final Margin 0.0 Fixed CE vs 5.4 Standard CE (fp32)
  • Test Accuracy 100.0 % Fixed CE (bf16) vs 93.3 % Standard CE (bf16)
  • Final Margin 0.0 Fixed CE (fp64) vs 0.0 Standard CE (fp64)
  • Fixed CE reaches 100 % test accuracy in bf16, fp32 and fp64
Limitations

The paper does not demonstrate the impact of the fixes on large‑scale training regimes where extreme margins are uncommon.

Fixed cross‑entropy in fp32 (blue) matches fp64 standard cross‑entropy (red), while standard cross‑entropy in fp32 (orange) breaks at .Found in the source text, word for word.

Picked because: Identifies and patches two pervasive numerical bugs in softmax and cross‑entropy implementations, offering a ready‑to‑apply fix for production ML pipelines.

Paper 3 of 5

Rethinking Sequence Compression with Test-time Regression

Sihan Yang, Jie Huang, Hanxuan Li and 4 others · abstract · pdf

quote unverifiedfigures checkedread: full textcs.LG

Problem

Prevailing sequence compressors based on pooling or learned projections remain underperforming because they aggregate tokens with weights that ignore inter-token relationships. Mean pooling uses uniform weights, linear projection uses fixed position-dependent weights, and attention-weighted pooling scores each token independently, leading to redundant information reinforcement and distinctive information dilution.

Approach

The paper reframes sequence compression as a test-time regression problem where input tokens define a ridge‑regression whose fitted coefficients become the compressed representation. TTR‑Compressor constructs this self‑supervised regression, learns its regularizer end‑to‑end, and solves the dual form in closed form via an efficient Cholesky factorization. The inner regression adapts to each input, while the outer training meta‑learns how to pose the regression for downstream tasks. Only a few learnable parameters are added per compressor, making it a drop‑in replacement for pooling or projection modules.

Result

TTR‑Compressor achieves the highest retrieval accuracy on RULER Needle‑In‑A‑Haystack tasks across all context lengths, surpassing attention‑weighted pooling by large margins, and matches the standard MLP merger while using 55.6% fewer visual tokens. It also improves average RULER score to 0.5092 compared with 0.3920 for attention‑weighted pooling.

Why it matters

Researchers and engineers building efficient large language or multimodal models should consider TTR‑Compressor to improve compression quality without significant overhead.

Method details
  • 345M‑parameter language model trained on the FineWeb dataset
  • Context length 8K tokens, training for 30,000 steps with global batch size 128 (≈30B tokens)
  • AdamW optimizer with unspecified learning rate
  • Sparse attention uses 64‑token blocks, selects up to 32 distant blocks, and retains a 512‑token local window
  • Baselines compared: mean pooling, concat & projection, attention‑weighted pooling, full attention, sliding‑window attention
  • A Conv‑augmented variant of TTR‑Compressor is also evaluated
Numbers
  • S‑NIAH‑1 accuracy 0.996 (TTR‑Compressor) vs 0.944 (Attention‑Weighted Pooling)
  • MK‑NIAH‑1 accuracy 0.982 (TTR‑Compressor) vs 0.926 (Attention‑Weighted Pooling)
  • Average RULER score 0.5092 (TTR‑Compressor) vs 0.3920 (Attention‑Weighted Pooling)
  • Average RULER score 0.2632 (Full Attention) vs 0.5092 (TTR‑Compressor)
  • Visual token merging matches MLP merger with 55.6% fewer visual tokens
Limitations

The paper does not establish limitations; none are explicitly stated.

The model could not quote the source for its claim, so nothing above has been checked against the paper. Read the abstract before trusting it.Citation check failed.

Picked because: Introduces a test‑time regression approach for sequence compression that improves model latency and can be integrated into existing inference stacks.

Paper 4 of 5

Beyond Causal Masks: Auditing and Localizing Hidden Future-Token Leakage in Adaptive Sequence Models

Huiting Liu, Jinsong Wu · abstract · pdf

quote verifiedfigures checkedread: full textcs.AI

Problem

Hidden future-token leakage allowed an autoregressive model to show large teacher-forced validation loss improvements while its free-running generation degraded; the standard causal attention mask did not prevent leakage because auxiliary paths such as the dynamic routing summary exposed future tokens to prefix positions.

Approach

The authors audit models with a prefix‑invariance contract, measuring maximum prefix‑output discrepancy (LeakScore) and layer‑wise profiles. They locate the leak to a full‑sequence summary broadcast through the dynamic routing‑query path of an adaptive residual‑routing decoder. Causal repairs replace the offending summary with token‑local or prefix‑only summaries and adjust routing, convolution, and normalization to respect prefix boundaries. The repaired 12‑layer models are trained independently and validated with the same audit, confirming that leakage is eliminated and validation loss returns to baseline levels.

Result

The 24‑layer CDR checkpoint lowered validation loss from 3.5958 to 1.4259 but failed the prefix‑invariance audit and showed substantially higher reference‑model perplexity during generation; after applying two independent 12‑layer causal repairs, validation loss and reference perplexity returned to the control scale, removing the apparent advantage.

Why it matters

Researchers designing adaptive sequence models should incorporate prefix‑invariance audits and causal repairs to avoid misleading gains from hidden future‑token leakage.

Method details
  • Baseline 24‑layer decoder: 101.5M parameters, validation loss 3.5958.
  • CDR‑augmented 24‑layer decoder: 104.7M parameters, validation loss 1.4259 (anomalous).
  • Training data: OpenWebText with GPT‑2 tokenizer (vocab 50304), block size 512.
  • Optimizer: AdamW with weight decay 0.1, cosine learning‑rate decay, 20,000 iterations, batch 64 sequences/step, precision bfloat16.
  • Real‑model audit uses GPT‑2, Qwen2.5‑0.5B, and Mamba‑130M with float32 inference.
  • Synthetic audit covers six implementation pairs across five module families (pooling, temporal convolution, linear attention, dynamic routing, cross‑time normalization).
Numbers
  • validation loss, 3.5958, baseline model
  • validation loss, 1.4259, anomalous 24‑layer CDR checkpoint
  • parameter count, 101.5M, baseline 24‑layer model
  • parameter count, 104.7M, CDR 24‑layer model
  • training iterations, 20,000, all CDR checkpoints
  • batch size, 64 sequences/step, effective batch
Limitations

The audit is a practical necessary check, not a formal proof of causality, and the study covers only a limited set of module families and a single case study, leaving many modern architectures unexamined.

An anomalous 24-layer checkpoint reduces validation loss from the baseline’s 3.5958 to 1.4259, yet it fails a prefix-invariance audit and has substantially higher reference-model perplexity during generation.Found in the source text, word for word.

Picked because: Provides tools to detect hidden future‑token leakage in adaptive decoders, enabling verification of LLM agents against subtle inference bugs.

Paper 5 of 5

From Prompt Rules to Golden Data Model: Production-Scale Generation of Personalized, Compliant Pharmaceutical Claims

Suyash Mishra, Qiang Li, Subhabrata Adak and 3 others · abstract · pdf

quote verifiedfigures checkedread: full textcs.AI

Problem

Legacy rule‑based prompting limited compliance, factual accuracy and personalization, and simply adding more prompt‑level rules does not scale in a regulated domain.

Approach

The system builds a Golden Data Model (GDM) that stores 1,867 claims with metadata, references, audience labels and a six‑dimension quality score. A Semantic Integrity Layer continuously upserts source data, then a Graph‑Based Representation links claims to references and materials in a Neo4j graph. The 6C Quality Framework scores each claim on Clarity, Completeness, Consistency, Connectivity, Compliance and Context. An Alignment Annotation Protocol provides blinded binary judgments of indication, content type and audience. An Audience Lens filters and ranks claims by target audience and other signals before the LLM retrieves the top‑ranked claims and generates personalized text.

Result

The context‑based pipeline increased intended indication by 29%, intended content type by 62% and intended target audience by 67%, raised the 6C quality score by 86% and claim reuse by 34%. Weekly API cost fell 29.5% and response‑token generation dropped 65.4%, while request success rose from 99.2% to 100%.

Why it matters

Product teams and engineers building regulated content generation systems should care because restructuring data for retrieval‑time filtering yields higher compliance, personalization and cost efficiency than expanding prompt rules.

Method details
  • Model used for LLM evaluation: us.anthropic.claude-sonnet-4-5 (and us.anthropic.claude-sonnet-4-20250514-v1:0)
  • Dataset: Golden Data Model of 1,867 pharmaceutical claims across four products
  • Graph database: Neo4j stores claim, reference and material nodes
  • 6C scoring uses equal weights across six dimensions
  • Baseline: pre‑pipeline rule‑based prompt system
  • Ablations include token count, latency and monetary cost per request
Numbers
  • intended indication, +29%, vs pre‑pipeline
  • intended content type, +62%, vs pre‑pipeline
  • intended target audience, +67%, vs pre‑pipeline
  • 6C quality score, +86%, vs pre‑pipeline
  • claim reuse, +34%, vs pre‑pipeline
  • weekly API cost reduction, 29.5%, vs pre‑pipeline
Limitations

The work provides only descriptive deployment evidence and does not measure regeneration rate, active‑user counts or campaign mix, so causal impact is not established.

Across six product-audience segments, the context pipeline improves intended indication (+29%), intended content type (+62%) and intended target audience (+67%), 6C quality score (+86%), and claim reuse (+34%).Found in the source text, word for word.

Picked because: Describes a production‑scale LLM workflow for compliant pharmaceutical claim generation, illustrating end‑to‑end tooling and deployment on self‑hosted infrastructure.