PyTorchKR Papers

최신 논문

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

카테고리 탐색

로그인 후 이 카테고리 구독

arXiv:2612.00941v1cs.CL

From Enterprise Pipelines to Agent Context: Distilling Compact Models for Schema Lineage

Enterprise data pipelines encode operational knowledge in multilingual scripts, yet coding and data agents struggle to recover the long-range dependencies, transformations, and aggregations needed to interpret derived columns. We present a compact-model framework that converts production pipeline code into target-specific schema lineage for downstream agents. GPT-4.1 transforms expert annotations into reasoning traces and structured answers. Traces whose final answers score above 0.95 under the Schema Lineage Composite Evaluation (SLiCE) are used for supervised fine-tuning of Qwen2.5-Coder-7B, followed by group relative policy optimization with Graded SLiCE, a reward that retains hard validity constraints while providing component-level partial credit. The resulting 7B model reaches GPT-4o-level pipeline-macro SLiCE (0.5843 vs. 0.5764) under the same evaluator. Supplying its lineage to a text-to-SQL agent increases execution accuracy on lineage-dependent questions from 27.4% with matched metadata but no lineage to 75.0%. These results show that a compact, locally deployable task-specialized model can recover structured knowledge from enterprise code and make it useful to downstream agents. The project is available at https://github.com/YIWEI-CHEN/lineage-lm.

arXiv:2612.00939v1cs.LG

Mixture of Policies: Routing Generalist, Specialist, and Self-Improving Policies for BEHAVIOR-1K 2026

We describe our solution to the 2026 BEHAVIOR-1K challenge: 100 long-horizon household tasks on the R1Pro mobile manipulator in OmniGibson, half of them new this year. The solution is a per-task router over three kinds of policies. (i) A $\pi_{0.5}$ generalist trained on all 100 tasks in two stages (114k + 155k steps at batch 448) and driven stage by stage by a separately trained distributional value model that decides when a skill is done. (ii) Per-task specialists, fine-tuned from the generalist either with full parameters (51 tasks) or with LoRA (76 tasks); we compare both recipes with the LoRA setup of EXPO-FT. (iii) Physical recursive self-improvement (RSI), in which a coding agent (Claude Code) reads replay buffers and human observations, writes task-and-motion-planning wrappers around the frozen policy, runs the simulator and iterates, without any training. Per task we route to the best of these sources on the public instances. Stepping through the hybrid ladder, the success rate grows from 17.9\% (generalist only) to 22.8\% (+full SFT), 26.7\% (+LoRA) and, with RSI, to the final routed submission: 30.4\% success with a mean Q-score of 0.481. RSI alone lifts its 15 tasks from 11 to 81 successes out of 150.

arXiv:2612.00936v1cs.LG

New Product Forecasting in CPG & Retail

New products have no past, yet planners must commit stock before their first season. Our system routes every item by lifestage and gives it a credible history. Items with no sales borrow a frequency-aware 90-day history from lifestage cohorts (first 60 days, first 90 days, existing) matched on a relaxing dimension hierarchy and bounded by three robust guards. Items with less than a season of sales receive a synthetic year from ranked analogues, scored on hierarchy, price, cost band, level, shape and stability, and built as the item's own level x hierarchy-pooled seasonality x damped analogue trend. A cross-learning AutoML stack with neural learners, trained on real and synthetic history, emits distribution-free probabilistic forecasts; a temporal reinforcement-learning agent selects among them and a statistical (offset) forecast month by month under an analogue-informed seasonal guard. On a masked CPG and retail portfolio scored on realised demand, lifestage cohorts reconstruct launch-window sales with 0.17 WMAPE against 0.61 for cohorts of established items; analogue-seeded cross-learning cuts launch WMAPE by 9.6% against the statistical forecast and 10.0% against cold-start machine learning; and the agent cuts launch bias from +18.5% to +1.6%, raising the realised planning reward by 6.9% at a measured accuracy cost.

arXiv:2612.00931v1cs.LG

Oracle Heterogeneity Is Not Contextual Learnability: A Pre-Action Authorization Gate for Small-Data Clinical Policies

