PyTorchKR Papers

최신 논문

총 27,778편
태그·기간 등 상세 필터

카테고리 탐색

로그인 후 이 카테고리 구독

arXiv:2605.24528v4cs.AI

Learning Mental Models From Unreliable Evidence

Children expertly construct mental models under uncertainty despite limited world knowledge. Which computational principles make this possible? We study this question in an interactive physical Box Task in which participants infer a latent cause through interaction with a stochastic and partially observed environment. The Box Task was originally designed to study children's puzzle-solving qualitatively. We contribute a computational analysis of behavior that formalizes the cognitive process by which children generate new hypotheses and respond to environmental uncertainty as inference unfolds. Our modeling framework is based on Bayesian particle-based inference, which maintains a small set of working hypotheses and continually generates new ones. We give two complementary implementations of hypothesis representations within this framework: (1) as constraints on evidence, and (2) as executable programs evaluated against evidence. Using the constraint-based formulation, we show that the model needs to account both for subjective reliability of evidence and online hypothesis generation to explain key signatures of children's behavior. Using the programmatic formulation, we show that hypotheses may take the form of partial compositional rules to guide information gathering when evidence interpretation is hard. The programmatic hypotheses are implemented using LLM-based program synthesis, evaluated across three prompt variants and several LLM backends, demonstrating robustness of our approach. Together, these results extend current models of children's inference to account for subjective reliability of evidence and open-ended hypothesis spaces, and provide a computational analysis of the form generated hypotheses may take in practice.

arXiv:2605.22222v4cs.LG

ARC-STAR: Auditable Post-Hoc Correction for PDE Foundation Models

Partial differential equation foundation models (PDE-FMs) are neural networks pretrained on simulations of many physical systems to predict how fields such as fluid velocity evolve. However, in a forecast over several steps, each step takes the previous prediction as its input and inherits earlier errors while adding its own, so the error tends to grow with every step. A correction network can reduce this error without changing the weights of the model, but we find that the error it leaves is uneven in space, with one fifth of the field carrying over 40\% of it on average. To address this problem, we propose ARC-STAR, a post-hoc correction framework with two complementary stages. (i) A global corrector reads the current state and the forecast of the frozen model and corrects the forecast at every grid point. (ii) A local refiner reduces the remaining error with a second correction of the entire field. The uneven distribution of this error also allows the correction to be limited to the blocks ranked highest by a score computed from the current state and the output of the global corrector. The stages are trained one after the other on reference trajectories while the frozen model is only run forward, so the error each removes can be measured separately. On five incompressible-flow benchmarks, the local refiner removes up to 90\% of the error left by the global corrector, and a refiner trained on a fine-tuned model achieves the lowest error in the main comparison on four.

arXiv:2605.21661v2cs.LG

Hierarchical Variational Policies for Reward-Guided Diffusion

Adapting pretrained diffusion models to downstream objectives such as inverse problems often requires expensive test-time guidance or optimization. We propose a principled framework for generating high-quality reward-aligned samples at substantially reduced inference cost. Our approach formulates test-time adaptation as a hierarchical variational model, where control is amortized into a lightweight yet expressive stochastic policy. This formulation naturally supports few-step diffusion sampling: large step sizes enable fast inference, while the learned policy maintains sample quality by providing structured per-step control. The resulting fully amortized sampler achieves a strong quality-speed tradeoff, matching or exceeding recent test-time scaling baselines while requiring significantly less compute. For example, on $4\times$ super-resolution, our method achieves better perceptual quality with more than $5\times$ faster inference compared to the best-performing baseline. We further extend our approach to a semi-amortized regime that combines cheap amortized proposals with limited test-time optimization, achieving state-of-the-art perceptual quality across several challenging inverse problems. Code and model checkpoints will be made available at https://github.com/mandt-lab/hvp.

arXiv:2605.18797v4cs.LG

Simply Stabilizing the Loop via Fully Looped Transformer

