Papers for

ai model trainers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

FlashBoB cuts memory needs for exact gradients in long softmax attention

FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention

Abstract: Transformer models built on the attention mechanism have become a central building block in modern deep learning, yet softmax attention remains a major bottleneck for long-context workloads. While FlashAttention makes the forward and first backward passes I/O-efficient, it does not support backward-over-backward (BoB), which enables exact differentiation through the backward pass for applications such as second-order optimization, test-time training, gradient-based memory, and meta-learning. Existing BoB implementations either materialize large intermediate tensors or exhaust GPU memory at long sequence lengths. We present FlashBoB, an exact, I/O-efficient algorithm for BoB in softmax attention that keeps computation within on-chip tiles and avoids all $N \times N$ intermediate tensors, where $N$ is the sequence length. The key insight is a hierarchical affine structure in the softmax double backward: two row-wise scalars determine all outputs through affine transformations. This yields a two-pass schedule with bounded on-chip static random-access memory (SRAM) usage and minimal off-chip high-bandwidth memory (HBM) traffic. FlashBoB achieves $Θ(N^2 d^2/M)$ HBM traffic ($d$ is the head dimension and $M$ is the memory size) and, within the standard FlashAttention-style score-recomputation model, matches the inherited large-cache lower bound for exact forward attention. Empirically, it scales exact attention BoB to $N=262\text{K}$ on a single A100 80GB GPU, where prior PyTorch exact baselines fail by $N=16\text{K}$, and is up to $6.3\times$ faster than FlashBack. These results make exact second-order attention practical at long-context sequence lengths where prior implementations cannot run efficiently.

Mon 21 SeptMachine LearningArtificial Intelligence
The gist
Working with transformer models that process very long sequences is slow and uses a lot of memory due to the attention mechanism. The authors developed FlashBoB, a method that computes exact gradients during training more efficiently by avoiding large memory use and heavy data movement. This lets models handle much longer sequences on a single GPU than before, speeding up certain advanced training techniques that require precise gradient calculations. FlashBoB achieves this by cleverly reusing small internal computations and reducing the need to store big intermediate data.
Open 2609.24089v1

Gradient imbalance impacts vision language model fine tuning differently across domains

Reassessing Global Gradient-Norm Imbalance in BLIP Fine-Tuning Across Physical Domains

Abstract: Imbalanced gradient magnitudes between the visual and language pathways of a vision-language model are often treated as a defect to be corrected. We test that premise for one family of correction, deliberately excluding adaptive, signal-driven schemes (e.g. BalGrad, OGM, PMR, CGGM), which are a mechanistically distinct class outside this study's scope. Measuring the language-to-visual gradient-norm ratio, reported in parameter-normalised form, across nine fine-tuning conditions, three seeds, and three captioning datasets spanning distinct physical domain shifts -- underwater, aerial, radiological -- we find imbalance magnitude varies markedly across domains with no predictable ordering. A plain learning-rate reduction cuts imbalance substantially and lands within a few BLEU points of the best method on every dataset. Staged freezing reduces the ratio on every domain yet never ranks first; a schedule-only control isolates freezing as the cause on one dataset but not the other two. Forcing the two gradient groups to equal magnitude drives per-parameter imbalance close to zero on every domain, yet is both the best result in the study and the worst placement among full fine-tuning methods, on different datasets, with identical settings. Reductions in gradient-norm ratio do not consistently predict captioning performance across domains, and how a given level of balance is reached matters as much as the level itself. As a secondary finding, a commonly reused LoRA configuration applied to BLIP silently adapts zero visual parameters; correcting it improves BLEU-4 on all three datasets.

Sun 20 SeptComputer Vision and Pattern Recognition
The gist
Training models that connect images and text can involve uneven updates between the visual and language parts, which people often try to fix. The authors studied whether balancing the sizes of these updates always improves performance across different image types like underwater or aerial photos. They found that how much imbalance there is and whether fixing it helps changes depending on the type of images used. Simple steps like lowering learning rates or gradually freezing parts affect imbalance differently, and forcing exact balance does not always result in better captions. They also found a common setup for fine-tuning was accidentally leaving some visual parts unchanged, and correcting this helped performance on all tested datasets.
Open 2609.23655v1