Before fitting a contextual policy one should ask whether the available pre-action information supports acting differently for different patients. The statistic naturally reached for is the row-wise oracle gap $\Delta_{\mathrm{row}}$: the value of a per-patient oracle minus that of the best single global action. It is a functional of the reward matrix alone and never reads the context, so by Jensen's inequality it is positive whenever rewards vary within a row -- and across nine controlled regimes it authorizes in every replication, including 200/200 where there is no contextual structure at all. It is therefore invalid as an authorization criterion. We replace it with the achieved value $\Delta_{\mathrm{learn}}$ of a declared policy fitted out-of-fold, bounded in absolute reward units against a margin declared before evaluation. That criterion authorizes 0/200 (exact 95% CI [0.000, 0.018]) under zero structure and pure noise, 0/100 under vanished structure, reversed structure and injected leakage, and 100/100 under strong linear and nonlinear structure. On a retrospective simulated information-reveal benchmark of 51,839 MIMIC-IV ICU stays, a provenance gate rejected 8 of 11 candidate context columns before any modelling and no declared contextual policy achieved a positive lower bound: the controller retained the global policy. There $\Delta_{\mathrm{row}}=+0.029$, indistinguishable from its covariance-preserving null of +0.029, where a naive independent-Gaussian null would have given +0.474. A frozen sequential extension likewise retained the best fixed budget-feasible schedule on the clinical benchmark and selected boosted fitted-Q over Dueling Double DQN on positive controls, showing that authorization can prevent unsupported escalation to deep reinforcement learning.

arXiv:2612.00918v1cs.LG

Sensitivity of Clinical Release Decisions to Scarce-Label Recalibration

A release controller decides whether a frozen clinical-AI prediction reaches the clinician or is held for review; recalibrated at a new hospital on a handful of local outcome labels, it inherits whatever is wrong with them. We ask how much one changed label can move release decisions, and whether the answer depends on how the local update is regularised. On a corrected, fully refitted renal medication-review controller evaluated at 36 eICU hospitals with 20-120 valid labels and 100 draws each, we show that for a fixed-slope intercept update the fitted map depends on the labels only through their sum, so the whole one-label family reduces to three event counts and its worst case is computed, not sampled. At 120 valid labels the mean worst-case changed fraction was 8.50% for the local fixed-slope update, 5.18% for source-centred MAP and 11.58% for the hierarchical update; the paired penalised-minus-local contrast is -0.033 ([-0.043, -0.023]), surviving the production support restriction and cross-hospital patient removal. A post hoc matched ablation holding the hierarchical arm's source slope fixed reduced its figure from 11.58% to 4.81%, a paired difference of -0.0677 ([-0.0850, -0.0504]). Lower sensitivity is not better deployment: the least sensitive arm adapts least and releases least. This is a finite-perturbation audit of one controller, not a robustness certificate or a safety guarantee.

arXiv:2612.00913v1cs.LG

Retail Merchandise Planning using Reinforcement Learning

Retail planning often treats demand forecasting, inventory, and pricing in silos, even though decisions in one function affect outcomes in the others. We present an integrated planning framework that connects these functions in a single decision system. Each function keeps its own model but exposes a small set of sanctioned, probabilistic actions. Neural network demand models and Operations Research simulations form a probabilistic world model of how planning choices may affect business outcomes. A Reinforcement Learning agent uses this model to evaluate interconnected decisions over time, accounting for uncertainty and cross-functional effects, for example, how a price change can shift demand and alter inventory requirements. Rather than optimizing each function in isolation, the agent selects actions against a shared north-star objective and operational constraints. On a live retail deployment, the agent outperforms siloed planning on every objective tested, raising fill rate, in-stock availability and margin, and its advantage persists when the world model is deliberately misspecified. The framework provides a path from probabilistic forecasts and simulations to coordinated planning decisions.

arXiv:2612.00912v1cs.CL

Detecting deletion, insertion, and substitution errors with lattice-based multiple tokenisation confidence estimation

