PyTorchKR Papers

최신 논문

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

카테고리 탐색

로그인 후 이 카테고리 구독

arXiv:2612.01058v1cs.LG

Does Cross-Panel Pretraining Transfer Under Marker Heterogeneity? A Large-Scale Empirical Study in Clinical Flow Cytometry

Flow cytometry is the primary assay for single-cell immune profiling, yet cross-study modelling remains under-explored. The challenge is two-fold: Studies measure different marker panels, inducing feature-space inconsistency, while batch effects shift signals even on shared markers, making transfer harder than in vision or language where input spaces are stable. We conduct a large-scale empirical study, pretraining an encoder on 89,324 samples from 112 public studies spanning 525 distinct marker panels. We evaluate it frozen --- isolating representation quality from task-specific adaptation, on five clinical tasks under a taxonomy of panel-overlap conditions, including three panel-zero-shot tasks whose marker panels were unseen during pretraining, and one negative control with no expected discriminative signal. We further characterise transfer across scaling axes and probe robustness to marker removal at test time. Despite heterogeneity that disrupts direct transfer, the frozen encoder matches or exceeds in-distribution specialist encoders on 4 of 5 tasks, including all three novel-panel tasks, and behaves as expected on the negative control. Scaling analyses reveal saturation in both encoder capacity and random corpus subsampling, and representations degrade gracefully under marker reduction. These results suggest a pretrained encoder can serve as a general-purpose feature extractor for clinical cytometry data, without task-specific retraining. Code, corpus information and model weights are available at https://doi.org/10.5281/zenodo.23787478 .

arXiv:2612.01049v1stat.ML

Convergence Rates of GP-UCB with Estimated Covariance Parameters

Bayesian optimization (BO) commonly estimates Gaussian process covariance parameters by maximum likelihood in practice, whereas standard regret analyses assume known parameters. In the Bayesian setting, we study how sequential maximum likelihood estimation (MLE) of the marginal variance and length scale of a Mat\'ern kernel affects the convergence of GP-UCB. We first show that estimating covariance parameters does not prevent no-regret convergence for any smoothness $\nu>0$ and finite dimension. However, the convergence rate depends not only on predictive accuracy at evaluated locations but also on the extent to which the maximum acquisition value underestimates the true optimum. To understand how covariance parameter estimation affects this rate, we show that estimation errors in the marginal variance and length scale can compensate for each other. Furthermore, we find that reducing posterior uncertainty about the objective does not necessarily provide proportional information about its covariance. Consequently, the accuracy required of covariance parameter estimation depends on how the objective is learned during optimization. Building on these findings, we identify sufficient conditions under which covariance parameter estimation does not preclude an almost-sure regret rate of $O(\sqrt T\log^2 T)$ for sequential-MLE GP-UCB.

arXiv:2612.01035v1cs.RO

Regularized Online Residual RL for High-Dimensional Action Chunks

Reinforcement learning improves pretrained vision-language-action (VLA) policies beyond behavioral cloning, with residual learning facilitating efficient adaptation of frozen policies. However, sparse coverage of high-dimensional action-chunk spaces makes policy optimization vulnerable to exploiting overestimated Q-values, while costly VLA computation and experience collection also constrain improvement within wall-clock budgets. We introduce Regularized Residual Learning for Action Chunks (RRL-AC), combining regularized residual learning with asynchronous infrastructure. In-sample bootstrapping and conservative critic regularization mitigate unreliable value propagation and overestimation, while prior-supported ensemble pessimism and adaptive anchoring regulate policy updates. Asynchronous execution boosts experience throughput by 3.1x, while offloading VLA computation and caching compact outputs increase update throughput by 87x. Under matched three-hour budgets, we outperform the base policy across six DexJoCo tasks with 264- and 528-dimensional (D) action chunks, whereas baselines show limited gains or substantial degradation. We analyze the effects of regularization, chunk dimensionality, and experience supply, and validate real-world applicability with 580D action chunks, raising bimanual kettle assembly success from 33.3% to 80.0%.

arXiv:2612.01034v1cs.LG

Do Longer Site Histories and Neighbour Data Add Up? Overlapping Information In Short-term Photovoltaic Forecasting and Sample-conditioned Input Gating