Scaling model performance typically requires increasing model size. Looped Transformer (LT) offers a parameter-efficient alternative by repeatedly reusing the same Transformer blocks, converting additional computation into performance gains without increasing the parameter count or context length. However, increasing the number of loop iterations makes LT increasingly difficult to optimize, often leading to gradient oscillation, residual explosion, and training collapse. We propose the Fully Looped Transformer (FLT), a simple, parameter-free redesign that addresses these problems without adding learnable parameters or imposing specially designed optimization constraints. FLT combines a Fully Looped Architecture, which exposes the recurrent state to every layer, with Attention Injection, which controls recurrent information flow through the existing attention module. These modifications enable FLT to train stably through 12 loops in our tested configurations, while baseline looped models enter high-loss regimes. In the Base-size, 6-loop setting, FLT improves downstream-task accuracy by 14.9\% relative to the original LT. Fixed-loop checkpoint evaluations further show that performance improves as inference depth approaches the trained depth, even without randomized loop-count training, revealing a depth-aware test-time compute interface. Extending this interface beyond the trained range is a promising research direction.

arXiv:2605.17500v2cs.LG

The Silent Brush: Evaluating Artistic Style Leakage in AI Art Generation

Text-to-image models are trained on web-scale data that include copyrighted and stylistically distinctive artworks, raising concerns about ownership, attribution, and unintended reuse. These models can learn stylistic patterns and reproduce them without any reference in the prompt, a phenomenon we term The Silent Brush. The risk is concrete for artists who personalize these models on their own artworks for co-creation and exploration. They personalize the base model rather than replacing it, so artworks strongly encoded in the base model can resurface in generations meant to carry the artist's style. Existing evaluations focus on near-duplicate retrieval or membership inference and miss this unrequested resurfacing. We introduce ArtArena, a model-agnostic protocol for auditing style leakage, built on four guiding principles: whether models imitate artworks, how they blend imitated artworks, whether these artworks exhibit proactive blending, and whether its strength can be steered. We validate ArtArena on SD v1.5, SDXL and SANA-1.5 through controlled interventions whose effects are known a priori, testing whether it recovers them. Furthermore, we demonstrate ArtArena as a practical audit for artists. We first identify the canonical artworks with the highest leakage potential for the base model. We then determine which of the canonical artworks are most likely to leak into generations meant to reflect the artist's style after personalization. We present a case study with two contemporary artists, Trent Anthony Francis and Gwenn Seemel. Each audit across the three models is summarized in an artist-facing leakage card.

arXiv:2605.16342v2cs.LG

DACA-GRPO: Denoising-Aware Credit Assignment for Reinforcement Learning in Diffusion Language Models

Diffusion large language models are a compelling alternative to autoregressive models, and recent work adapts GRPO-style reinforcement learning to train them. The resulting methods share two weaknesses: they lack temporal credit assignment, treating all denoising steps as equally important, and they optimize the policy with biased mean-field likelihood estimates. To address these, we propose Denoising-Aware Credit Assignment for GRPO (DACA-GRPO), a lightweight, plug-and-play enhancement for any GRPO-style trainer. DACA-GRPO introduces two complementary mechanisms: Denoising Progress Scores, which extract per-token importance weights from intermediate predictions at no additional forward cost, and Stratified Masking Likelihood, which partitions token positions into strata so that each token is predicted with most of the sequence as context, reducing the mean-field bias. Applied on top of three GRPO-style base methods, DACA-GRPO improves results on seven benchmarks in mathematical reasoning, code generation, constraint satisfaction (DPS only), and constrained generation. The largest improvements are 4.8 percentage points (pp) on mathematical reasoning, 7.4pp on code generation, 36.3pp on constraint satisfaction, and 14.1pp on JSON schema adherence. These results show that the intermediate predictions existing methods discard carry a useful training signal.

arXiv:2605.15388v2cs.LG

Unified High-Probability Analysis of Stochastic Variance-Reduced Estimation