In speech recognition, a recent framework for confidence estimation computes the probability of each word, when given the surrounding words. Unlike prior frameworks, this expresses a diversity of time alignments and implicit competing hypotheses, and is computationally stable. This paper proposes to extend this framework to predict the word error type, in addition to the confidence, thereby providing more informative feedback. The probabilities of deletion, insertion, and substitution errors can be computed efficiently from the same numerator lattice that is already used to compute the confidence. This paper also proposes to express the multiple ways that each word can be tokenised by the same tokeniser, which can accommodate for formatting variations in the text hypothesis. The multiple tokenisations are expressed as a compact lexicon graph. Experiments using a multilingual connectionist temporal classification model for confidence estimation show that the proposed extensions perform comparably against existing confusion network approaches, while improving computational stability.

arXiv:2612.00911v1cs.LG

Fairness Labels on Synthetic Tables: The Causal Graph Sets the Price of Parity

An organization that cannot share sensitive records can share a synthetic table instead, and recent causal generators let the publisher make this release fair by cutting edges of the graph the generator follows, as DECAF introduced for one GAN. The property travels with the table: every model trained on the release inherits the fairness, and the people those models decide about do too. But the publisher chooses the graph and declares which features are admissible once, for every downstream use, and nothing in the table records those choices or what accuracy the cut spent. How costly such a cut is, what sets its price, and what the fairness label on a table claims to a recipient who will never see the real records are therefore open, and matter to anyone who will be scored by a model trained on a release. We carry DECAF's cut to CTGAN, to a causal diffusion model and to the tabular foundation model TabPFN (the first causal fairness cuts for the latter two families), and to four differentially private marginal generators, three of which choose their own structure. We test all eight on 11 real datasets about people. To separate the graph's cost from the generator's, and the fairness a cut buys from the fairness lost accuracy alone would have bought, we introduce two checks that use only the publisher's real records: an oracle that prices a graph and an admissibility declaration before any generator runs, and a placebo that asks whether a release closes more gap than scrambling a growing share of its labels would. A mortgage case study ties these questions to who is approved for a loan, and the paper argues for a fairness label that carries the graph, the admissibility declaration and the matched-noise comparison.

arXiv:2612.00905v1cs.LG

pcpbench: A Benchmark for Per-Class Conformal Coverage under Distribution Shift

A classifier can include the correct label in 90% of its prediction sets while frequently leaving out one true class. Under distribution shift, these misses can matter even when overall coverage looks adequate. Yet the lowest observed class coverage also depends on the number of classes and the number of examples per class. We introduce pcpbench, a benchmark that compares six calibration methods across 82 shift conditions. It compares worst-class coverage with a matched reference for the same class count and per-class sample sizes and reports prediction-set size alongside coverage. Source-Mondrian calibrates a separate threshold for each class on source data and stays within the reference band across all 9 settings without shift. Applying these source thresholds to shifted CIFAR-100 data at 100 classes places its worst-class coverage below the band in 77 of 80 condition-backbone pairs. This comparison supports a loss of class-conditional coverage when source thresholds are transferred to shifted data. The score comparison further shows that higher coverage can come with prediction sets containing a large share of the labels. pcpbench evaluates these coverage gains alongside set size and target-label access to assess how much they help narrow down plausible labels.

arXiv:2612.00901v1cs.CL

Lost After the First Sentence: How Fine-Tuning Stores Facts

Fine-tuning a language model on a document stores each fact by where it sits in that document, not by what it says. Existing methods undo this within a sentence, which lifts the reversal curse there; across sentences, both the extraction curse and the reversal curse remain. Under demasking, the state of the art, a fact in a Wiki document's first sentence is recalled 97% of the time, a fact further in only 53%. Shuffling each document once in training moves recall with the facts: a fact moved to the front rises from 27% to 58%, one moved out of it falls from 95% to 60%. The later facts are not lost: shown the sentences before them, even shuffled, the model recalls 96% of them. A reversed question fails for the same reason: it starts from a later fact and asks for the name in the first sentence. Anywhere takes fixed positions away: every epoch shows each document in a new sentence order, half the samples mask whole sentences, and some show only the subject, the cue a question gives; replaying a few of the base model's own maths solutions protects its general ability. No text about the documents is generated. On four models from 3B to 8B it outscores demasking in 15 of 16 question directions, 14 significantly, and beats the numbers demasking's authors report in 14 of 16, with GSM8K and IFEval never more than 4 points below demasking. With no document in context, it answers 90-92% of reversed Biography questions on 7B and 8B models, and 94-96% on 3B and 4B models with LLM paraphrases.