Short-term photovoltaic (PV) forecasters are routinely supplied with both longer site histories and additional neighbouring systems on the implicit assumption that their benefits combine additively. We test this assumption with a controlled 2 x 2 x 2 factorial design spanning history length, neighbour count and weather input count across six model families on two public benchmarks: GEFCom2014-Solar with de-accumulated ECMWF forecasts (365 test days) and 25 rooftop systems from the Ausgrid Solar Home archive (273 test days). On the two audited benchmarks, the time-space interaction is positive in the reported evaluation blocks, indicating that a longer history reduces forecast error less once neighbouring sites are available: across all six model families on GEFCom2014 with forecast origins spanning the day (0.10-0.69 percentage points (pp) of daytime nMAE, Holm-adjusted p < 0.01), and across four of six families on Ausgrid-25. In a learning-curve experiment, this overlap does not diminish with larger training sets for three of the four families tested, consistent with shared information rather than finite-sample estimation noise on the one-year training range evaluated here; channel-independent PatchTST is the main exception. We also evaluate a lightweight front end that reweights history blocks, neighbours and weather inputs per sample. While it improves each of four neural backbones over its validation-selected static input set (0.11-0.65pp on GEFCom2014; 0.16-0.45pp relative to full inputs on Ausgrid-25), a statically configured LightGBM remains the most accurate model on GEFCom2014, and a parameter-matched gate driven by raw observations performs as well as one driven by engineered physical indicators. Practically, the value of any candidate telemetry stream should be assessed jointly with the streams already in operation.

arXiv:2612.01030v1cs.LG

Supervised Hebbian Class Networks: Regression Without Backpropagation

This paper shows how to use supervised Hebbian class networks for regression. The idea is to use the sign of the prediction error to guide a Hebbian update in every layer. For scalar curve fitting, there is one prediction, so every hidden neuron can use the same error sign. For implicit image representation, the network predicts red, green, and blue at a given position. Each hidden neuron contributes to one color channel and uses that channel's error sign. For image generation, an autoencoder learns to reconstruct an image with 12,288 output values. There are too many outputs to assign a hidden neuron to each one, so each hidden neuron takes a vote over a group of output errors. This lets the encoder and decoder learn together without backpropagation or a separately fitted readout.

arXiv:2612.01025v1cs.LG

Exact Fits, Unstable Loops: Finite-Step Distribution Matching with Rebuilt Targets

Distribution-matching policy updates fit a target that is rebuilt from the current policy at every round, so each finite inner fit feeds back into the next target. We study this fit-and-rebuild loop in the Spread stage of DriftSpread, holding the quadratic Drift exact so that every difference comes from finite fitting alone. In a seven-dimensional Gaussian model, the best shared single gradient step leaves more than $54.9\%$ relative covariance error, and we certify how many shared steps an exact fit requires. More strikingly, two three-step schedules with the same step count and cumulative step size, both fitting the target exactly at a common fixed point, have round-map spectral radii of about $0.81$ and $5.70$, and in the population model the amplification disappears when the target is locked rather than rebuilt. We further show that one Spread step is first-order descent on an explicit spectral energy whose minimizers explain covariance shrinkage and partial rank collapse, and controlled finite-sample and neural experiments show that update count and cumulative step size must be reported separately.

arXiv:2612.01015v1cs.AI

Inference-time noise as a control axis for frozen diffusion models

Generative diffusion models synthesize samples by progressively removing noise, yet the amount of noise injected at each step is fixed by convention rather than chosen for the task. We show that this noise amplitude is a control variable: with the trained network frozen, changing it---and compensating the drift so that an exact model would be unaffected---reshapes the generated ensemble without retraining. An optimal-control formulation yields a solvable Gaussian model in which the optimal correction acts late in generation, is directed by the model's variance error, and vanishes when the model is exact. The resulting two-parameter controller is a two-line change to standard DDPM samplers. In the protein structure model Boltz-2, opposite noise settings shift up to 23\% of generated structures between the open and closed conformations of two-state proteins, with the direction reversing on a fold-switching protein; controls matched on which steps are modified attribute the shifts to noise injection itself. A late-noise window selected on one peptide transfers to four further fast-folding proteins and, with a reference-informed per-system gain, reduces divergence from molecular-dynamics reference ensembles by 10--31\%. On a latent-diffusion model of disordered proteins, strong gains compact ensembles, improving small-angle X-ray-scattering agreement for over-expanded ensembles and degrading it for already-compact ones, with no median change detected at any gain. Inference-time noise is thus a tunable, theory-guided control axis of frozen generative models.

