PyTorchKR Papers

최신 논문

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

카테고리 탐색

로그인 후 이 카테고리 구독

arXiv:2510.04042v3stat.ML

Simulation-based inference via telescoping ratio estimation for trawl processes

The growing availability of large and complex datasets has increased interest in temporal stochastic processes that can capture stylized facts such as marginal skewness, non-Gaussian tails, long memory, and even non-Markovian dynamics. While such models are often easy to simulate from, parameter estimation remains challenging. Simulation-based inference (SBI) offers a promising way forward, but existing methods typically require large training datasets or complex architectures and frequently yield confidence (credible) regions that fail to attain their nominal values, raising doubts on the reliability of estimates for the very features that motivate the use of these models. To address these challenges, we propose a fast and accurate, sample-efficient SBI framework for amortized posterior inference applicable to intractable stochastic processes. The proposed approach relies on two main steps: first, we learn the posterior density by decomposing it sequentially across parameter dimensions. Then, we use Chebyshev polynomial approximations to efficiently generate independent posterior samples, enabling accurate inference even when Markov chain Monte Carlo methods mix poorly. We further develop novel diagnostic tools for SBI in this context, as well as post-hoc calibration techniques; the latter not only lead to performance improvements of the learned inferential tool, but also to the ability to reuse it directly with new time series of varying lengths, thus amortizing the training cost. We demonstrate the method's effectiveness on trawl processes, a class of flexible infinitely divisible models that generalize univariate Gaussian processes, applied to energy demand data.

arXiv:2510.03065v2cs.LG

A Unified Deep Reinforcement Learning Approach for Close Enough Traveling Salesman Problem

In recent years, deep reinforcement learning (DRL) has gained traction for solving the NP-hard traveling salesman problem (TSP). However, limited attention has been given to the close-enough TSP (CETSP), primarily due to the challenge introduced by its neighborhood-based visitation criterion, wherein a node is considered visited if the agent enters a compact neighborhood around it. In this work, we formulate a Markov decision process (MDP) for CETSP using a discretization scheme and propose a novel unified dual-decoder DRL (UD3RL) framework that separates decision-making into node selection and waypoint determination. Specifically, an adapted encoder is employed for effective feature extraction, followed by a node-decoder and a loc-decoder to handle the two sub-tasks, respectively. A k-nearest neighbors subgraph interaction strategy is further introduced to enhance spatial reasoning during location decoding. Furthermore, we customize the REINFORCE algorithm to train UD3RL as a unified model capable of generalizing across different problem sizes and varying neighborhood radius types (i.e., constant and random radii). Experimental results show that UD3RL outperforms conventional methods in both solution quality and runtime, while exhibiting strong generalization across problem scales, spatial distributions, and radius ranges, as well as robustness to dynamic environments.

arXiv:2509.25158v3cs.LG

Evaluating Physics-Informed Graph Neural Networks for Robust Power Flow Prediction

Fast and reliable voltage prediction is critical for actively managed distribution grids. While Graph Neural Networks (GNNs) are reported to offer orders-of-magnitude speedups over classical solvers, their deployment is hindered by poor topological generalization. In this work, we systematically investigate three physics-informed inductive biases to assist in this learning task: physics-constrained loss functions, complex-valued neural networks, and residual-based task reformulation. To rigorously assess operational readiness, we depart from standard average-case metrics such as global RMSE, which can obscure extreme localized failures. Using the heterogeneous ENGAGE dataset, we demonstrate that while our complex-valued GNN is the most accurate of the evaluated variants on known grids, with median errors within the tolerances of an illustrative smart-meter reference, severe out-of-distribution vulnerabilities remain across all architectures. For the evaluated GNN models and synthetic feeders, our findings show substantial cross-feeder errors, so that these models require application-specific validation and safeguards before operational deployment.

arXiv:2509.21342v2cs.NE

SGNNBench: A Holistic Evaluation of Spiking Graph Neural Network on Large-scale Graphs

