Ad

Privum

We build, secure and run your digital infrastructure.

Software, AI systems, penetration testing and secure cloud for companies.

Talk to Privum

Beyond Routing Flips: Asymmetric Silencing, Phase Bifurcation, and Bitwise-Exact Diagnosis of MoE Reinforcement Learning

arXiv AI Papers

4d

Age

Published
Collected

Prior work links train-inference mismatch to RL instability and MoE routing flips, yet leaves open how much mismatch survives routing replay, how upstream BF16 divergence interacts with PPO clipping at fixed weights, and why larger mismatch acts non-monotonically online. Using a bitwise-exact reference across three MoE families (16-48 layers) and 15 GRPO runs, we quantitatively resolve all three questions. Our row-scaled Ozaki integer reference reduces BF16 routing flips from 40.4% on OLMoE-1B-7B (16L), 59.7% on DeepSeek-V2-Lite (26L), and 95.8% on Qwen3-30B-A3B-Base (48L) to 0.000% (|Δppl| 0.04\%), with zero divergence across RTX 4090, A100, H100, and 4.87M online RL tokens; full-layer integer KV caching speeds its A100 decoder 14.16(223.5 to 15.6 s, 0/788.6M BF16 diffs). When mismatch enters clipped GRPO ratios, PPO clipping--not ratio reweighting alone--induces asymmetric silencing that suppresses high-entropy positive-advantage signal ~2:1 over negative signal (-3.17% vs. -1.66%, driven by 3,427 unclipped A<0, r>1.2 tokens; 100/100 batches). Routing flips cascade 14.7across depth yet explain ~70% of silencing, leaving a ~30% zero-flip floor beyond single-step routing replay; paradoxically, low-entropy tokens flip routes more (48.3% vs. 42.1%) with 0.00% silencing, and silencing peaks at prefill position 0 (1.09%) rather than sequence tails. Finally, warm AdamW curvature damps step-50 parameter shifts 4.6--14.5below cold-start probes, and online rollouts decouple local clipping from endpoints: native logged runs over-sharpen in 3/3 seeds (exploratory -2.58 pp, 74.5% of the net drop on solidly solvable items), while 10heavier noisy clipping blocks sharpening in 3/3 seeds, producing an orthogonal phase bifurcation and a null preregistered interaction (+0.20 pp, 90% CI [-5.60, +6.00]).

Authors

Zhiyuan Zhang

Categories

  • cs.LG
Read the full article at arxiv.org

overfeed.news indexes and links. We publish a short excerpt — the full article stays at arXiv AI Papers.

Log in to follow this source
arXiv AI Papers

Agentic Geometric Perception

AI agents enable a new paradigm of problem solving in which they dynamically compose tools, inspect intermediate results, and adapt their strategies rather than following a fixed procedure. We explore this capability in geometric perception, the recovery of 3D structure and motion from visual observations, where images and videos captured in the wild may require different sources of evidence and reasoning strategies. Existing methods, whether feed-forward, optimization-based, or their combination, follow inference procedures designed in advance, limiting their ability to handle unexpected inputs and to correct errors. We introduce Agentic Geometric Perception, a formulation in which an agent uses test-time computation to search over the inference procedure itself. We instantiate this formulation with an off-the-shelf coding agent that, given images or video, a natural language task description, and existing methods as tools, writes and executes a program tailored to each sample without task-specific training. Across 12 tasks spanning camera and object pose estimation, point tracking, and view synthesis, this minimal instantiation outperforms the strongest existing method in 15 of 16 benchmark settings, with accuracy improvements of up to 5.8x. Beyond improving accuracy, the programs constructed by the agent reveal useful combinations of information and geometric reasoning, suggesting directions for future geometric perception methods.

arXiv AI Papers

Linear? Representation? Hypothesis?

Uses of the linear representation hypothesis (LRH) combine different, often implicit assumptions about what "linear" and "representation" mean, yielding hypotheses with distinct empirical claims. Building on prior work, we develop a framework that organizes these claims into seven categories and defines assessment criteria for each. Applying these criteria clarifies when studies invoking the LRH provide evidence for the same claim and when they address different questions. The evidence broadly supports linear decodability, with more variable findings for geometry, transfer, and behavioral control. We illustrate these distinctions through experiments on number representations, finding accurate decoding alongside limited transfer across prompts and unsuccessful interventions based on probe predictions. Our framework can help contextualize existing findings and guide experiments that test explicit representational claims. Since many of these distinctions are independent of linearity, we expect the framework to be useful beyond the LRH.

arXiv AI Papers

Learning to Learn Experiential Knowledge

Language models remain limited at improving across a stream of tasks by learning from experience. We study experiential knowledge accumulation: converting earlier task trajectories into reusable knowledge in free-form text that improves performance on later tasks. Although memory harnesses and workflows are effective, they are insufficient alone: models often fail to abstract rules or procedures that are salient for reuse, and instead record task-specific details that do not generalize to future tasks. We therefore propose to learn the memory update policy from outcomes on later tasks, using a minimal harness that leaves the model free to decide what to retain. Our method, NoteTaker, trains a notebook model that rewrites a persistent notebook after each task, in two stages: SFT on teacher-generated notebook updates, followed by RL on short task streams, where each update receives credit only from the rewards of subsequent tasks it can influence. On 40-task streams from AppWorld, ALFWorld, and MiniGrid, with Qwen3.5-9B solving the tasks, our trained 9B notebook model raises average held-out success from 33.6 to 53.8, outperforming prior memory harnesses paired with the untrained model, as well as several much larger notebook models. These gains also transfer to held-out tools and environments, to trajectories from other task models, to streams longer than those seen in training, and to other benchmarks in most cases. Our analysis shows that our causal accumulated reward learns more efficiently than the trajectory-outcome and next-task rewards used in prior work, since knowledge often pays off several tasks later.

arXiv AI Papers

LiteCa: Memory-Efficient Feature Caching for Diffusion Acceleration

Feature caching accelerates Diffusion Transformers (DiTs) by reusing intermediate features across timesteps. Recently, forecasting-based methods have shown that module features evolve predictably across timesteps, enabling temporal extrapolation for feature forecasting. However, storing module-level features and their historical states introduces substantial cache memory overhead. To solve this problem, we propose LiteCa, a training-free and plug-and-play memory-efficient feature caching framework. We observe that the Adaptive Layer Normalization (AdaLN) modulation parameters exhibit a low-rank structure, enabling LiteCa to build a more compact cache representation with an adjustable rank for different memory budgets. We further introduce Test-Time Correction to improve generation quality without changing the original forecasting method. Experiments on recent DiT models show that LiteCa reduces feature-cache memory by 90-99% compared with module-level caching, while improving both inference speed and generation quality and achieving state-of-the-art performance. Project page: https://samynhn.github.io/LiteCa/

Beyond Routing Flips: Asymmetric Silencing, Phase Bifurcation,…