Self-distillation methods separate learning correctness from response style

On Repulsive and Attractive Teachers: Separating Correctness from Behavior in Self-Distillation

Abstract: On-policy self-distillation provides dense, token-level supervision by conditioning a model on privileged information and distilling the resulting teacher distribution back into the model. However, privileged information can change not only what the teacher knows, but also how it behaves, entangling correctness-relevant learning signals with unintended behavioral shifts. We study this effect in reasoning tasks by contrasting attractive self-distillation, which moves the model toward a privileged teacher, with repulsive self-distillation, which moves it away from a privileged teacher. We find that both objectives can induce strong and opposing behavioral shifts: attraction suppresses exploratory reasoning and promotes shorter, more confident responses, whereas repulsion increases response length, can trigger unintended switches into a model's latent thinking mode, and ultimately becomes unstable. Motivated by these observations, we study contrastive self-distillation, which combines attraction toward a correct-solution-conditioned teacher with repulsion from an incorrect-solution-conditioned teacher. In contrast to prior work that combines such distillation signals with a GRPO objective, we isolate the self-distillation objective and study its behavior on its own. We find that the shared behavioral shifts of the two teachers largely cancel, leaving a token-level signal that more directly reflects correctness. Across non-thinking, instruct-only, and already-thinking models, this contrastive objective improves reasoning performance while maintaining stable response lengths.

Fri 18 SeptMachine LearningArtificial Intelligence
The gist
When teaching AI models how to reason better, giving them extra information can change not just what they know but how they act. The authors studied ways to encourage AI models to either imitate or avoid a teacher model's behavior, finding that pushing a model to mimic (attraction) or avoid (repulsion) leads to very different changes in answer style and stability. They then combined these approaches in a new method that encourages learning from correct answers while moving away from wrong ones, helping the model focus more on correctness and less on style. This new method improved reasoning performance and kept answers stable in length.
Open 2609.21561v1

Paraphrase method reveals and fixes language model factual errors

Hallucination-R1: Robustness-Oriented Paraphrase Generation for Factual Consistency

Abstract: Factual hallucination is commonly defined by incorrect factual outputs. We study a paraphrase-induced hallucination setting, where a model answers a factual question correctly in its original form but generates an incorrect answer under a semantically equivalent paraphrase. Such inconsistencies expose latent factual instability under semantic invariance. However, general-purpose paraphrases are often insufficient as robustness-oriented supervision: near-copy paraphrases provide weak signals, while overly diverse paraphrases may break semantic equivalence. In this paper, we propose HALLUCINATION-R1, a robustness-oriented paraphrase generation framework that learns to produce semantically faithful yet robustness-challenging paraphrases for factual consistency. Through two-stage optimization, it first stabilizes meaning-preserving and diverse paraphrasing, then rewards paraphrases that reveal factual consistency degradation in downstream QA models. Experiments on SimpleQuestions, PopQA, and TruthfulQA show that HALLUCINATION-R1 achieves a strong consistency--diversity trade-off and exposes robustness failures across multiple model families and datasets. Further analyses indicate that these failures are not reducible to surface-level artifacts or semantic drift, but reveal non-trivial factual instability under meaning-preserving variation. A lightweight fine-tuning study also shows that HALLUCINATION-R1-generated data improves robust accuracy under paraphrase variations, suggesting its utility for robustness-oriented training. Our code and models are publicly available at https://github.com/yuwenhan07/Hallucination-R1.

Fri 18 SeptComputation and LanguageArtificial Intelligence
The gist
Sometimes AI systems give wrong answers when a question is asked in different but equivalent ways, exposing a problem with how facts are understood. The authors created a method called HALLUCINATION-R1 that generates paraphrases that are still faithful to the original meaning but tricky enough to show where AI models make factual mistakes. This method helps reveal hidden errors in question-answering models and can produce training data that makes those models better at staying factually consistent across different question forms.
Open 2609.21227v1