Graph Neural Networks (GNNs), as representative deep models designed for graph data, effectively learn graph topological information and push the performance boundaries across various graph tasks. However, the computational and memory burden of GNNs poses significant challenges for scaling to large real-world graphs. Spiking Graph Neural Networks (SGNNs), which integrate biologically plausible learning via unique spike-based neurons, have emerged as a promising energy-efficient alternative. Different layers communicate with sparse and binary spikes, which facilitates computation and storage of intermediate graph representations. Despite the proliferation of SGNNs proposed in recent years, there is no systematic benchmark to explore the basic design principles of these brain-inspired networks on graph data. To bridge this gap, we present SGNNBench to quantify progress in the field of SGNNs. Specifically, we thoroughly investigate the design space of SGNNs to facilitate the development of a general SGNN paradigm. Regarding efficiency, we empirically compare these baselines w.r.t. model size, memory usage and theoretical energy consumption to reveal previously overlooked energy bottlenecks. Finally, SGNNBench establishes a unified and reliable benchmark to comprehensively evaluate 10 state-of-the-art SGNNs across 24 datasets covering diverse graph settings and tasks.

arXiv:2509.14229v5math.ST

Spacing Test for Fused Lasso

We consider selective inference for the one-dimensional fused lasso, in which inference is conditional on the first $k$ signed entries and the component $z$ of the data orthogonal to the test direction. The problem reduces to finding the interval $[\nu^-(z),\nu^+(z)]$ for hypothesis testing based on the truncated Gaussian distribution. Our main contribution is to show that this exact interval has a simple form and differs from the one used in the exact spacing test. The resulting interval is $[\lambda_{k+1},\lambda_{k-1}]$, where $\lambda_{k+1}$ and $\lambda_{k-1}$ are the next and previous knots, respectively, and coincides with the one obtained by the conservative spacing test rather than the exact one \citep{TibshiraniPSI}. Simulations illustrate its calibration under the global null hypothesis.

arXiv:2509.11095v3cs.LG

GCN-TULHOR: Trajectory-User Linking Leveraging GCNs and Higher-Order Spatial Representations

Trajectory-user linking (TUL) aims to identify the user associated with an anonymous mobility trajectory based on historical movement patterns. Existing methods perform well when users repeatedly visit familiar locations but struggle when historical data is limited, locations are noisy, or users visit previously unseen areas. We introduce GCN-TULHOR, a graph-based framework that captures geographic proximity, spatial hierarchy, and movement patterns using multi-resolution H3 hexagonal representations. Unlike conventional approaches that rely primarily on learned location embeddings, our framework combines grounded graph diffusion and multi-relational graph convolution to enable generalization across neighboring locations. It also preserves observed visits while incorporating reconstructed travel routes as complementary information, capturing both individual mobility habits and broader travel patterns. On TULBench, our reproducible benchmarking framework supporting time-ordered splits, GCN-TULHOR outperforms the graph-based AttnTUL by 9-44 percentage points in Macro-F1 under matched visit inputs and surpasses all evaluated neural and large language model baselines in context-enriched linking, while remaining competitive with the strongest traditional classifiers. Controlled experiments confirm the benefits of graph propagation under scarce or noisy data, including one-day training histories, visits shifted to neighboring cells (+12-14 percentage points over the graph-free variant), online streaming, and 1 km privacy noise. The framework also supports the detection and rejection of trajectories from unknown users, and achieves up to a 23.44x inference speedup through graph precomputation. Our findings demonstrate the importance of geographic relationships in robust mobility modeling and highlight the remaining re-identification risks in anonymized mobility datasets.

arXiv:2509.10439v3cs.LG

Understanding Outer Optimizers in Local SGD: Learning Rates, Momentum, and Acceleration

Modern machine learning often requires training with large batch size, distributed data, and massively parallel compute hardware (like mobile and other edge devices or distributed data centers). Communication becomes a major bottleneck in such settings but methods like Local Stochastic Gradient Descent (Local SGD) show great promise in reducing this additional communication overhead. Local SGD consists of three parts: a local optimization process, an aggregation mechanism, and an outer optimizer that uses the aggregated updates from the nodes to produce a new model. While there exists an extensive literature on understanding the impact of hyperparameters in the local optimization process, the choice of outer optimizer and its hyperparameters is less clear. We study the role of the outer optimizer in Local SGD, and prove new convergence guarantees for the algorithm. In particular, we show that tuning the outer learning rate allows us to (a) trade off between optimization error and stochastic gradient noise variance, and (b) make up for ill-tuning of the inner learning rate. Our theory suggests that the outer learning rate should sometimes be set to values greater than $1$. We extend our results to settings where we use momentum in the outer optimizer, and we show a similar role for the momentum-adjusted outer learning rate. We also study acceleration in the outer optimizer and show that it improves the convergence rate as a function of the number of communication rounds, improving upon the convergence rate of prior algorithms that apply acceleration locally. Finally, we also introduce a novel data-dependent analysis of Local SGD that yields further insights on outer learning rate tuning. We conduct comprehensive experiments with standard language models and various outer optimizers to validate our theory.