arXiv:2612.00900v1cs.LG

A Learnable Interpolant Flow Sampling Method for Physics-Informed Neural Networks

The accuracy of physics-informed neural networks (PINNs) is sensitive to sampling measures of collocation points, especially for high-dimensional problems and solutions with complex local structures. To improve the sampling efficiency under a fixed budget, we propose a Learnable Interpolant Flow Sampling (LIFS) framework, which formulates collocation updates as continuous transport from the current collocation distribution to a residual-induced target distribution. The method introduces an endpoint-preserving learnable interpolation path and alternately optimizes the path and velocity networks through a max--min objective. The learned velocity field then moves the existing collocation points to update the training set. This approach eliminates the need to compute Jacobian matrices or explicitly calculate probability densities, significantly reducing training costs compared with other sampling methods based on generative models. For continuous transport toward a fixed residual target, our analysis links velocity fitting error, distributional discrepancy, and perturbations in the next-stage training objective. Experiments on parametric optimal control, lid-driven cavity flow, a ten-dimensional nonlinear elliptic equation, the viscous Burgers equation, and a two-dimensional Allen--Cahn problem show that LIFS improves accuracy under a fixed collocation budget, with computational times comparable to those of several baseline methods. Additional experiments demonstrate effective matching to its stage-specific residual targets and a degree of robustness within reasonable hyperparameter ranges. Ablation experiments show that learnable paths achieve lower solution errors and velocity field energies than fixed paths.

arXiv:2612.00890v1cs.LG

TimeCanary: Randomized Training Data Attribution for Time Series Foundation Models

Time series foundation models reuse large data collections, making the provenance of their forecasting ability increasingly difficult to assess. For data owners, accurate forecasts alone provide little evidence that a model learned from their released series. We introduce TimeCanary, a framework that randomly assigns secret marks before data release and tests whether training produces a preference for the assigned marks. A paired training design removes additive differences in mark difficulty shared across models, while diagnostic checks distinguish an attribution result from an unexplained score advantage. Controlled continued-pretraining experiments demonstrate key-specific attribution across forecasting architectures and reveal its dependence on training exposure, reference matching, and forecasting cost. These findings make training-data provenance experimentally testable alongside forecasting performance.

arXiv:2612.00882v1cs.LG

Blind Equalization for Underwater Acoustic Channels Using Bernoulli Sparse Variational Autoencoders

Blind equalization for underwater acoustic (UWA) communications remains challenging in highly dispersive and low signal-to-noise ratio (SNR) channels. Motivated by the success of variational autoencoder (VAE) blind equalization in wireless communications, we propose a VAE equalizer tailored for UWA communications. It makes use of the sparse property of UWA channels by introducing Bernoulli-distributed channel-support variables into the physical generative model, and is named the Bernoulli sparse variational autoencoder (BS-VAE) equalizer. An analytically tractable evidence lower bound (ELBO) with a closed-form sparsity regularization term, is derived. It was employed to drive the training of the equalizer. Pool experimental results showed the proposed BS-VAE equalizer consistently outperforms conventional constant modulus algorithm (CMA) and existing VAE blind equalizers.

arXiv:2612.00881v1cs.DS

Language Generation Beyond Adversarial Examples

Kleinberg and Mullainathan recently introduced the framework of language generation in the limit, initiating the theoretical study of how an algorithm can learn to generate valid strings from an unknown language based only on observed examples. Existing work has focused on the worst-case setting, where example strings are presented to the algorithm by an adversary. In contrast, one expects that in many real environments, examples are generated in a neutral, or even helpful environment for the generator. Motivated by this, we introduce two new models of language generation that capture non-adversarial environments: active generation, where the examples are presented in best-case order to the generator, and neutral generation, where the order is fixed and independent of the target language. Our main contributions are two-fold: We give a full inclusion-hierarchy of language generation in the three models: active, neutral, and adversarial. We show that while adversarial generation is unaffected by whether the generator is allowed to repeat strings, this is a key distinguishing factor in the case of active and neutral generation. In fact, with repetition allowed, we show that every language collection can be actively generated. To obtain a finer-grained understanding of these generation models, we define the complexity of generation as the number of examples required before a generator can correctly generate from the target language. Using this complexity measure, we leverage Ramsey theory to obtain strict hierarchies for both active and neutral generation, also showing how these hierarchies are affected by string repetition in the output. Our results demonstrate that the order in which examples are presented fundamentally influences the power of language generation, which draws parallels to a long line of work in inductive inference on the role of data presentation in learning.

