PyTorchKR Papers

최신 논문

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

카테고리 탐색

로그인 후 이 카테고리 구독

arXiv:2612.01230v1math.ST

Sharp error asymptotics for expected batch optimal transport plans: the semidiscrete case

Minibatch optimal transport couples $k$ source samples with $k$ target samples by solving a small assignment problem, and is widely used to build couplings for flow matching. The expected batch plan differs from the population optimal plan, and the available bounds on this error are compatible with any rate of decay of the squared Wasserstein distance between $k^{-2}$ and $k^{-1/2}$. We consider a smooth log-concave source on $\mathbb{R}^d$ satisfying an integrability condition (Gaussians included) and a finitely supported target, and determine the exact asymptotic behaviour of the error: $k^{3/2}$ times the squared 2-Wasserstein distance between the expected batch plan and the optimal plan converges to $4\Lambda/(3\sqrt{\pi})$, where $\Lambda$ is an explicit functional of the Laguerre cells of the optimal plan, the source density on their faces, and the covariance of the batch dual weights. The dimension enters only through $\Lambda$. The limit has a practical consequence: drawing the target points of each batch (its labels) in exact proportions (stratification), rather than independently, multiplies the constant by $2^{-3/2}$. We also show that the natural "mislabelled mass times squared distance" functional asymptotically underestimates the error by a factor of exactly $\sqrt{2}$. The proof combines a stability estimate for batch dual weights under replacement of one sample, a cancellation of their bias obtained from the exact marginal constraint, a Kantorovich dual certificate that depends only on the coordinate normal to the cell faces, and a multiscale Poincar\'e argument near the junctions of cells.

arXiv:2612.01195v1cs.RO

Joint Adversarial-Reactive Diffusion for Safety-Critical Scenario Generation

Safety-critical scenarios are essential for evaluating and improving autonomous driving systems, yet they are scarce in real-world driving data. Existing scenario generation methods often emphasize inducing adversarial behaviors without explicitly accounting for corresponding evasive responses, resulting in interactions that may not require evasive action or allow feasible collision avoidance. To address this limitation, we propose Joint Adversarial-Reactive Diffusion (JARD), which jointly generates adversarial maneuvers and corresponding evasive responses within designated temporal chunks. JARD combines role-aware sampling guidance with joint diffusion to induce threats that make the reactive agent's nominal driving unsafe while enabling collision avoidance. In evaluating the generated adversarial maneuvers and their corresponding evasive responses, JARD generates successful evasive responses in approximately 77% of valid conflicts, while achieving the lowest inter-agent collision rate among the compared generators. To examine whether generated safety-critical interactions expose planner limitations, JARD-generated scenarios produce the highest collision rates with physically feasible adversarial agents among the compared methods (20.3% and 19.0% for IDM and Diffusion Planner), highlighting planner failures under physically feasible adversarial maneuvers. To investigate whether these planner limitations can be mitigated through fine-tuning, we train a planner on JARD-generated scenarios and demonstrate reduced collisions on held-out real-world safety-critical scenarios while largely preserving nominal driving performance.

arXiv:2612.01194v1eess.IV

LiSC: Lesion-Size-Stratified Compression Analysis Shows Small Lesions Vanish While Dice Stays Flat in White Matter Hyperintensity Segmentation

Deploying white matter hyperintensity (WMH) segmentation on machines without GPUs motivates model compression. When a 1.98 M-parameter U-Net is reduced to 0.12 M parameters, the Dice similarity coefficient (DSC) falls by only 0.016, but small-lesion recall falls by 0.197, showing that DSC hides a much larger loss. We compare four compression families and an attention variant at a matched parameter budget using lesion-size-stratified recall. Removing the deepest U-Net stage gives the highest small-lesion recall (0.479) of the compression families, not significantly different from a four-times-larger model, with DSC close to the uncompressed baseline. This gain costs 3.4 times the MACs of uniform width scaling; at matched compute (and one quarter of the parameters), the recall gain is offset by lower lesion precision. Compression studies for WMH segmentation should therefore report lesion-size-stratified recall alongside DSC.

arXiv:2612.01189v1cs.LG

FedReCall: Recalling Client-Specific Directions in Federated LoRA Fine-tuning