arXiv:2508.12681v4cs.RO

Adaptive Model-Predictive Control of a Soft Continuum Robot Using a Physics-Informed Neural Network Based on Cosserat Rod Theory

Dynamic control of soft continuum robots (SCRs) holds great potential for expanding their applications, but remains a challenging problem due to the high computational demands of accurate dynamic models. While data-driven approaches like Koopman-operator-based methods have been proposed, they typically lack adaptability and cannot reconstruct the full robot shape, limiting their applicability. This work introduces a real-time-capable nonlinear model-predictive control (MPC) framework for SCRs based on a domain-decoupled physics-informed neural network (DD-PINN) with adaptable bending stiffness. The DD-PINN serves as a surrogate for the dynamic Cosserat rod model with a speed-up factor of up to 44,800. It is also used within an unscented Kalman filter for estimating the model states and bending compliance from end-effector position measurements. We implement a nonlinear evolutionary MPC running at 70 Hz on the GPU. In simulation, it demonstrates accurate tracking of dynamic trajectories and setpoint control with end-effector position errors below 3 mm (2.3% of the actuator's length). In real-world experiments, the controller achieves similar accuracy.

arXiv:2506.19482v2cs.LG공식 코드 · Papers with Code

Fast and Distributed Equivariant Graph Neural Networks by Virtual Node Learning

Equivariant Graph Neural Networks (GNNs) have achieved remarkable success across diverse scientific applications. However, existing approaches face critical efficiency challenges when scaling to large geometric graphs and suffer significant performance degradation when the input graphs are sparsified for computational tractability. To address these limitations, we introduce FastEGNN and DistEGNN, two novel enhancements to equivariant GNNs for large-scale geometric graphs. FastEGNN employs a key innovation: a small ordered set of virtual nodes that effectively approximates the large unordered graph of real nodes. Specifically, we implement distinct message passing and aggregation mechanisms for different virtual nodes to ensure mutual distinctiveness, and minimize Maximum Mean Discrepancy (MMD) between virtual and real coordinates to achieve global distributedness. This design enables FastEGNN to maintain high accuracy while efficiently processing large-scale sparse graphs. For extremely large-scale geometric graphs, we present DistEGNN, a distributed extension where virtual nodes act as global bridges between subgraphs in different devices, maintaining consistency while dramatically reducing memory and computational overhead. We comprehensively evaluate our models across four challenging domains: N-body systems (100 nodes), protein dynamics (800 nodes), Water-3D (8,000 nodes), and our new Fluid113K benchmark (113,000 nodes). Results demonstrate superior efficiency and performance, establishing new capabilities in large-scale equivariant graph learning. Code is available at https://github.com/GLAD-RUC/DistEGNN.

arXiv:2506.10862v3physics.flu-dyn

Modeling Fluid Dynamics with Physics Pre-trained Operator Learning

Computational fluid dynamics (CFD) drives progress in numerous scientific and engineering fields, yet accurate simulations remain computationally prohibitive. While machine learning approaches offer computational acceleration, they typically specialize in single physical systems or require extensive training data, hindering their applicability in highly nonlinear and 3D flow scenarios. To overcome these limitations, we propose OmniFluids, a pure physics pre-trained model that captures fundamental fluid dynamics laws and adapts efficiently to diverse downstream tasks with minimal data. We develop a training framework combining physics-only pre-training, coarse-grid operator distillation, and few-shot fine-tuning. This enables OmniFluids to retain broad physics knowledge while delivering fast and accurate predictions. Architecturally, OmniFluids integrates a mixture of operators, a multi-frame decoder, and factorized Fourier layers, seamlessly incorporating physics-based supervision while allowing efficient and scalable modeling of diverse tasks. Extensive tests on various 2D and 3D benchmarks show that OmniFluids outperforms state-of-the-art AI-driven methods in terms of flow field prediction and turbulence statistics. It delivers $9.9$--$21.2\times$ inference speedups over traditional solvers on 2D and 3D Navier--Stokes benchmarks while maintaining comparable accuracy, and achieves strong performance on downstream tasks such as inverse problems, reconstruction, and control. This work demonstrates the potential of training a unified CFD solver exclusively from physics knowledge, offering an efficient approach for generalizable modeling across complex fluid systems.

arXiv:2505.23720v2cs.LG

COBRA: Contextual Bandit Algorithm for Ensuring Truthful Strategic Agents

This paper considers a contextual bandit problem involving multiple agents, where a learner sequentially observes the contexts and the agents' reported arms, and then selects the arm that maximizes the system's overall reward. Most existing work in contextual bandits assumes that agents always truthfully report their arms, which is unrealistic in many real-life applications. For instance, consider an online platform with multiple sellers; some sellers may misrepresent product features to maximize reward, such as having the platform preferentially recommend their products to its users. To address this challenge, we propose an algorithm, COBRA, for contextual bandit settings involving strategic agents that disincentivizes their strategic behavior without using any monetary incentives. Under truthful reporting, COBRA has sub-linear regret and, with high probability, never eliminates a truthful agent. Under over-reporting, COBRA's regret and the gain of a deviating agent are bounded conditionally and degrade gracefully with how well the other agents' observations cover the deviating agent's features. Experimental results also validate our theoretical results and the different performance aspects of COBRA.

arXiv:2505.15548v3cs.LG

조밀한 국소 의존성이 긴 시퀀스 트랜스포머 학습 중 어텐션 로짓 폭발과 학습 불안정성을 유발한다

Dense Local Dependencies Induce Attention-Logit Explosion and Training Instability During Long-Sequence Transformer Training

자기회귀 트랜스포머(transformer) 언어 모델은 긴 시퀀스로 학습(training)할 때, 특히 낮은 정밀도(precision) 연산 환경에서 종종 학습 불안정성을 보입니다. 이러한 불안정성은 흔히 어텐션(attention) 로짓(logit) 폭발을 동반하지만, 그 근본적인 원인은 명확히 밝혀지지 않았습니다. 본 연구에서는 조밀한 국소 의존성(dense local dependencies)이 어텐션 로짓 폭발의 주요 원인임을 보여주는 분석적 통찰과 실증적 증거를 제시합니다. 조밀한 국소 의존성 패턴은 실질적으로 높은 랭크(high-rank)의 어텐션 구조를 형성하며, 셀프 어텐션의 낮은 랭크 매개변수화는 시퀀스 길이가 증가함에 따라 점점 더 큰 로짓을 통해서만 이를 근사할 수 있음을 입증합니다. 이러한 로짓 팽창은 궁극적으로 낮은 정밀도 연산 환경에서 학습 불안정성으로 이어집니다. 합성 데이터 및 언어 모델링 작업에 대한 광범위한 실험을 통해 이러한 설명을 뒷받침합니다. 실험 결과는 일관되게 어텐션 로짓의 증가가 시퀀스 길이에 따라 커지고, 어텐션 차원을 늘림으로써 완화되며, 조밀한 국소 의존성을 명시적으로 모델링함으로써 크게 감소함을 보여줍니다. 나아가, 이러한 증가는 단순한 국소성(locality) 자체보다는 국소 의존성의 밀도에 의해 유발된다는 점을 밝힙니다. 보다 넓은 관점에서, 본 연구 결과는 조밀한 국소 의존성을 명시적으로 모델링하는 것이 자기회귀 언어 모델링을 위한 안정적이고 효율적이며 확장 가능한 롱 컨텍스트 트랜스포머 아키텍처를 개발하는 데 중요한 설계 원칙이 됨을 시사합니다.

arXiv:2505.04586v3eess.IV공식 코드 · Papers with Code

Active Sampling for MRI-based Sequential Decision Making

Despite the superior diagnostic capability of Magnetic Resonance Imaging (MRI), its use as a Point-of-Care (PoC) device remains limited by high cost and complexity. To enable such a future by reducing the magnetic field strength, one key approach will be to improve sampling strategies. Previous work has shown that it is possible to make diagnostic decisions directly from k-space with fewer samples. Such work shows that single diagnostic decisions can be made, but if we aspire to see MRI as a true PoC, multiple and sequential decisions are necessary while minimizing the number of samples acquired. We present a novel multi-objective reinforcement learning framework enabling comprehensive, sequential, diagnostic evaluation from undersampled k-space data. Our approach during inference actively adapts to sequential decisions to optimally sample. To achieve this, we introduce a training methodology that identifies the samples that contribute the best to each diagnostic objective using a step-wise weighting reward function. We evaluate our approach in two sequential knee pathology assessment tasks: ACL sprain detection and cartilage thickness loss assessment. Our framework achieves diagnostic performance competitive with various policy-based benchmarks on disease detection, severity quantification, and overall sequential diagnosis, while substantially saving k-space samples. Our approach paves the way for the future of MRI as a comprehensive and affordable PoC device. Our code is publicly available at https://github.com/vios-s/MRI_Sequential_Active_Sampling

arXiv:2502.15989v3cs.LG

Mean-Shift Distillation for Diffusion Mode Seeking

We present mean-shift distillation, a novel diffusion distillation technique that provides a provably good proxy for the gradient of the diffusion output distribution. This is derived directly from mean-shift mode seeking on the distribution, and we show that its extrema are aligned with the modes. We further derive an efficient product distribution sampling procedure to evaluate the gradient. Our method is formulated as a drop-in replacement for score distillation sampling (SDS), requiring neither model retraining nor extensive modification of the sampling procedure. We show that it exhibits superior mode alignment as well as improved convergence in both synthetic and practical setups, yielding higher-fidelity results when applied to both text-to-image and text-to-3D applications with Stable Diffusion.

arXiv:2411.07107v4cs.CL공식 코드 · Papers with Code

Training Neural Networks as Recognizers of Formal Languages

Characterizing the computational power of neural network architectures in terms of formal language theory remains a crucial line of research, as it describes lower and upper bounds on the reasoning capabilities of modern AI. However, when empirically testing these bounds, existing work often leaves a discrepancy between experiments and the formal claims they are meant to support. The problem is that formal language theory pertains specifically to recognizers: machines that receive a string as input and classify whether it belongs to a language. On the other hand, it is common instead to evaluate language models on proxy tasks, e.g., language modeling or sequence-to-sequence transduction, that are similar in only an informal sense to the underlying theory. We correct this mismatch by training and evaluating neural networks directly as binary classifiers of strings, using a general method that can be applied to a wide variety of languages. As part of this, we extend an algorithm recently proposed by Sn{\ae}bjarnarson et al. (2026) for efficient length-controlled sampling of strings from regular languages. We provide results on a variety of languages across the Chomsky hierarchy for three neural architectures: a simple RNN, an LSTM, and a causally masked transformer. We find that the RNN and LSTM often outperform the transformer, and that auxiliary training objectives such as language modeling can help, although no single objective uniformly improves performance across languages and architectures. Our contributions will facilitate theoretically sound empirical testing of language recognition claims in future work. We have released our datasets as a benchmark called FLaRe (Formal Language Recognition), along with our code.

arXiv:2409.09674v2cs.LG

Model Sorting: Complexity Management Using the Principle of Nested Models

We propose a novel approach to select the best model for the data. Based on the exclusive properties of nested models, we find the most parsimonious model containing the risk-minimizing predictor. We prove the existence of probable approximately correct (PAC) bounds on the difference of the minimum empirical risk of two successive nested models, termed successive empirical excess risk. Based on these bounds, we propose a model order selection method called nested empirical risk (NER). Using the sorted NER (S-NER) method to sort models intelligently, the minimum risk decreases. We establish a test for deciding whether further expansion of the model is likely to decrease the minimum achievable risk, providing a principled criterion for model growth. With high probability, NER and S-NER choose the true model order and the most parsimonious model containing the risk-minimizing predictor, respectively. We apply S-NER to linear regression and show that, without any prior information, it outperforms feature sorting algorithms like orthogonal matching pursuit (OMP) that rely on prior knowledge of the true model order. Furthermore,on the UCR dataset, the NER method dramatically reduces classification complexity with a negligible loss in accuracy.

arXiv:2405.07823v3cs.LG

Integrating Multi-Physics Simulations and Machine Learning to Define the Spatter Mechanism and Process Window in Laser Powder Bed Fusion

Spatter is a primary source of defects in laser powder bed fusion (LPBF), yet predicting where and when it forms across a broad process space remains difficult: high-fidelity simulations that resolve spatter physics are accurate but far too computationally expensive to map a wide range of process parameters. This work introduces a framework that couples high-fidelity multi-physics simulation, machine learning, and a commercial AM-specialized solver (here, FLOW-3D) to make high-fidelity spatter prediction both transferable and physically interpretable, and uses it to generate a process map at a fraction of the usual cost. The main contributions are: (1) a transferable machine learning approach in which a classifier trained on high-fidelity OpenFOAM simulations, which resolve the three-dimensional melt pool and recoil-driven spatter ejection, is applied to melt-pool fields from a computationally efficient commercial AM solver, enabling high-fidelity spatter prediction without high-fidelity cost; (2) a spatter process map spanning 281 power-velocity conditions, built roughly 18 times faster than with high-fidelity simulation alone (approximately 4 versus 72 hours per case); and (3) a mechanistic account of spatter formation obtained through feature-importance and SHAP analyses, which identify pressure, vertical velocity, and the temperature-dependent balance between recoil pressure and surface tension as dominant drivers of ejection. The high-fidelity model is validated against experimental measurements of melt-pool dimensions, temperature, and spatter diameter and velocity, and the classifier achieves 94 percent accuracy on held-out data. The resulting map links laser power and scan speed to predicted spatter behavior and identifies operating windows with minimal defects, offering a fast, physically grounded route to process-window selection in metal AM.

arXiv:2404.17746v2cs.LG

On the Rashomon ratio of infinite hypothesis sets

Given a classification problem and a family of classifiers, the Rashomon ratio measures the proportion of classifiers that yield less than a given loss. Previous work has explored the advantage of a large Rashomon ratio in the case of a finite family of classifiers. Here we consider the more general case of an infinite family. We show that a large Rashomon ratio guarantees that choosing the classifier with the best empirical accuracy among a random subset of the family, which is likely to improve generalizability, will not increase the empirical loss too much. We quantify the Rashomon ratio in two examples involving infinite classifier families in order to illustrate situations in which it is large. In the first example, we estimate the Rashomon ratio of the classification of normally distributed classes using an affine classifier. In the second, we obtain a lower bound for the Rashomon ratio of a classification problem with a modified Gram matrix when the classifier family consists of two-layer ReLU neural networks. In general, we show that the Rashomon ratio can be estimated using a training dataset along with random samples from the classifier family and we provide guarantees that such an estimation is close to the true value of the Rashomon ratio.

arXiv:2305.05912v2cs.LG

A Hybrid of Generative and Discriminative Models Based on the Gaussian-coupled Softmax Layer

Generative models offer advantageous characteristics for classification tasks, such as the availability of unsupervised data and calibrated confidence. In contrast, discriminative models have advantages in terms of their potential to outperform their generative counterparts and the simplicity of their model structures and learning algorithms. In this paper, we propose a method to train a hybrid of discriminative and generative models in a single neural network (NN), which exhibits the characteristics of both models. The key idea is the Gaussian-coupled softmax layer, which is a fully connected layer with a softmax activation function coupled with Gaussian distributions. This layer can be embedded into an NN-based classifier and allows the classifier to estimate both the class posterior distribution and the input data distribution. We demonstrate that the proposed hybrid model can be applied to semi-supervised learning and confidence calibration. The code is available at https://github.com/HideakiHayashi/gc-softmax

arXiv:2212.10420v3cs.AI

Settling the Reward Hypothesis

The reward hypothesis posits that, "all of what we mean by goals and purposes can be well thought of as maximization of the expected value of the cumulative sum of a received scalar signal (reward)." We aim to fully settle this hypothesis. This will not conclude with a simple affirmation or refutation, but rather specify completely the implicit requirements on goals and purposes under which the hypothesis holds.