Stochastic estimators are fundamental to large-scale optimization, where population quantities must be inferred from noisy oracle observations. Although influential methods such as momentum, SPIDER, STORM, and PAGE have been highly successful, their analyses are largely estimator-specific and expectation-based, obscuring the structural tradeoffs that determine reliability. In this paper, we develop a unified framework for stochastic variance-reduced estimation based on a recursion with three components: memory retention, reset probability, and a correction term for iterate movement. This framework recovers several classical estimators, motivates new second-order variants, and yields a bias-variance decomposition of estimation error. Our main result is a unified high-probability bound proved using a new dimension-free vector-valued Freedman inequality, valid for smooth normed spaces involving random sums of vector martingales. The result applies in both Euclidean and non-Euclidean settings, including the analysis of mirror-descent-based methods in Banach spaces. As applications, we obtain high-probability oracle complexities for unconstrained optimization with mirror descent, establishing the logarithmic dependence on the confidence level. We also derive the first $\tilde{\mathcal{O}}(\varepsilon^{-3})$ oracle-complexity bounds for stochastic optimization with expectation constraints, improving upon the existing $\tilde{\mathcal{O}}(\varepsilon^{-4})$ complexity by leveraging variance-reduced estimation for the first time in this setting.

arXiv:2605.12308v2cs.LG

In-context learning to predict critical transitions in dynamical systems

Critical transitions - abrupt, often irreversible changes in system dynamics - arise across human and natural systems, often with catastrophic consequences. Real-world observations of such shifts remain scarce, preventing the development of reliable early warning systems. Conventional statistical and spectral indicators, such as increasing variance, tend to fail under realistic conditions of limited data and correlated noise, whereas existing deep learning classifiers do not extrapolate beyond their training data distribution. In this work, we introduce TipPFN, an in-context learning (ICL) framework that uses a prior-data fitted network to infer a system's proximity to a critical transition. Trained on our novel synthetic data generator, which is based on canonical bifurcation scenarios coupled to diverse, randomized stochastic dynamics, TipPFN flexibly capitalizes on contexts of various sizes, complexity and dimensionalities. We demonstrate robust, state-of-the-art early detection of critical transitions in previously unseen tipping regimes, sim-to-real examples, and real-world observations in both ICL and zero-shot settings.

arXiv:2605.09472v2cs.LG

Positional LSH: Binary Block Matrix Approximation for Attention with Linear Biases

Positional encoding in transformers is commonly implemented through positional embeddings, attention masks, or bias terms, but formal connections between these mechanisms remain limited. We study attention with positional bias through the lens of locality-sensitive hashing (LSH), focusing on Attention with Linear Biases (ALiBi). We show that the ALiBi bias matrix is the expectation of contiguous block-diagonal binary masks induced by a ``positional LSH'' scheme. The empirical mean of masks sampled from this scheme yields spectral norm and max-norm approximation guarantees with bounded block sizes with high probability. This structural theorem implies an efficient approximation algorithm for ALiBi-biased attention: with high probability over the sampled masks, the approximate attention output is accurate simultaneously for all query-key-value inputs and can be computed in near-linear time in the context length, reducing long-context ALiBi to a collection of randomized short-context regular (positionally unbiased) attention operations. Conceptually, this connects positional bias, masks, and positional embeddings in a single formal framework and suggests an approach to efficient ALiBi-biased attention. Experiments on large language models validate our theoretical findings.

arXiv:2605.09167v2cs.CL

WorldSpeech: A Multilingual Speech Corpus from Around the World

Automatic speech recognition (ASR) performs well for high-resource languages with abundant paired audio-transcript data, but its accuracy degrades sharply for most languages due to limited publicly available aligned data. To this end, we introduce WorldSpeech, a 24 kHz multilingual speech corpus comprising 65k hours of aligned audio-transcript data across 76 languages, collected from diverse public sources including parliamentary proceedings, international broadcasts, and public-domain audiobooks. For 37 languages, WorldSpeech provides more than 200 hours of aligned speech, with 28 exceeding 500 hours and 24 surpassing 1k hours. Fine-tuning existing ASR models on WorldSpeech results in an average relative Word-Error-Rate reduction of 63.5% across 11 typologically diverse languages.

arXiv:2605.09040v5cs.AI

UxSID: Semantic-Aware User Interests Modeling for Ultra-Long Sequence