arXiv:2612.01012v1cs.IT

Embedded Neural Belief Propagation: More Dimensions, Better Beliefs

Recently, Transformer-based decoders have achieved state-of-the-art performance on short codes, surpassing conventional belief propagation (BP) decoders. However, processing high-dimensional representations through attention incurs substantial computational cost. In this paper, we propose Embedded Neural Belief Propagation (E-NBP), which combines the efficiency of BP with the expressive power of high-dimensional representations. E-NBP embeds channel information into $d$-dimensional vectors and propagates message vectors along Tanner-graph edges. A key design choice is to perform intra-dimensional check-node updates to maintain low complexity, while performing cross-dimensional variable-node updates to improve decoding performance. On CCSDS$(128,64)$ at $E_b/N_0 = 6$ dB, E-NBP reduces BER by 98.1% relative to CrossMPT while requiring 73.7% fewer FLOPs than EfficientMPT. These findings show that vector messages enable BP to compete with Transformer-based decoders while retaining its computational efficiency.

arXiv:2612.01009v1cs.LG

Direct, Proxy, or Joint? Tracing Compression-Induced Fairness Drift in LLMs with Harsanyi Interactions

Large language models (LLMs) are quantized or pruned before deployment, and a compressed model ships if its accuracy barely changes. For tabular decisions such as recidivism prediction, standard fairness tests do not close this gap: the same compressed model can look fairer under a group-parity test and less fair under an attribute-swap test. We present FairDrift, which treats input attributes as players in a cooperative game and uses Harsanyi interactions to trace a fairness change to the attribute combinations behind it. With four prompts per record, FairDrift splits the change into three routes: sensitive attributes alone, task attributes acting as proxies, and both jointly. We show that swap-based tests cannot see the proxy route. Across 69 accuracy-passing model-dataset pairs from 3 LLM families, proxy drift outweighs sensitive drift in 55% of pairs, a noise-controlled Pair Ledger pinpoints the few attribute terms behind a change (such as age $\times$ race) with almost no false alarms on unchanged models, and models whose group parity barely moves still flip up to 9.7% of full-test decisions.

arXiv:2612.01002v1cs.LG

Boundary-Diverting Unlearnable Examples against Linear Probing

Unlearnable Examples (UEs) have emerged as a promising data protection strategy against unauthorized model training, which adds imperceptible perturbations into data to degrade generalization. Existing studies predominantly assume a fully trainable target model, where unlearnability is achieved by disrupting clean feature representations. However, this assumption grows increasingly unrealistic with the prevalence of pretrained models, where unauthorized users can freeze the backbone and perform linear probing, preserving discriminative representations and thereby invalidating the core mechanism of previous UEs. In this paper, we investigate this practical yet challenging linear probing setting and reveal a fundamental vulnerability. To address this, we propose DIVERT (Decision-boundary dIversion Via sEmantic-decoupled oRthogonal Targets), a novel framework that shifts the design principle from feature disruption to explicit decision boundary diversion. Our intuition is that projecting perturbed samples into a subspace orthogonal to the semantic manifold induces spurious linear separability, thereby steering the decision boundary away from original prototypes. Building on this principle, DIVERT first constructs synthetic class anchors within the semantic-decoupled subspace, then employs a cross-attention mechanism to jointly optimize these anchors while pushing perturbed samples toward them to establish spurious separability. Subsequently, it incorporates a surrogate linear head to simulate the linear probing procedure, further refining perturbations to actively divert the decision boundary. Extensive experiments demonstrate that DIVERT establishes effective unlearnability across diverse datasets and backbones.

arXiv:2612.00996v1stat.ML

Beyond Langevin: Sampling Multimodal Densities using the Witten Laplacian on 1-forms