Low-rank adaptation (LoRA) enables communication-efficient federated fine-tuning of large language models, but standard FedLoRA averages the factors $A$ and $B$ separately even though the model update is determined by their product $\Delta W=sBA$. Under task heterogeneity, directions that are locally useful but weakly shared across clients may be insufficiently retained in the aggregated update; we call this selective attenuation directional dilution. We analyze this effect through the singular directions of client LoRA updates and find that low-strength directions are most vulnerable to dilution. Their repeated owner-specific recovery suggests client-specific adaptation signals rather than random noise. We propose FedReCall, a client-private plug-in that captures observable dilution gaps, selects reliable diluted directions into a private frozen cache, and recalls them through a low-rank bypass guarded by a single-batch loss probe when the client next participates. As a plug-in, FedReCall can be seamlessly integrated into existing FedLoRA methods without changing their aggregation rules, communication payloads, or trainable-parameter sets, consistently improving personalized adaptation and improving global evaluation metrics on most aggregators.

arXiv:2612.01182v1cs.AI

Evaluating Jev-Style Decision Models Against LLM Judges for Data Selection

Jev-style typed decision models return a probability distribution over the options of a typed question in a single forward pass, and are promoted as usable without task-specific training, calibrated, and cheap to run. The only Jev model is closed-source, yet open-source reconstructions and similar System One models have followed, and these models are increasingly used in place of LLM judges. They have been compared with LLM judges on accuracy and agreement, but whether their probabilities predict the quality of the data they select, measured against human labels that keep annotator disagreement, has not been tested. We study this question for high-quality data selection, a basic task in which LLM judges are widely used. On two datasets, we compare hosted Jev, four open Jev-style models, their own backbone LLMs used as option readouts and as generative judges, and a large LLM judge, and measure whether the probability a scorer assigns to the data it selects matches the share of annotators who judge that data good. Every scorer overstates the quality of its top-quarter selection. The open models are not reliably more faithful than their backbones and do not reproduce hosted Jev's calibration, and the large LLM judge is more faithful than hosted Jev. Platt scaling on 100 calibration items brings every scorer's mean selection calibration error below 0.05, and on the full calibration split only 3 of 54 tested differences remain significant. Hosted Jev selects data at least as well as the large LLM judge at a fraction of its API cost, but so does the option readout of an open 4--12B backbone LLM, which, like an open Jev-style model, avoids generation and runs at comparable latency. The efficiency advantage is therefore consistent with single-pass scoring rather than with decision fine-tuning.

arXiv:2612.01177v1cs.LG

QWER: Quantized Weights and Errors in Reasoning at Three Bits

Three-bit weight quantization is attractive for reasoning models, whose inference cost is dominated by long chains of thought, and recent work reports that low-bit models both lose accuracy and generate longer outputs. We examine which of these two effects dominates when a three-bit GPTQ model of Qwen3-4B-Thinking is calibrated on the model's own reasoning traces. On AIME 2025 (30 problems, four samples each) accuracy falls from 77.5% to 55.0%, a drop of 22.5 points (95% bootstrap interval 10.8 to 35.0), while mean output length changes by only +3.1%, with an interval that contains zero. The cost per correct answer still rises by 45% in tokens, almost entirely because fewer problems are solved. We then test whether reweighting the GPTQ Hessian by the measured token-level divergence between the quantized and full-precision models, on traces generated by the quantized model itself, repairs this damage. The first design did not pass a pre-specified holdout test, and we show that its weights were concentrated on about 3% of the calibration tokens. A single retry that weights tokens by KL alone, with its metric and gate fixed before any variant result was seen, reduced the holdout KL against GPTQ by 6.7% and 7.3% on traces of unseen problems from the full-precision and quantized models, whereas mixed traces with uniform weights gave no reduction. Whether this smaller divergence recovers AIME accuracy has not been tested. This is a single-model, single-benchmark study, which we report as a diagnosis together with negative and partial results.

arXiv:2612.01168v1cs.LG

Neural Engineering with Weight-Space Programming: Efficient Tabular Predictors Built by LLMs