Modeling ultra-long user sequences involves a difficult trade-off between efficiency and effectiveness. While current paradigms rely on either item-specific search or item-agnostic compression, we propose UxSID, a framework exploring a third path: semantic-group shared interest memory. By utilizing Semantic IDs (SIDs) and a dual-level attention strategy, UxSID captures target-aware preferences without the heavy cost of item-specific models. This end-to-end architecture balances computational parsimony with semantic awareness, achieving state-of-the-art performance and a 0.337% revenue lift in large-scale advertising A/B test.

arXiv:2605.08279v2cs.LG

LaWM: Learning Physics from Real Video with Least Action World Models for Long-Horizon Consistency

Learning world models that predict how the physical world evolves from visual observations is central to embodied AI and to robotic planning. Visual world models advance learned features with unconstrained transition networks, so physical laws do not govern the transition. Physics-grounded approaches either take physics as given through simulators, losses, or guidance, or learn it with structured networks trained on states or simulated renderings of one physical system at a time. We present Least Action World Models (LaWM), a unified visual world model whose transition rule is the Principle of Least Action over learnable physical properties. (i) LaWM operates directly on real video, where a frozen visual foundation model reads object-centric generalized coordinates and a learned variational integrator advances them without ground-truth states or simulators. (ii) The Lagrangian and the nonconservative forces are inferred from the observed context through the discrete Lagrange-d'Alembert principle, so that a single model covers conservative, damped, and driven motion. (iii) External forces enter the update as an explicit channel, which extends LaWM to action-conditioned prediction. On real videos of twelve motion types, LaWM outperforms complete perception and prediction systems built on black-box, continuous-time, Lagrangian, and variational-integrator transitions in prediction accuracy and in the rate of diverging rollouts, and retains this advantage over 42-frame rollouts. Given the same coordinates, LaWM matches the accuracy of black-box transitions while its Lagrangian and forces remain explicit, and adding learned forces to a conservative variational integrator most improves the prediction of dissipative motion.

arXiv:2605.07924v2cs.LG

Trajectory as the Teacher: Few-Step Discrete Flow Matching via Energy-Navigated Distillation

Discrete flow matching generates text by iteratively transforming noise tokens into coherent language, but may require hundreds of forward passes. Distillation uses the multi-step trajectory to train a student to reproduce the process in a few steps. When the student underperforms, the usual explanation is insufficient capacity. We argue the opposite: the trajectory is the bottleneck, not the student. Each training trajectory is built through a chain of blind stochastic jumps with no evaluation of sequence quality; a single bad decision at an early midpoint propagates through subsequent steps, yet the student must imitate the result. Trajectory-Shaped Discrete Flow Matching (TS-DFM) replaces these blind jumps with guided navigation: a lightweight energy compass evaluates candidate continuations at each midpoint, selecting the most coherent. All shaping is training-only; inference cost is unchanged. On 170M-parameter language modeling, the shaped student at 8 steps achieves 32% lower perplexity than the 1,024-step teacher while being 128x faster, with gains consistent across source distributions and three evaluators of increasing scale. TS-DFM achieves the best perplexity of any discrete-generation baseline we compare against, including methods trained on 6x more data or using 5x larger models.

arXiv:2605.07596v4stat.ML

A Refined Generalization Analysis for Extreme Multi-class Supervised Contrastive Representation Learning

Contrastive Representation Learning (CRL) has achieved strong empirical success in multiple machine learning disciplines, yet its theoretical sample complexity remains poorly understood. Existing analyses usually assume that input tuples are identically and independently distributed, an assumption violated in most practical settings where contrastive tuples are constructed from a finite pool of labeled data, inducing dependencies among tuples. While one recent work analyzed this learning setting using U-Statistics to estimate the population risk, the techniques used therein require the risk of each class to concentrate uniformly, making excess risk bounds scale in the order of $\rho_{\min}^{-{1}/{2}}$ where $\rho_{\min}$ denotes the probability of the rarest class. Such a dependency can be overly pessimistic in the extreme multiclass settings where there are many tail classes which contribute minimally to the overall population risk. Our contributions are two-fold. Firstly, we improve upon the previous work and prove a bound with a sample complexity of the same order as the number of classes $R$, regardless of the distribution over classes. Furthermore, we formulate a different estimator that captures the concentration of the risk \textit{across classes}, enabling sharper bounds in extreme multi-class learning scenarios, especially where class distributions are long-tailed. Under mild assumptions on the class distributions, the resulting sample complexity is $\mathcal{{O}}(k)$ where $k$ is the number of samples per tuple.