arXiv:2612.00865v1cs.CV

ManyBody: Towards Physics in Body-Aware Text-to-Motion Generation

Text-to-motion models generate plausible movement, but for no one in particular: their output is a generic skeleton, with no mass and no contact with the ground. Three gaps stand in the way of physically meaningful generation: there are no data in which the same motions are performed by different bodies, no validated metrics to tell whether a motion fits its body, and no baselines for generating motion and forces from text. We address all three. ManyBody is a factorial dataset in which 50 musculoskeletal avatars perform the same 972 captioned motions in a physics simulator, driven by their own muscles. Its design gives a direct test of evaluation metrics: semantic metrics do not react when a motion is placed on the wrong body, while the physical metrics we propose respond in proportion to the error. Benchmarking four state-of-the-art models shows that, given the body, they learn its height and the size of its forces, but not how the feet meet the ground. Our reference model, PoseForce, closes most of this gap by retraining only the decoder with physical losses. The dataset and the code will be released.

arXiv:2612.00839v1quant-ph

Quantum-Enhanced RainNet: A Hybrid Quantum-Classical Framework for Pixel-Level Segmentation of Hourly Heavy-Rainfall Events

Accurate nowcasting of heavy rainfall remains difficult because convective extremes evolve abruptly, are highly non-stationary, and occupy only a small fraction of radar pixels. Existing deep learning models frequently generate over-smoothed predictions and excessive false alarms, especially at high rainfall thresholds. We propose Quantum Enhanced RainNet (QERainNet), a hybrid quantum-classical framework for pixel-level segmentation of hourly heavy rainfall events from radar sequences. Built on an EfficientNet-B4 encoder and a RainNet-style decoder, the framework introduces parameterized quantum circuits as lightweight feature-modulation operators. A quantum squeeze-and-excitation (QuantumSE) module is inserted into the encoder to recalibrate channel responses and strengthen convective-core-sensitive features, while a quantum bridge (QuantumBridge) module is placed at the bottleneck to enhance the separability of rare heavy rainfall patterns in high-level semantic space. Experiments on reprocessed radar precipitation data from the German Weather Service show that the proposed framework outperforms recurrent and transformer-based baselines across all evaluated thresholds. At the most challenging 1-hour accumulation threshold of 20 mm, QERainNet improves the Critical Success Index from 0.0567 to 0.0922 and reduces the False Alarm Ratio from 0.9368 to 0.8863 relative to Earthformer, indicating a better detection--false-alarm trade-off. Ablation results show that the two quantum modules play complementary roles in suppressing background-induced false alarms and enhancing event-sensitive semantics. End-to-end inference on the Tianyan-176 superconducting quantum computer system provides preliminary evidence that the proposed modulation mechanism can be executed on noisy intermediate-scale quantum hardware with nearly the same verification performance as in simulation.

arXiv:2612.00834v1cs.IR

Scenario- and Value-Aware Model Scaling for Ad Ranking on Heterogeneous Traffic

Scaling up dense parameters has become an effective way to improve industrial ranking models. In advertising, however, a single ranking model often serves highly heterogeneous traffic: in Tencent's advertising system, over ten thousand ad slots span diverse platforms, scenarios, and media, and the top 20% of requests account for over 80% of revenue. Under such traffic, uniform scaling is both costly, because inference cost grows across all requests while incremental revenue concentrates in a few slots, and less effective, because weakly represented scenario signals are diluted as the model grows. We propose Moira, a framework that co-designs model expressiveness and inference-resource allocation. Its Multi-Scenario Mixer (MoMixer) injects scenario information at tokenization and into every block through scenario-aware gating and token prefixes, and sparsifies token mixing to keep sparse scenario features from being dominated. Moira jointly trains a full and a lite branch over a shared embedding table and routes each request by the commercial value of its ad slot, reserving the full branch's capacity for high-value requests while serving low-value traffic at low cost. Offline, MoMixer outperforms RankMixer and RankUp at comparable parameters and floating-point operations (FLOPs) and yields token representations of higher effective rank. Online, Moira scales the ranking model to 16.7 times the parameters of the production baseline while increasing total serving resources by only 11.7%, and a 12-day A/B test shows a 1.96% gain in overall gross merchandise value (GMV). Moira is now fully deployed in production.

