copula
Copula: Sound Sharing of Stochastic Nodes Across Runs of Agentic Systems
Sun, Bowen, Zheng, Haizhong, Chen, Beidi, Xiao, Chaowei
Agentic systems chain model and non-model calls, and are rerun after edits, as replicates and comparisons, concurrently and after crashes. We model a run as a DAG whose nodes are these calls. Because runs repeat, nodes meet the same inputs again, and caching could save their tokens, compute and time. But many nodes are random, and storing one output per input turns repeated calls into copies, while voting and replicates need them independent. Recent LLM caches therefore number repeated calls: the k-th identical call within a run reads the k-th stored sample, drawn only if missing. Repeated calls stay independent, but a replicate meant to be averaged rereads earlier runs' samples instead of drawing fresh ones. They also number only model calls, so a random non-model call upstream changes every downstream request, and costly ones, such as code execution, web APIs and simulators, rerun. Key observation: sharing a node's sample never changes the distribution any one run sees, only the correlation between runs. Whether runs share is thus an experimental-design choice set by how outputs are used: sharing is a pure saving for a run whose output is not combined with other runs', usually lowers the variance of the difference between compared runs, such as an edit and its base, and raises the variance of the mean of replicates. Based on this principle, Copula supports making full use of the cache to reduce computations and allowing the variance of nodes to adapt to the purpose of their running results. Replicated A/B tests reach the precision of independent runs at 0.51-0.59 of the CPU and tokens; prompt optimizers keep held-out quality equivalent at 0.42-0.69 of the task model's GPU cost. Synthetic-data pipeline edits cost 0.39-0.49 of a full rerun's tokens and return 2.8 times sooner; a code-repair agent's edits cost 0.34 of the tokens and 0.39 of the sandbox CPU; no quality loss is significant.
Amortized Vine Copulas for High-Dimensional Density and Information Estimation
Modeling high-dimensional dependencies while keeping likelihoods tractable re- mains challenging. Classical vine copulas provide an explicit dependence structure but require repeated, costly bivariate fitting. We propose Vine Denoising Copula (VDC)1, an amortized estimator for simplified vines on continuous data. VDC trains a single bivariate denoising network on simulated copulas and reuses it across all vine edges. For each edge, the network maps an empirical histogram to a density grid, and iterative proportional fitting approximately enforces uniform grid marginals. The predicted densities and cached conditional transforms support stan- dard vine recursion, likelihood evaluation, sampling, and information estimation. This retains the classical vine factorization while replacing repeated per-edge fitting with reusable neural inference. Across synthetic and real-data benchmarks, VDC combines accurate bivariate density estimation, competitive information estimates, and faster high-dimensional vine fitting after pretraining. Performance varies across datasets; finite grid resolution and conditional prediction remain limitations. The explicit fitted structure supports edge- and tree-level information decomposition, making repeated dependence analysis more practical.
Martingale Posterior Cox Processes
Rooijakkers, Joshua, Fong, Edwin
Poisson processes are a fundamental tool for modeling event-based data across a wide range of fields, including medicine, economics, engineering and biology. A central objective in these applications is to estimate the potentially inhomogeneous intensity function governing the occurrence of events. When the intensity function is itself unknown, it is commonly modeled as a stochastic process and inferred using nonparametric Bayesian methods, giving rise to Cox processes (Cox, 1955). Their flexibility has made Cox processes a standard modeling framework in applications ranging from epidemiology (Beneหs et al., 2003) and forestry (Heikkinen and Arjas, 1999) to finance (Basu and Dassios, 2002) and neuroscience (Cunningham et al., 2007). Despite their widespread use, scalable and accurate inference for Cox process intensity estimation remains challenging. Existing approaches typically use a Gaussian process (GP) prior with a positive link function or rely on Dirichlet process mixture models (DPMMs). These methods require either computationally expensive Markov chain Monte Carlo (MCMC) sampling (Mรธller et al., 1998; Adams et al., 2009; Kottas and Sans o, 2007) or approximate inference (Gunter et al., 2014; Lloyd et al., 2015). Additionally, their prior structures are difficult to interpret: they are defined either in a latent space transformed by a nonlinear link function (for GPs) or via infinite-dimensional mixtures (for DPMMs), primarily introduced for computational convenience.
Probable but Not Valid: A Psychometric Audit of Decision Models as Synthetic Survey Respondents
Lukauskas, Mantas, ล arkauskaitฤ, Viktorija
Language models are increasingly used to create synthetic survey samples, also called silicon samples. Decision models are a new class of language models that return a probability for each point of a rating scale instead of text. We ask whether these models, or the newest generative LLMs, can stand in for human respondents on a psychometric survey. We test fourteen decision models from eleven providers and 47 generative LLMs on an open Lithuanian organisational-psychology survey (n=263, 68 items), with 100 real respondent profiles, the Psychometric Similarity Score (PSS) and statistical baselines. The best generative model, MiniMax M3, reaches PSS 0.813. This is level with a Gaussian copula fit only on other respondents (0.824) and below a copula fit in sample (0.927). A second sample of 100 real people scores below the best models, so at this size PSS cannot rank them against real respondents. In 5 of 10 product lines the newest generative release scores below an earlier release of the same line beyond resampling noise, and none gains beyond it. With the default rounded readout, 13 of 14 decision models score below the generative reference gpt-5.4-mini. Of the 47 generative models, 33 reproduce the pattern of item correlations better than any decision model. Averaged over respondents, the probability vectors are much closer to the human item marginals than rounded answers. They also rank respondents about as well as a profile regression fit on 163 real people. As forecasts of each person's own answers, however, every decision model is worse than the answer frequencies of other respondents, mainly because its average vector differs from them. The profile regression improves on these frequencies by only 1.0%, so the profile fields say little about how a person answers. Synthetic respondents built on such profiles should therefore aim at sample-level fidelity.
Gaussian Mixture Copula Processes for Irregular Time Series
Klรถtergens, Christian, Hanika, Tom, Schmidt-Thieme, Lars, Yalavarthi, Vijaya Krishna
We introduce Gaussian Mixture Copula Processes (GMCP), a conditional copula process for irregularly sampled multivariate time series (IMTS) that is expressive and marginalization consistent at the same time. Existing conditional copula processes achieve only one of the two. Gaussian copula processes are consistent by construction but confined to elliptical dependence, whereas attentional copulas such as TACTiS-2 are far more expressive but neither preserve the marginals they are built on nor guarantee that integrating out a target point returns the joint over the remaining ones. GMCP closes this gap by inferring the parameters of a Gaussian Mixture Copula from the context in a way that guarantees consistent marginalization. This yields a non-elliptical copula process with tractable likelihood and consistency guarantees. Our experiments show that copulas equipped with MargFlow, a normalizing-flow model for the univariate marginals fitted in isolation, outperform jointly trained baselines in probabilistic IMTS forecasting. We further provide evidence that GMCP is more expressive than Gaussian copula processes, and on par with the inconsistent TACTiS-2.
Bayesian model selection of vine copulas: a loss-based perspective
Barone, Rosario, Valle, Luciana Dalla, Leisen, Fabrizio, Villa, Cristiano
The growing popularity of vine copulas in multivariate statistical analysis is largely driven by their ability to capture complex dependence structures. However, this flexibility comes at a cost, as the number of possible vine models grows rapidly and becomes intractable even in moderately low-dimensional settings. These limitations affect the practical applicability of current Bayesian inference and model selection approaches, effectively restricting it to problems of relatively small-dimension due to their high computational cost. This paper addresses the still open challenge of efficient model selection and estimation in Bayesian vine methodology. We propose a novel framework for Bayesian vine copula model selection that combines loss-based model priors with the shotgun stochastic search strategy. The strength of the proposed approach is twofold: it promotes sparsity and enables fast and effective structure selection. Furthermore, our comprehensive framework jointly identifies the vine structure, selects the copula families, and estimates the model parameters. The power of the proposed approach is demonstrated via simulation studies and an application to a real dataset of EFT portfolio asset returns.
Neural Mutual Information Estimation with Vector Copulas
Estimating mutual information (MI) is a fundamental task in data science and machine learning. Existing estimators mainly rely on either highly flexible models (e.g., neural networks), which require large amounts of data, or overly simplified models (e.g., Gaussian copula), which fail to capture complex distributions. Drawing upon recent vector copula theory, we propose a principled interpolation between these two extremes to achieve a better trade-off between complexity and capacity. Experiments on state-of-the-art synthetic benchmarks and real-world data with diverse modalities demonstrate the advantages of the proposed estimator.
Calibrating simplified vine copulas with a noise contrastive estimation approach
Kraus, Michael Denis, Huk, David, Czado, Claudia
Vine copulas provide a flexible framework for modeling complex multivariate dependence structures using only bivariate building blocks. Their practical success relies heavily on the simplifying assumption, which restricts conditional pair copulas to be independent of the specific conditioning values. While this assumption greatly facilitates estimation, it may lead to model misspecification in applications with pronounced varying conditional dependence. We propose a novel calibration strategy for simplified vine copula models based on observation-specific correction factors. These factors are derived using noise contrastive estimation (NCE), a supervised learning technique for density estimation that reframes the problem as a binary classification task with an easily sampled noise distribution. Treating the fitted simplified vine copula as the noise model, the NCE approach yields corrected log-likelihood estimates for individual observations, thereby locally adjusting the simplified vine toward the underlying data-generating dependence structure. Simulation studies demonstrate that the proposed calibration provides sensible and effective adjustments, improving model accuracy when the simplifying assumption is violated while remaining neutral when the simplified model is adequate. Two real-data applications further illustrate the practical benefits of the method. The results highlight NCE-based calibration as a promising tool to enhance simplified vine copula models without abandoning their computational tractability.
Probabilistic Multivariate Time Series Forecasting with Diffusion Copulas
Huk, David, Wang, Dongshan, Bresar, Miha
Accurately assessing financial risk requires capturing both individual asset volatility and the complex, asymmetric dependence structures that emerge during extreme market events. While modern diffusion-based models have advanced multivariate forecasting, they often suffer from a "normality bias" when trained end-to-end, sacrificing marginal calibration for joint coherence and consistently underestimating tail risk. To address this, we propose a Diffusion-Copula framework that explicitly decouples the learning of marginal distributions from their dependence structure. We employ deep Mixture Density Networks to capture heavy-tailed asset dynamics, followed by a Classification-Diffusion Copula to model the joint dependence. Applied to cryptocurrency markets, our approach demonstrates superior performance over state-of-the-art baselines in forecasting systemic extremes of both marginal and joint events. Crucially, we demonstrate that while baseline models classify simultaneous market crashes as statistically impossible "Black Swans" (high surprise), our framework identifies them as "Expected Crashes" (low surprise), successfully preserving the correlation structure necessary for robust risk management during contagion events.
CAWI: Copula-Aligned Weight Initialization for Randomized Neural Networks
Akhtar, Mushir, Tanveer, M., Arshad, Mohd.
Randomized neural networks (RdNNs) enable efficient, backpropagation-free training by freezing randomly initialized input-to-hidden weights, which permits a closed-form solution for the output layer. However, conventional random initialization is blind to inter-feature dependence, ignoring correlations, asymmetries, and tail dependence in the data, which degrades conditioning and predictive performance. To the best of our knowledge, this limitation remains unaddressed in the RdNN literature. To close this gap, we propose CAWI (Copula-Aligned Weight Initialization), a framework that draws input-to-hidden weights from a data-fitted copula that matches empirical dependence, ensuring the frozen projections respect inter-feature dependence without sacrificing the closed-form solution. CAWI (i) maps each feature to the unit interval using empirical CDFs, (ii) fits a multivariate copula that captures rank-based dependence among features, and (iii) samples each weight column w_j from the fitted copula and applies a fixed inverse marginal transform to set scale. The objective, solver, and "freeze-once" paradigm remain unchanged; only the sampling law for W becomes dependence-aware. For dependence modeling, we consider two copula families: elliptical (Gaussian, t) and Archimedean (Clayton, Frank, Gumbel). This enables CAWI to handle diverse dependence, including tail dependence. We evaluate CAWI across 83 diverse classification benchmarks (binary and multiclass) and two biomedical datasets, BreaKHis and the Schizophrenia dataset, using standard shallow and deep RdNN architectures. CAWI consistently delivers significant improvements in predictive performance over conventional random initialization. Code is available at: https://github.com/mtanveer1/CAWI