Taxonomy clarifies robot responses to incomplete human instructions indoors

From Wizard-of-Oz Human-Robot Dialogue Collection to a Taxonomy of Robot Response Decisions: A Retrospective Analysis of Assistive Pilot Interactions

Abstract: Robots that follow natural-language instructions in everyday indoor environments must act on incomplete human utterances. Instructions often omit essential information, such as the identity of an out-of-view object, an intended destination, or the user's goal. Existing datasets contain little real-world situated dialogue and provide few practice-grounded criteria for deciding when a robot should act, confirm, clarify, or refuse. We retrospectively analyze a pilot Wizard-of-Oz study in which five participants performed everyday indoor tasks, including door opening, drawer opening, feeding, drinking, and cleaning, with a wheelchair-mounted mobile manipulator while the wizard responded without a formal communication policy. This preserved authentic user behavior but produced inconsistent robot-side decisions, motivating an explicit decision scheme. From 40 episodes, we derived a hierarchical taxonomy of six response modes (ANSWER, REPORT_DONE, REFUSE, CONFIRM, CLARIFY, ACT) and four ambiguity types (intent, referential, spatial, intelligibility). Two human annotators and an AI annotator applied the scheme to the pilot data. Clean-label rates were 91% and 89%, and Cohen's ranged from 0.72 to 0.95 across decision-point, mode, and ambiguity levels for both human-human and human-AI comparisons. Fine-tuning LLaVA-1.6-7B on taxonomy-derived labels for ACT and CLARIFY indicates the feasibility of training vision-language models using annotations from our taxonomy. Remaining boundary cases in decision-point identification and REPORT_DONE motivate a constrained protocol for more consistent dialogue collection.

Wed 16 SeptRobotics
The gist
Robots helping people indoors often get unclear directions because humans leave out details. The authors studied how a person pretending to be a robot responded during tasks like opening doors or feeding. From this, they created a system to categorize robot replies, like when to act, ask questions, or refuse. They tested how well humans and AI could apply these categories and explored training AI to decide by itself.
Open 2609.19447v1

Adam optimizer loss spikes linked to momentum and loss shape

Beyond Quadratic Loss: The Stability Phase Diagram of Adam

Abstract: Loss spikes are recurrent instabilities in neural-network training and can arise from multiple mechanisms. For Adam in particular, macroscopic loss spikes have been linked to optimizer dynamics, yet how its two momentum timescales govern them remains unclear. We investigate this dependence by mapping training dynamics across the $(β_1,β_2)$ plane. Across a range of model--task settings, an approximately linear boundary, $1-β_2=C(1-β_1)$, separates spiky from non-spiky dynamics, whereas a one-dimensional quadratic loss produces approximately cubic slope. A one-dimensional superquadratic loss $L(x)\propto|x|^n$ recovers the near-linear scaling and links the boundary coefficient to the effective loss exponent $n$. We further show that confident cross-entropy losses develop a core--wall landscape comprising a narrow quadratic core followed by a steep wall, which produces effective superquadratic behavior at the scale of an optimizer update. Together, these results connect Adam loss spikes to both the mismatch between momentum timescales and finite-scale superquadratic loss geometry beyond the Hessian.

Wed 16 SeptMachine Learning
The gist
Training deep learning models sometimes experiences sudden jumps in error called loss spikes, which slow down learning. The authors studied the Adam optimizer and found that these spikes depend on how two kinds of momentum are balanced during training. They discovered a simple mathematical relationship that separates stable training from unstable, spiky training. They also showed that the shape of the error landscape beyond simple curvature explains these spikes, especially for common classification losses.
Open 2609.18314v1

Token-level scores reveal causes and fixes for harmful fine-tuning errors

TAME: Token Attribution and Masking for Emergent misalignment