arXiv:2612.00829v1cs.LG

CLUE: Correlated Latent Uncertainty for Single-Pass Deep Uncertainty Estimation

We present Correlated Latent Uncertainty Estimation (CLUE), a single-pass deep uncertainty quantification framework that combines efficient amortized neural prediction with Bayesian-style information propagation across inputs. CLUE introduces a kernel-based prior, allowing cross-input dependence over latent variables while preserving test-time inference efficiency. CLUE requires neither posterior sampling nor ensembles, and avoids matrix inversion during inference, yet recovers posterior contraction behavior analogous to conventional Bayesian models. In the white-noise limit of the kernel, CLUE reduces to standard evidential deep learning~(EDL). This limiting case reveals standard EDL as amortized variational inference with an independent latent structure, providing a probabilistic explanation for several pathologies of EDL identified in prior work. Empirically, CLUE exhibits consistent Bayesian-like uncertainty contraction and improved uncertainty quality across synthetic and real-world benchmarks, while maintaining competitive predictive accuracy and fast single-pass inference.

arXiv:2612.00821v1cs.LG

QDMAC: Query-Distribution Mask-Aligned Context for TabPFN

Tabular foundation models accept missing values, but their labeled context may remain fully observed when deployment batches have unavailable feature panels. We introduce the Query-Distribution Mask-Aligned Context (QDMAC), a training-free tabular prior-data-fitted network (TabPFN) transformation that aligns context masks with an unlabeled query batch. QDMAC uses query masks but never query values or labels, assigns masks within label strata to avoid label shortcuts, and requires one TabPFN call. Under heterogeneous panel dropout, QDMAC reduced log loss relative to native TabPFN on seven of eight datasets in a frozen confirmatory study (median gain 0.0491 nats; two-sided exact Wilcoxon p = 0.0234). A separately frozen independent-dataset replication study reproduced the result on 15 datasets from OpenML Curated Classification 2018 (OpenML-CC18): 12 of 15 gains were positive (median 0.0308 nats; p = 0.0103). A supporting claim that QDMAC recovered more than half of the improvement from a multi-call mask-matched comparator was not supported. Exploratorily, QDMAC outperformed median/mode, nearest-neighbour, and chained-equations imputation, and random context masking captured only part of its gain. A post-hoc analysis showed that panel construction depends on the arbitrary integer coding of multi-level nominal features, and the replication test loses significance on the subset of datasets free of them. Matching context missingness to the query-mask distribution can improve TabPFN probabilistic predictions under the tested regime without model training or query content access. The evidence does not establish universal robustness, superiority to tuned conventional learners, or benefits when query masks are unavailable.

arXiv:2612.00816v1cs.LG

AdaDual: Adaptive Dual Guidance for Constrained Discrete Diffusion

Constrained discrete diffusion aims to sample from a pretrained model conditioned on a user-specified feasible set while preserving generative quality. Classifier-based guidance (CBG) is computationally lightweight, but its globally fixed guidance strength offers limited control over constraint satisfaction. Constrained Discrete Diffusion (CDD) provides more direct control through costly optimization over token probabilities at every reverse step. We introduce Adaptive Dual Guidance (AdaDual), inspired by a local theoretical analysis showing that the CBG strength best approximating the exact conditional transition can vary across states and diffusion steps. AdaDual formulates guidance as a minimum-KL perturbation of the pretrained transition under an interpretable constraint-cost budget, using scalar dual optimization to adapt the guidance strength. We establish a terminal total-variation guarantee for AdaDual. Our analysis highlights the advantage of AdaDual over standard CBG with a fixed guidance strength and establishes geometric convergence of the inner solver up to a controllable stochastic error floor, supporting AdaDual's computational efficiency. Our experiments demonstrate substantially better constraint satisfaction than standard CBG, often at comparable computational cost, and comparable or better overall performance than CDD with substantially lower computational overhead.