arXiv:2604.15959v3cs.LG

Multi-Objective Bayesian Optimization via Adaptive \varepsilon-Constraints Decomposition

Multi-objective Bayesian optimization (MOBO) provides a principled framework for optimizing multiple expensive black-box functions. However, existing MOBO methods often struggle with coverage, scalability, and handling constraints and preferences. In this work we propose STAGE-BO, Sequential Targeting Adaptive Gap-Filling $\varepsilon$-Constraint Bayesian Optimization: by analyzing the coverage of the surrogate Pareto front, our method identifies the Pareto front point with the largest uncovered gap, and uses its coordinates to define adaptive constraints in $\varepsilon$-constraint method, which transforms the problem into a sequence of inequality-constrained subproblems, efficiently solved via constrained expected improvement acquisition. Our approach provides uniform Pareto coverage without hypervolume computation and naturally handles constraints and preferences. Experiments on synthetic and real-world benchmarks demonstrate superior coverage and competitive hypervolume performance against state-of-the-art baselines. Our code implementation can be found at https://github.com/YangYaohong1/STAGE-BO.

arXiv:2604.12103v2eess.SY

Parameter-affine Dynamic Mode Decomposition for Predicting Nonlinear Systems Across Parameter Space

Predicting how a nonlinear system behaves at different values of its underlying physical parameters, such as a fluid's viscosity or a plasma system's field strength, is a central problem in data-driven reduced-order modeling (ROM) and scientific machine learning. Dynamic mode decomposition (DMD) is a ROM technique that builds inexpensive linear surrogate models of nonlinear dynamics from snapshot data using least-squares (LS) regression. However, a DMD model is valid only at the parameter values it was trained on, and must be retrained from scratch elsewhere. Existing parametric ROM methods generally fit separate models at the training parameters, then interpolate their modes, eigenvalues, reduced operators or other quantities to a target parameter. This requires the interpolated quantities to vary smoothly across the parameter space, and this assumption becomes unreliable when training parameter samples are sparse or the parameter space is multi-dimensional. We present parameter-affine dynamic mode decomposition (paDMD), which embeds known parametrization functions into the DMD LS regression itself. It learns a single parameter-affine DMD surrogate model, and can be evaluated across the parameter space without retraining. We demonstrate paDMD on flow past a cylinder, a fluidic pinball system, and two kinetic plasma systems: an oscillating electron beam and a virtual cathode oscillator, simulated by an electromagnetic particle-in-cell (EMPIC) method, each with varying physical parameters. Against state-of-the-art parametric ROM methods, paDMD is consistently more accurate over long prediction horizons, with sparse training samples and in multi-dimensional parameter settings.

arXiv:2604.10933v3cs.CR

QShield: Analysis-Guided Robustness Auditing of Hybrid Quantum-Classical Neural Networks

Hybrid quantum--classical neural networks are often reported to be more robust to adversarial examples than classical networks, yet these claims are rarely tested against adapted attacks, and the source of the robustness is rarely identified. We introduce QShield, an analysis-guided framework for auditing such claims. QShield first establishes exactly what the quantum component computes, then uses this to derive adaptive attacks and matched classical controls, attribute any surviving gain to its source, compare it with adversarial training, and test the resulting design lessons in pre-specified experiments. At its core is a criterion that identifies when an entangling circuit produces classical measurement statistics. We apply QShield to two hybrid designs. The first, QShield-Net, adds a noise-aware quantum branch to a ResNet-18 and has a lower attack success rate than an identically initialized baseline CNN in 94 of 96 comparisons under standard attacks. QShield shows that part of this advantage is an evaluation artifact. Under 30 adaptive attacks, the advantage shrinks but persists, with worst-case robust accuracy 2.7 to 7.2 percentage points above the baseline on average. This gain stems from the Gaussian input noise, not from the classically simulable quantum circuit: a CNN trained with the same noise is equally robust. The second design, a trainable re-uploading quantum head, lies outside the simulable family. Here, QShield rules out gradient masking and shows that training leaves the head's contribution near zero, a failure mode that robust accuracy alone would not reveal. These results yield design principles and a practical guidelines for evaluating robustness claims about hybrid models.