Abstract: Fine-tuning an aligned language model on narrow, flawed data can induce harmful behavior far outside the training domain, known as emergent misalignment (EM). Prior work has localized EM in model weights, activations, and training documents, but it remains unclear which training tokens carry the relevant fine-tuning signal. We introduce TAME (Token Attribution and Masking for Emergent Misalignment), a three-stage framework: token attribution scores how strongly the fine-tuning update raises each response token's likelihood, using forward passes through a released LoRA adapter; signal characterization finds patterns among high-attribution tokens; and causal validation tests them by attribution-guided loss masking. On released EM organisms and a 6,849-example medical-advice split, attribution is concentrated (the top 5% of tokens hold 32% of the mass) and, in Llama, depleted for medical vocabulary but enriched for a register of unwarranted certainty, even after controlling for token rarity. Masking high-attribution tokens during fresh fine-tuning cuts EM by 23x in Llama and 36x in Qwen, with the perplexity cost concentrated on the targeted register rather than on medical content; an equal random mask leaves EM unchanged. In Llama, the attribution pattern suggests that EM-relevant signal lies more in how confidently flawed content is expressed than in its domain vocabulary; the causal masking effect itself holds across both model families.

Tue 15 SeptMachine LearningArtificial IntelligenceComputation and Language
The gist
Fine-tuning AI language models on narrow or flawed data can cause them to behave badly in unexpected ways. The paper presents a method called TAME, which finds the specific words in the training data that cause these harmful behaviors. By marking and masking these high-impact words during fine-tuning, the researchers significantly reduce the harmful behavior without harming the model’s useful knowledge. They found that the problem mainly comes from how confidently wrong information is expressed, not just the topic words themselves.
Open 2609.16754v1

On-policy distillation sped up by stopping early and restarting smartly

Know When to Stop, Where to Restart: Accelerating Multi-Turn Agentic On-Policy Distillation

Abstract: On-policy distillation (OPD) has become a standard approach for transferring capabilities from large teachers to compact students. Its cost, however, is dominated by autoregressive student rollouts and scales poorly in multi-turn agentic settings. Existing acceleration methods truncate or relocate the supervision signal according to fixed, offline budgets, despite substantial variation in teacher-signal reliability both within and across trajectories. Our empirical analysis on $τ^2$-bench reveals a clear structure in this variation: informative supervision is concentrated in the prefix of each turn, and, most importantly for multi-turn agentic training, the cross-turn loss of teacher endorsement is temporally locked to the student's first erroneous action rather than accumulating gradually over turns. Building on these findings, we propose STRIDE (Stop-and-Restart on-policy Distillation acceleration), which combines two complementary techniques: adaptive early stopping, which terminates a rollout once the cumulative teacher log-probability falls below an out-of-distribution threshold, and a prefix buffer, which caches high-quality prefixes and restarts generation at the weakest correct turn. Together, these mechanisms induce a data-driven curriculum that progressively extends coverage to later turns. On $τ^2$-bench retail, our method matches full-trajectory OPD and exceeds the 30B teacher at a $3.73\times$ speedup, surpasses the baseline itself at $2.34\times$, and retains a $4.51\times$ speedup under cross-domain multi-teacher training. As a supplementary generalization test beyond the agentic setting, STRIDE outperforms full OPD on AIME 2025 at a $5.10\times$ speedup and on AIME 2024 at a $3.08\times$ speedup; averaged across the two evaluations, both fixed-budget truncation baselines remain below full OPD.

Sun 13 SeptMachine LearningComputation and Language
The gist
Training smaller, faster AI agents using examples from bigger, smarter ones takes a lot of time because each step has to be carefully replayed. The authors studied how the helpful teaching signals vary over time and found that important guidance mostly appears at the start of each step, and mistakes are clear from the very first action gone wrong. Using these insights, they created a method called STRIDE that stops teaching when the guidance is unreliable and restarts from good points, making training faster without losing quality. This method speeds up training significantly across different tests while keeping performance high.
Open 2609.14636v1