We introduce a new algorithm to sample from a probability density $\pi \propto e^{-V}$ with $V(x): \mathbb{R}^d \rightarrow \mathbb{R}$ a strongly multi-modal potential. Such distributions are challenging to sample from using standard gradient based methods, as exploration typically relies on inefficient diffusions. Inspired by connections between Schrodinger operators, Langevin diffusions and Morse theory, we develop a particle based method that exploits fast relaxation to transition pathways of the so-called Witten PDE on 1-forms. Once pathways joining modes are sufficiently well explored, the method relaxes to inexpensive Langevin dynamics for sampling within approximately convex basins. Numerical experiments demonstrate superior performance over conventional gradient based and interacting particle sampling methods and competitive performance at lower cost compared to a state of the art method, parallel tempering.

arXiv:2612.00989v1cs.LG

Speculative Loop: An Empirical Analysis of Draft Depth for Loop Transformers

Loop Transformers reuse a shared block to increase computation per token, but every iteration lengthens autoregressive decoding. This report examines draft depth in native self-speculation: fewer loop iterations produce proposals, and standard full-depth verification preserves the target output distribution. We document this procedure in Speculative Loop and analyze its cost per emitted token. Joint loop depth and draft window examinations on Huginn show that additional draft iterations can retain longer prefixes while reducing throughput. Across three released checkpoints and four public benchmarks, mean vLLM speedups are $1.85\times$ on Huginn, $1.93\times$ on Parcae, and $1.83\times$ on Ouro using full-recomputation verification, with target depths from $4$ to $32$. We also evaluate a PyTorch implementation and give a sufficient condition for reusing draft states. On Huginn's HumanEval and MT-Bench workloads, the trained EAGLE-1 drafter is faster than native drafting at depth $8$, despite the native drafter retaining longer prefixes without additional parameters or training. The results characterize how draft depth, draft window size, and workload affect the cost of native drafting.

arXiv:2612.00986v1stat.ML

The instance-dependent price of certified Lipschitz optimization

We determine, instance by instance, how many evaluations are needed to certify an $\varepsilon$-maximizer of a function $f$ on $[0,1]^d$ with a known Lipschitz bound $L$. Without noise and with $\mathrm{Lip}(f)<L$, every certified algorithm needs at least $L^d\int(\max f-f+\varepsilon)^{-d}/K_d(\mathrm{Lip}(f)/L)-1$ evaluations; for $d\ge2$ this removes the logarithmic factor of the lower bound of Bachoc, Cesari and Gerchinovitz, and $K_d$ cannot be improved uniformly over functions with a given $\mathrm{Lip}(f)$. With Gaussian noise and $\mathrm{Lip}(f)<L$, every $(\varepsilon,\gamma)$-PAC algorithm needs of the order of $\sigma^2\log(1/\gamma)L^dJ_\varepsilon$ evaluations, $J_\varepsilon:=\int(\max f-f+\varepsilon)^{-(d+2)}$. As $\gamma\to0$ the optimal constant is, for every $\varepsilon<L/2$, the value $T^\ast_\varepsilon(f)$ of a sampling game; $T^\ast_\varepsilon(f)\asymp\sigma^2L^dJ_\varepsilon$ if $\mathrm{Lip}(f)<L$, and $T^\ast_\varepsilon(f)/(\sigma^2L^dJ_\varepsilon)\to(d+1)(d+2)/2^d$ as $\varepsilon\to0$ when $f$ is continuously differentiable near its maximizers and these are interior. For small $\varepsilon$, the condition $\mathrm{Lip}(f)<L$ can be replaced by a slope margin near the maximizers; with noise, in dimension one it can be dropped, with a small absolute constant, but not in higher dimension. An anytime tree search attains $\sigma^2[\log(1/\gamma)+O(\log\log(L/\varepsilon))]L^dJ_\varepsilon+L^d\int(\max f-f+\varepsilon)^{-d}$ up to constants, with high probability, and in expectation when run with parallel restarts.

arXiv:2612.00984v1cs.RO

Resource-Efficient Cloud-Assisted VLA Robot Manipulation Robust Against Communication Delay

Vision-Language-Action (VLA) models built on large vision-language models (VLMs) are difficult to run within the control period on a robot's onboard computer, and executing them on a remote server places the communication delay in the control loop and loads the server in proportion to the query rate. This paper proposes Cloud-assisted Robot Control (CRC), in which a VLM on a remote server cooperates with a small VLA on the robot under the constraint that the robot sends an observation only once per transmission period. The server returns a small number of latent tokens compressed from the internal representation of the VLM, and the small VLA takes them in place of the language instruction and generates actions from the latest observation; both models are trained end-to-end with simulated delays. On LIBERO-Long with emulated network delay, CRC achieved a 91\% success rate even when the robot queried the server only once per second, higher than synchronous remote execution of $\pi_{0.5}$ at about one quarter of its server occupancy.