arXiv:2604.09967v3cs.LG

Muon$^2$: Boosting Muon via Adaptive Second-Moment Preconditioning

Muon has emerged as a promising optimizer for large-scale foundation model pre-training by exploiting the matrix structure of neural network updates through iterative orthogonalization. However, the orthogonalization quality of Muon hinges on the number of Newton--Schulz (NS) iterations performed, which poses efficiency challenges due to its non-trivial computation and communication cost. We propose Muon$^2$, an extension of Muon, to improve both quality and efficiency by applying Adam-style adaptive second-moment preconditioning before orthogonalization. Our key insight is that the core challenge of polar approximation in Muon lies in the ill-conditioned momentum matrix, of which the spectrum is substantially improved by Muon$^2$, leading to faster convergence toward a practically sufficient orthogonalization. We further characterize the practical orthogonalization quality via directional alignment, under which Muon$^2$ demonstrates dramatic improvement over Muon at each polar step. Across GPT, LLaMA, and Mixture-of-Experts pre-training experiments up to 13B parameters, Muon$^2$ (and its memory-efficient variant Muon$^2$-F that preserves most of its benefits) consistently outperforms Muon and its variants while reducing NS iterations by 40%, and saves up to 1/4 training time over Muon when achieving the same loss.

arXiv:2604.02151v3cs.LG

Auction-Based Online Policy Adaptation for Evolving Objectives

We consider multi-objective reinforcement learning problems where objectives come from an identical family---such as the class of reachability objectives---and may appear or disappear at runtime. Our goal is to design adaptive policies that can efficiently adjust their behaviors as the set of active objectives changes. To solve this problem, we propose a modular framework where each objective is supported by a selfish local policy, and coordination is achieved through a novel auction-based mechanism: policies bid for the right to execute their actions, with bids reflecting the urgency of the current state. The highest bidder selects the action, enabling a dynamic and interpretable trade-off among objectives. Going back to the original adaptation problem, when objectives change, the system adapts by simply adding or removing the corresponding policies. Moreover, as objectives arise from the same family, identical copies of a parameterized policy can be deployed, facilitating immediate adaptation at runtime. We show how the selfish local policies can be computed by turning the problem into a general-sum Markov game, where the policies compete against each other to fulfill their own objectives. To succeed, each policy must not only optimize its own objective, but also reason about the presence of other goals and learn to produce calibrated bids that reflect relative priority. Under mild assumptions, we prove the existence of Nash equilibria where dishonest bidding leads to suboptimal outcome, and the most urgent objectives win control automatically. In our implementation, the policies are trained concurrently using proximal policy optimization (PPO). We evaluate on two Atari games and a gridworld-based path-planning task with dynamic targets. Our method achieves substantially better performance than monolithic policies trained with PPO.

arXiv:2603.29812v2cs.LG

AMShortcut: An Inference- and Training-Efficient Inverse Design Model for Amorphous Materials

Amorphous (disordered) materials are solids that lack long-range atomic order but possess complex short- and medium-range order, and require simulation cells with at least hundreds to thousands of atoms to accurately capture their diverse local atomic environments. To advance the design of amorphous materials with desired properties, inverse design with probabilistic generative models has emerged as a promising approach, which directly generates the atomic positions and elements of amorphous materials given a set of desired properties. In this paper, we focus on the computational efficiency of such models, introducing AMShortcut, an inference- and training-efficient probabilistic generative model for amorphous materials. AMShortcut enables accurate inference of amorphous materials with only a few sampling steps, mitigating the need for an excessive number of sampling steps that hinder inference efficiency. AMShortcut can be trained once with all relevant properties and perform inference conditioned on different combinations of desired properties, mitigating the need for training one model for each combination that lowers training efficiency. Its denoiser uses an efficient E(n)-equivariant backbone that captures the complex short- and medium-range order of amorphous materials at a low computational cost, making both inference and training more efficient. Experiments on three amorphous material datasets with diverse structures and properties demonstrate that AMShortcut achieves its design goals.