Tabular foundation models (TFMs) are the most accurate tabular predictors, but they pay for this accuracy at every prediction: each query conditions on the training data again, and the data, or a cache derived from them, must ship with the model. Cheaper predictors, such as tree ensembles and distilled networks, give up accuracy, and all of them set their parameters by optimisation. We ask whether a small predictor obtained without optimisation can strike a better balance. We propose CoreTab, a weight space programming (WSP) framework in which a general-purpose large language model (LLM) agent engineers every weight of a sparse ReLU network from the training data, under a contract that forbids fitting. Only this network is deployed; it needs no LLM, no training data and no cache. On 30 binary classification tasks from TabArena, the engineered networks lie on the Pareto front of ROC-AUC and inference time. With a median of 238 nonzero weights, they are level with an EBM, a tuned RealMLP and default CatBoost and slightly behind tuned CatBoost; they predict faster than every tree model on the same CPU and 238x faster than TabPFN-3.5 with a KV cache on a GPU. Trained by gradient descent, the same architecture is worse on 22 of 30 tasks, which supports our hypothesis that what holds small networks back is how their weights are set. Finally, given TabPFN-3.5 as a teacher, an engineered student is as accurate as a distilled MLP while remaining sparser and faster.

arXiv:2612.01166v1cs.LG

Privacy-Preserving Hierarchical Forecasting

Hierarchical Forecasting (HF) typically assumes that data from across the hierarchy are centrally available. In practice, these data may belong to different organisations and cannot always be shared because of privacy or commercial sensitivity. Nevertheless, forecasts must remain coherent across the hierarchy. To address this challenge, we propose Federated Hierarchical Forecasting (FHF), a two-stage framework combining federated learning with coordinator-assisted distributed forecast reconciliation. In FHF, forecast owners exchange locally computed contributions to obtain coherent forecasts, with results algebraically equivalent to centralised linear reconciliation. We also examine hierarchical topologies during federated aggregation, i.e. leaf-node (LN-FHF) and completely hierarchical (CH-FHF), which are more flexible and close to the real-world application. For providing formal privacy guarantee, we further extend FHF to Privacy-Preserving Hierarchical Forecasting (PPHF) by applying differential privacy (DP) mechanisms to releases during training and reconciliation. DP-FedAvg protects a client's training contribution in the released global models. Furthermore, two local DP mechanisms protect individual residuals and base forecasts used during computation of distributed reconciliation contributions. On empirical results of GEF2017 and AusGrid2013, FHF and PPHF eliminate incoherence, and PPHF further discuss the trade-off between privacy and forecasting accuracy.

arXiv:2612.01165v1cs.CV

Approaching the Bit Limit: Lossless Latent Compression with Rate-Verifiable Environments

Classical compression theory follows a rate-verification paradigm: prove a lower bound on the achievable coding rate, then design codes that approach this bound. Learned image compression has largely advanced through empirical comparison instead, partly because the entropy of natural images is unknown and the distance to the optimal rate cannot be directly measured. This paper proposes a step toward bringing rate verification back into learned compression. We construct a series of simple controlled visual environments whose task-relevant semantic entropy is exactly computable, making it possible to evaluate learned compressors by their distance to a known lower bound. These environments are not intended to match the full complexity of natural images; rather, they provide rate-verifiable testbeds for developing and diagnosing compression methods before transferring them to real-world data. Within this framework, we propose Progressive Lossless Latent Compression (PLLC), a unified latent-space method that compresses latent representations of downstream task models. PLLC first learns a quantized bottleneck that meets reference performance, defined as the downstream performance of the original task model before the compression module is inserted. It then progressively strengthens rate regularization. In controlled classification and segmentation environments, this strategy preserves reference performance at coding rates approaching the known semantic entropy lower bounds. We then apply PLLC to real-world Caltech-101 classification and Cityscapes segmentation, where the exact minimum rates for preserving task performance are unknown. On both benchmarks, PLLC compresses the latent representations while maintaining the original task models' downstream performance.

arXiv:2612.01136v1quant-ph

Learning Quantum Circuit Structure for Born Machines with a Generative Transformer