arXiv:2612.00974v1cs.LG

NNbench: Benchmarking White-Box Interpretability Systems

White-box interpretability methods inspect and modify the internal activations of large language models (LLMs) to localize computations, monitor safety, and steer generation. Driven by strong community demand, several systems now bring such interpretability to production inference engines. However, our survey of 156 interpretability works (2017-2026) and 12 existing interpretability systems reveals a gap between today's system capabilities and workload requirements. To characterize this gap, we present NNbench, the first white-box interpretability benchmark to systematically capture the workloads identified in our survey through four primitive operations (readout, edit, gradient, and record) and four arrival patterns. We evaluate six interpretability systems using NNbench on models ranging from 4B to 72B parameters. Our evaluation yields three findings. (1) No evaluated serving system supports all workloads: engine optimizations discard backward gradients and attention matrices, restrictive interfaces limit access to model components and generation steps, and distributed sharding and engine state conventions can break or silently corrupt interventions. (2) Standard PyTorch is up to 3.7x faster than pre-registered serving (37x vs. per-request wrappers) on single-GPU offline batch jobs, whereas serving engines are 71-154x faster under concurrent online generation and 2.7-7.2x faster on single-request multi-GPU models (14B-72B). (3) Naive hooks slow serving by disrupting compiled GPU execution, reconstructing vocabulary logits on the CPU, and copying large outputs over IPC; registering hooks in advance and projecting or reducing hidden states on the GPU reduces latency by 1.6-3.3x in native APIs (and 19x when eliminating host logit reconstruction), approaching unmodified serving speed.

arXiv:2612.00967v1cs.AI

The Slippery Slope: Dose-Controlled Measurement of Reward-Gaming Behavior in a Small Language Model

How does the dose of corruption fine-tuning affect how often a language model misreports a fact supplied in its prompt? How does that dose affect what an activation probe can measure afterward? We study Gemma 2 2B IT as the dealer in a three-cup shell game. The dealer sees the location of the ball and names a cup in public. We train low-rank adapters on control, honesty, and corruption recipes and score a response as deceptive when its parsed claim disagrees with the hidden cup. In the MPS configuration, high-dose adapters misreported in nearly every round under both tested prompts, including one that offered no reward for deception. This left too few truthful transcripts to fit an in- family probe in 10 of 12 high-dose cells. A mixed, mid-dose recipe preserved both labels in all 18 evaluated stage-condition cells, including 12 corruption cells. Residual-stream probes then outscored a baseline that saw only the prompt in three cells. The training dose thus affected both the behavior and our ability to measure it. Interpreting a probe score required checking the available examples of each class and comparing the score with what the wording alone could predict.

arXiv:2612.00963v1cs.AI

SmartGridBench: MCP-Based Industrial Agent Benchmarking for Smart Grid Transformer Operations

Industrial LLM agents are increasingly evaluated as tool-using systems, but current benchmarks underrepresent maintenance workflows where decisions require coordinated reasoning across diverse operational interfaces. We present SmartGridBench, an AssetOpsBench extension for smart-grid power transformer operations. SmartGridBench pairs a license-clean synthetic transformer fleet with 36 validated transformer-maintenance scenarios and four tool domains: IoT telemetry, fault and maintenance standards, time-series forecasting, and work orders, exposed through both direct-call and Model Context Protocol (MCP) tool surfaces. The benchmark separates two often-confounded factors in industrial-agent evaluation: protocol transport overhead and orchestration strategy. In controlled A100 runs with Llama-3.1-8B-Instruct, we evaluate direct Agent-as-Tool, MCP Agent-as-Tool, optimized MCP transport, Plan-Execute, Verified Plan-Execute, Self-Ask, optimized-serving follow-ons, and mitigation ablations over repeated judged trials. The current evidence floor contains 2,420 judged trajectories across 37 row groups, including a 31-scenario core matrix and hosted-70B top-ups. The resulting matrix shows that MCP standardization adds measurable latency without a corresponding quality gain, that PE-family orchestration raises judged quality at higher latency, and that Self-Ask and optimized transport are not uniformly positive. A mitigation ladder over evidence guard, repair, and fault-risk adjudication makes failure accounting more auditable: repair is the narrowest positive intervention, while guard and adjudication often expose quality-completion trade-offs rather than improving pass rate. SmartGridBench contributes a reusable industrial benchmark resource and an auditable systems study of protocol and orchestration choices in tool-using agents.