Image tokenizers influence text and image tasks in multimodal AI models

Studying Image Tokenizers as Visual Languages in Unified Multimodal Models

Abstract: Image tokenizers define the ``visual language'' of unified multimodal models, yet are commonly studied through isolated metrics or generation-/understanding-only evaluations. These evaluations do not fully capture how visual tokens behave when modeled jointly with text. We build a controlled pure-autoregressive testbed and track task-specific validation losses during multimodal continual pretraining across text, image, text-to-image (T2I), and image-to-text (I2T) prediction. We examine how these losses scale and relate to downstream performance, then use them to study multimodal learnability---how well image and text tokens are jointly modeled---and tokenizer design. We find that (1) losses should be analyzed by task, since they exhibit distinct scaling behavior and rank tokenizers differently. (2) The loss--performance relationship depends on the predicted token space: for a fixed tokenizer, T2I and I2T losses correlate with generation quality, but across tokenizers, the T2I loss--performance relationship shifts with the image-token space, whereas I2T loss, computed over a shared text vocabulary, provides a more consistent signal. I2T loss also correlates with both generation and visual understanding performance after supervised finetuning. Using losses as a lens, we show that (3) better reconstruction does not necessarily yield lower task-specific losses or stronger downstream performance, and that (4) image tokenizer choice can affect text modeling under joint optimization. As case studies, we revisit three tokenizer design axes---the discriminator, semantic supervision, and vocabulary size---to examine their effects on joint modeling and downstream performance. Together, our testbed offers a complementary perspective on image tokenizers as visual languages, highlighting their interplay with text in joint multimodal training.

Tue 8 SeptComputer Vision and Pattern RecognitionComputation and Language
The gist
Image tokenizers turn pictures into a kind of language that computers can understand alongside text. This paper studies how well different tokenizers work when images and words are learned together in an AI model. The authors found that how these tokenizers perform depends on the specific task and that better image reconstruction doesn't always mean better overall results. They also show that choosing the right image tokenizer can affect how well the model understands text when both are trained together. This helps improve how future AI handles pictures and words jointly.
Open 2609.09143v1

Difficulty adaptive tree search improves reasoning coverage in reinforcement learning

Difficulty-Adaptive Tree-Structured Policy Optimization for Expanding Reasoning Coverage in RLVR

Abstract: Reinforcement Learning with Verifiable Rewards (RLVR) has been central to the recent success of Large Reasoning Models. However, while RLVR significantly improves single-sample accuracy, it often fails to expand the model's intrinsic reasoning coverage (pass@k) due to limited exploration during training. To address this, we optimize the structural design of train-time rollouts to enhance pass@k. Our analysis identifies three key design principles: (1) difficulty-adaptive rollout can play an important role in expanding pass@k, beyond serving as an efficiency heuristic; (2) tree-based rollout outperforms parallel sampling in discovering correct answers; and (3) sentence-entropy-guided forking overcomes the localization phenomenon of token-level branching to maximize semantic diversity. Building on these insights, we propose DATPO (Difficulty-Adaptive Sentence-entropy-guided Tree-structured Policy Optimization). DATPO integrates difficulty-adaptive tree search with a sibling-diversity advantage term, explicitly promoting semantic diversity to expand reasoning coverage during training. Experiments on mathematical reasoning benchmarks demonstrate that DATPO outperforms baselines especially in pass@k, which directly translates to superior test-time scaling performance.

Tue 8 SeptMachine LearningArtificial IntelligenceComputation and Language
The gist
Finding the best answers with AI models can be hard because they might not explore many different possibilities during training. The authors show that changing how these models explore ideas—by focusing on harder challenges and using a tree-like method—helps discover more correct answers. They also found that looking at whole sentences instead of single words during this search helps the model be more creative and cover more reasoning options. Their new approach, called DATPO, leads to better performance especially when considering multiple attempts to solve problems. This method was tested on math puzzles and did better than older methods.
Open 2609.08650v1