A quantum circuit Born machine (QCBM) is a quantum circuit whose measurement outcomes follow a target probability distribution, so that each measurement yields one sample. Standard QCBMs fix the circuit structure by hand and tune only the rotation angles by gradient descent. The structure is therefore never optimised, and training is exposed to barren plateaus. Here we adapt the generative quantum eigensolver (GQE), in which a transformer writes a circuit as a sequence of (Pauli operator, rotation angle) tokens, from energy minimisation to distribution matching. The resulting model, G-QCBM, keeps this transformer but trains it differently. It stores the best circuits found so far in a replay buffer and learns to imitate them, weighting each circuit by how closely it matches the target distribution. We test G-QCBM on four continuous target distributions (Gaussian, bimodal, exponential, and log-normal) at 20 qubits, where every target has about one million ($2^{20}$) entries to match. Trained on the Kullback-Leibler (KL) divergence, it reaches a KL 14-300 times lower than the conventional variational QCBM trained on either KL or the maximum mean discrepancy (MMD), while using 2.2-3.1 times fewer CX gates. The advantage does not carry over to structured discrete targets (GHZ, Bars-and-Stripes, Dicke states), where the variational QCBM outperforms G-QCBM even when G-QCBM is given the target's symmetry as an inductive bias. These results suggest that GQE-style circuit generators are better suited to targets whose probability is spread smoothly over many basis states than to targets concentrated on a few symmetry-constrained states.

arXiv:2612.01121v1stat.ML

Bertsimas-Sim Optimized Cauchy Lasso Regression

Sparse regression methods such as LASSO are widely used for simultaneous estimation and variable selection, but their effectiveness can be significantly reduced under heavy-tailed noise and the presence of outliers in the data. The recently proposed Cauchy LASSO Regression (CLR) model addresses the heavy-tailed setting by adding a negative log-likelihood loss derived from the Cauchy distribution. However, although CLR is well suited to modeling Cauchy-distributed errors, its formulation does not explicitly enhance robustness against outliers. Also, it uses some numerical methods that provide iterative approximations rather than a guaranteed exact global optimum. To address these limitations, we propose a new model, called Bertsimas-Sim-Optimized Cauchy LASSO Regression (BOCLR), that enhances robustness to outliers while preserving the ability to model Cauchy noise. We further investigate a suitable optimization algorithm for solving the proposed objective function and analyze its computational properties. The performance of BOCLR is evaluated using simulated and real-world datasets. The results show that the proposed method yields more robust and accurate estimates than previous approaches, particularly in scenarios involving heavy-tailed noise and outliers.

arXiv:2612.01103v1cs.LG

LagFormer: Regressing Periods from Sparse, Irregularly Sampled Series

Period estimation for irregularly sampled series is usually a search over trial frequencies, on a grid whose density grows with record length and whose highest peak can be a harmonic of the true period. Several learned estimators take such frequency-resolved inputs and inherit the same grid. We introduce LagFormer, which identifies the period from self-similarity on a logarithmic lag axis, where a fixed relative resolution suffices. An exact correlogram bins every pair of observations by time difference, handling arbitrary sampling without interpolation, and compares observed values alongside channels learned by a transformer. Since each period bin spans a whole number of lag bins, every candidate period's multiples lie at fixed lag offsets, which a harmonic comb gathers for a network outputting a distribution over log-period. A local refinement sharpens the estimate within the selected harmonic. Trained only on synthetic series that replay real sampling and noise, LagFormer finds the period within 10% on 90.2% of held-out synthetic series, against 69.3% for a Lomb-Scargle periodogram and 85.0% for PDM, without a fine global frequency search. On real survey time series it agrees with the catalogue period on 80.6%, and among series where LagFormer and the published period select the same multiple, LagFormer's period produces a tighter overlay of repeated cycles in 51.9% of cases.

arXiv:2612.01098v1cs.LG

LaVA: Flexible Machine Unlearning through Learnable Vector Arithmetic

Machine unlearning (MU) aims to remove the influence of specific data from a trained model without retraining from scratch. Existing approximate methods often operate in the full parameter space, making them prone to catastrophic degradation when the remaining data is limited. We propose Learnable Vector Arithmetic (LaVA), which decomposes unlearning into two task vectors -- a forgetting vector and a remaining vector -- obtained by subtracting the original model weights from models fine-tuned on the respective data subsets. These vectors are recombined with the original model via learnable layer-wise scaling coefficients, confining optimization to a low-dimensional space that enables stable forgetting and retention even with as little as 5% of the remaining data. Furthermore, we observe that the widely used accuracy gap metric fails to capture differences at the output distribution level. We adopt Jensen-Shannon (JS) divergence as the evaluation metric, which provides a fine-grained, bounded, and symmetric measure of distributional similarity between the unlearned model and the retrained model. Extensive experiments across three benchmarks and four forgetting scenarios demonstrate that LaVA consistently outperforms existing methods in both aggregate performance and distributional fidelity.