arXiv:2612.00961v1cs.LG

FedNAP: Nuisance-Aware Federated Preference Learning for LLM Alignment

Federated preference learning aligns large language models with preference comparisons held by different clients. Response attributes such as length can correlate differently with preferences across clients. These comparisons stay local during federated selector training. Grouping clients by prediction loss can overlook these differences because similar losses can arise from reliance on different cues. FedNAP groups clients by attribute-preference associations and applies niche-specific regularization during local selector training via gradient reversal with frozen attribute heads. It aggregates updates within each niche and fuses calibrated elite-selector scores to label and weight pairs for direct preference optimization. Under reference-first Auto-J evaluation on TLDR, FedNAP has a higher strict win-rate point estimate than FedBis in all six selector-policy settings. With Qwen2-0.5B selectors and a Gemma-2B policy, FedNAP reaches 85.14%, compared with 82.63% for FedBis. On AlpacaEval, FedNAP has the highest point estimate in four of six settings, and all 18 paired intervals include zero. In a fixed-threshold TLDR replay, two-bit niche codes reproduce all 53 client assignments. Given other clients' descriptors and codes, a passive observer estimates the target's descriptors more accurately when it can see the target code.

arXiv:2612.00951v1cs.LG

If You Catch My Drift: Understanding Temporal Shift in Neural Risk Prediction

Longitudinal health records increasingly span changes in patient populations, clinical practice, measurement, and coding. This temporal drift can occur within the histories used for model training, so treating it only as a shift between training and test data misses an important source of heterogeneity. We use age, period, and cohort coordinates to condition three stages of continuous-time neural multi-state risk models: the representation of recorded events, interaction with prior history, and transition-intensity output. These routes encode different assumptions about whether temporal variation changes the meaning of recorded events, the relevance of prior history, or the current transition process. This distinction matters because similarly accurate models can imply different temporal patterns of clinical risk, so predictive performance alone cannot justify interpreting their fitted calendar effects. Across known-truth simulations and temporally ordered evaluations in HRS, SHARE, and the SAIL Databank, calendar conditioning can improve forecasting and calibration, with benefits varying by route and evaluation target, while simulations show that predictive accuracy and faithful temporal recovery need not favour the same model. Our results support treating calendar context as an explicit modelling choice, selecting its insertion point through temporally ordered validation, and assessing forecasting and temporal interpretation separately.

arXiv:2612.00944v1stat.ML

The Cost of Replicability in Stochastic Bandits

A bandit algorithm is $\rho$-replicable if two executions that share its random seed but observe independent rewards pull the same sequence of arms with probability at least $1-\rho$. Without replicability, instance-dependent regret is governed by $H_1=\sum_{i:\Delta_i>0}1/\Delta_i$, with no further dependence on the number of arms $K$; with replicability, the only known lower bound concerns two arms. We show that, in the worst case, replicability costs a factor of order $K$ beyond $H_1/\rho^2$, up to logarithmic factors. For sufficiently small $\rho$ and sufficiently long horizons, every $\rho$-replicable algorithm has an instance on which its regret is $\Omega(KH_1/(\rho^2\log K))$, and a joint elimination algorithm attains regret $\tilde{O}(\rho^{-2}\sum_{j=2}^K j/\Delta_{(j)})\le\tilde{O}(KH_1/\rho^2)$ on every instance, where $\Delta_{(2)}\le\dots\le\Delta_{(K)}$ are the sorted gaps; previous guarantees lose a factor of $K^2$. The lower bound builds on an anchored bound showing that replication costs add across arms: every $\rho$-replicable algorithm incurs regret $\Omega(\min\{H_1/\rho^2,T\Delta\})$ on some instance of a family whose gaps lie in $[\Delta,2\Delta]$, which also removes a logarithmic factor from the known two-arm bound. The algorithm also attains the minimax rate, up to logarithmic factors, on a family with a single isolated near-optimal arm.