arXiv:2612.01088v1cs.LG

Fine-Tuning GridSFM Efficiently: Low-Rank Adaptation of Neural Surrogates for AC Optimal Power Flow

Grid foundation models offer reusable representations for power-system optimization, but deploying them across diverse networks requires affordable adaptation. Full fine-tuning updates the entire model for each specialization, creating a barrier to maintaining models for many grids. We investigate low-rank adaptation (LoRA) as a parameter-efficient fine-tuning alternative, using GridSFM-Open as a case study. On a 6,470-bus benchmark, the tested LoRA adapters train only 0.94-3.65% of the resulting model's parameters and reduce mean generation-cost error by approximately 60% relative to the frozen pretrained model, with gains extending to held-out contingencies. These findings show that substantial per-grid improvement is possible through small parameter updates and support a shared backbone with grid-specific adapters as a promising route toward real-world deployment.

arXiv:2612.01085v1cs.AI

Where Greedy Evaluation Noise Comes From: Request Order, Compile Cache, Device, and Server State in vLLM on Blackwell GPUs

Temperature-zero ("greedy") evaluation is widely treated as repeatable. We report two studies of Qwen3 models served by vLLM on NVIDIA Blackwell GPUs. In an exploratory protocol validation (Qwen3-1.7B, HTTP server, GB300), an identical greedy rerun in the same server process reproduced 32.0% of MMLU-Pro outputs byte for byte; verdicts agreed on 91.7%, a rerun standard error of about 0.4 points at n=6,016 but 1.9 at n=250. Output budgets truncated a fifth to a quarter of answers, and an IFEval checker in lm-evaluation-harness re-draws missing arguments from Python's global random generator. In a preregistered decomposition (Qwen3-4B-Instruct-2507, 2,244 items, vLLM's offline engine with fixed scheduler caps, four Blackwell GPUs), warm restarts in the same request order flipped 0-0.013% of graded answers on a GB300, an RTX PRO 6000 and a GB10, but 2.7% on a consumer RTX 5080. Moving between GPUs flipped 3.8-5.0% (confirmatory pair: excess 3.9 points, 95% CI 2.9-5.0), and, descriptively, shuffling the request order (3.7-4.6%) or compiling from an empty cache (up to 4.7%) flipped comparable amounts. Batch-invariant mode made the RTX PRO 6000, GB10 and RTX 5080, which share one tuned-kernel table, byte-identical within and across devices, but GB300 outputs still depended on compile-cache state and matched no other GPU. A serving-path screen located most of the first study's noise in dynamic batching: fresh HTTP servers at concurrency 96 disagreed on 4.7-6.1% of graded answers, while the offline engine, and the same server at concurrency one, reproduced every text. A floor measured on one device, in one order, from one cache state understates the noise a reader will meet; we give the checks that catch each source.

arXiv:2612.01083v1eess.SP

Feature-Based Knowledge Distillation for Lightweight Vibration Sensing and Bearing Anomaly Detection

Lightweight vibration monitoring requires compact models capable of detecting bearing anomalies with limited computational resources. This letter evaluates feature-based knowledge distillation (FKD) for training a lightweight autoencoder (AE) with vibration reconstruction and intermediate-feature supervision. A two-layer student AE is assessed using two bearing-disjoint partitions of the PRONOSTIA dataset, matched training budgets, and three teacher architectures. Across three student random seeds, the convolutional teacher-guided student achieves 79.34% accuracy and an F1 score of 55.06% on Fold A, compared with 77.87% and 50.63% without FKD. On Fold B, the corresponding results are 95.76% accuracy and 93.59% F1 score, versus 90.03% and 82.15% without FKD. The student requires only 2,841 parameters and approximately 0.265 MFLOPs per input window. The benefits of FKD depend on the test bearing, teacher architecture, and detection metric.

arXiv:2612.01077v1cs.LG

What's in the Bottle? A Survey and Roadmap of Concept Bottleneck Models

Concept Bottleneck Models (CBMs) are interpretable learning architectures that factor predictions through intermediate, ideally human-understandable concepts, enabling explicit and inspectable reasoning. Although CBM research has gained substantial momentum in recent years, this growth has also revealed numerous open challenges and a fragmented set of methodological choices. In this work, we systematically review the CBM literature, identify previously unidentified core components and challenges, and propose a unified taxonomy. Based on this taxonomy, we provide a detailed categorization of existing works. We hereby discuss current challenges for the CBM paradigm and outline important directions to extend it beyond its current scope. Overall, this survey aims to consolidate the CBM landscape, clarify open issues, and provide guidance for developing future models. An interactive version of the survey is available at https://patrick-knab.github.io/whats-in-the-bottle

arXiv:2612.01075v1cs.LG

DIAL: Diffusion Post-Training for Inference-Time Adjustable Alignment by Reward Importance and Strength

Reward fine-tuning adapts a diffusion model to rewards combined with fixed weights and to a fixed degree of specialization. However, both are preferences that vary with the user and the prompt in practice. We present DIAL (Diffusion post-training for Inference-time Adjustable aLignment), an online method that learns a single model conditioned on two controls chosen at inference time. The reward importance weights the rewards, and the strength sets how far the model departs from the pre-trained model. To this end, we modify an existing online reinforcement learning method in three ways. We reparameterize its objective so that the model can also be trained at zero strength, compute the reward scale once from the pre-trained model, and anchor the trained model to the pre-trained one. We theoretically show that, with these modifications, each pair of control values specifies a stationary policy of training. Moreover, for small strengths, the distribution that maximizes the weighted reward under a KL penalty toward the pre-trained model approximately satisfies the stationary condition, and a larger strength corresponds to a weaker penalty. Experiments on text-to-image and video-to-audio generation show that the two controls change the samples as intended. At full strength, the model is competitive with dedicated multi-reward methods.

arXiv:2612.01074v1cs.CV

A Vision Model for Localisation and Motion Prediction in Autonomous Guidewire Navigation

Purpose: Autonomous endovascular navigation requires continuous, marker-free localisation of the guidewire and prediction of its next motion. We aim to estimate both from a fluoroscopy image, while establishing what a motion predictor requires from the localiser. Methods: We propose a pipeline which localises the guidewire using nodes placed at fixed distances from the tip, and forecasts their motion three frames ahead from the localised nodes and command. We evaluated the pipeline using two different datasets (constant insertion and policy-based navigation). Localisation was also evaluated on a real fluoroscopy dataset. Results: ResNet-18 with graph head was the most accurate localiser, with its advantage extending to motion predictions and outperforming DINOv3 (cosine direction: 0.750 vs. 0.615). Given the policy's command, the predictor also outperformed the kinematic rule using the same command information (cosine direction: 0.922 vs. 0.824). Evenly spread node placement localised the tip as accurately as the tip-anchored node placement, but displacement differed from true motion by 58%. Conclusion: Motion prediction was limited by the localiser's accuracy in simulation, so better localisation led to improvement. Future work should test the pipeline on real data with recorded commands. To our knowledge, this is the first evaluation of motion forecasting ground on an image-based localiser.

arXiv:2612.01073v1stat.ML

Beware of Sharp Minima: Loss Landscape Geometry Predicts the Generalizability of Hydrological Models

In hydrology, many parameter configurations exhibit comparable performance on training data, but a (seemingly random) subset of these fail to generalize under climate change, leading to poor post-deployment performance. In this paper, we aim to demonstrate that this failure to generalize may be a result of the underlying structure of the loss landscape at these local extrema. Specifically, we hypothesize that parameter sets at sharp minima have poor generalization ability while parameter sets at flat minima have strong generalization ability. While optimizing for flat minima has gained significant attention in computer science, most notably through algorithms like Sharpness-Aware Minimization (SAM), these techniques remain largely unexplored in the hydrology community. We evaluate the effectiveness of SAM in finding more generalizable deep learning models using the CAMELS dataset, a standard benchmark in hydrology. By demonstrating the link between flat solutions and improved test accuracy, our work highlights practical, easily implementable methods that hydrologists can use to improve model generalization.