arXiv ScienceSearch

arXiv · 2609.20294

A Hierarchical Bayesian Model for Selecting Relevant Schema Subgraphs,with an Application to Grounding Large Language Models

Abstract

Grounding a large language model on a relational database requires selecting the tables and joins relevant to a query. Existing schema-linking methods usually score tables or columns independently, although the target object is typically a connected subgraph of the foreign-key graph. We propose a hierarchical Bayesian model for schema linking as structured subset selection on small attributed graphs. Unary evidence from query-table and query-column features is combined with a pairwise autologistic coupling on foreign-key edges, allowing weakly-signalled tables to be selected when they connect other relevant tables. Database-level random effects model variation in the baseline inclusion rate and coupling strength, and the small size of the schema graphs permits exact evaluation of the conditional likelihood and inclusion probabilities, which we average over a Laplace approximation to the parameter posterior. On the benchmark datasets BIRD and Spider, positive graph coupling recovers tables missed by independent scoring but shifts the marginal inclusion probabilities upward. Jointly estimating the intercept and coupling restores calibration, and database-level partial pooling adapts the structural effect across schemas. The graph-coupled posterior assigns more probability to the exact relevant subgraph and produces informative predictive sets with near-nominal coverage, whereas predictive sets from the corresponding independent model undercover. The fitted model also reports a posterior over how strongly to weight the graph in each database. Stability and mean-shift results explain when coupling aids recovery and why the intercept must compensate for it. We therefore evaluate the method primarily as a posterior predictive distribution over table subsets rather than as a precision-maximizing selector.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Robert Richardson. 2026-07-29. A Hierarchical Bayesian Model for Selecting Relevant Schema Subgraphs,with an Application to Grounding Large Language Models. https://arxiv.org/abs/2609.20294

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Online activity prediction via generalized Indian buffet process models

Online A/B tests are the standard tool for data-driven decision-making at scale. Among the design choices with the largest impact on statistical power is the triggering mechanism: how many users to expose and for how long. This often requires forecasting user engagement, i.e., whether enough users will trigger, and when a target participation level will be reached, from limited pilot data. We introduce a Bayesian nonparametric model for predicting both new-user counts and total triggers, accommodating the heavy-tailed engagement patterns typical of web experiments. All predictive quantities can be computed without intensive numerical procedures such as Markov chain Monte Carlo (MCMC) or variational inference. We evaluate on three public datasets (over 450 public benchmark evaluations) and a proprietary benchmark drawn from 759 production A/B tests comprising 1,774 arms. Across the benchmark analyses, our models are competitive and frequently improve accuracy in forecasting new users, total triggers, and time to reach a target sample size compared with state-of-the-art competitors, especially when only a few pilot days are observed.

stat.AP

Spending Scarce Confirmatory PET Measurements: Target-Aligned Validation in A4/LEARN

Anti-amyloid therapies and blood-based biomarkers are changing Alzheimer disease workups into a two-stage measurement workflow: screen broadly with cheaper information, then spend scarce confirmatory amyloid measurements where they support the decision that will be reported. Amyloid positron-emission tomography (PET) remains one such protocol measurement for amyloid burden, but PET slots, trial budgets, and payer-facing evidence packages are finite. This paper asks a deliberately operational question: when is simple transparent PET validation enough, and when is a fitted residual-uncertainty score worth the added complexity? For a weighted protocol target, the first-order value of validating subject i is the product of target influence and residual protocol uncertainty. Generic uncertainty sampling uses only the second factor and can spend PET measurements on subjects that are hard to predict but weak for the scientific, clinical, or commercial claim. We apply this rule to the A4/LEARN PET archive, treating observed PET as a design laboratory for scarce-confirmation studies. For the primary APOE4 carrier versus non-carrier contrast in Centiloid 24-or-higher PET positivity, simple APOE4-balanced validation recovers nearly all of the target-specific gain: at PET budget 200, the confidence-interval width ratio relative to random validation is 0.923 for APOE4 balancing and 0.914 for target-specific scoring, while generic uncertainty sampling is 0.980. Other targets behave differently: target-specific scoring gives larger gains for an age-slope analysis and for cutoff-indexed PET positivity. The practical message is simple: spend scarce protocol measurements according to the claim being validated, not only according to prediction uncertainty.

stat.AP

Identifying Damage Pathways Linking Sequence Composition to Storage Failure in DNA Data Storage via High-Dimensional Mediation Analysis

DNA data storage offers extraordinary information density and long-term durability, but its reliability is limited by sequence-dependent errors introduced during synthesis and accumulated during storage. It remains unclear how sequence composition is associated with storage failure through specific molecular damage components. We develop a high-dimensional semiparametric mediation framework for survival outcomes. GC content is treated as the exposure, a high-dimensional baseline damage spectrum (a vector of per-read damage counts stratified by trinucleotide context and error type) as the mediator, and storage-quality failure as the outcome. Nonlinear covariate effects in both the mediator and survival models are approximated using deep neural networks. A three-step procedure combining product-of-coefficients screening, Smoothly Clipped Absolute Deviation (SCAD) penalized estimation, and joint significance testing is developed for mediator selection and inference. Applied to an aging experiment on electrochemically synthesized DNA, the method identifies 14 significant mediators, all corresponding to single-base deletions, with estimated mediated effects concentrated in trinucleotide contexts ending in C. These results reveal deletion-type damage as a major pathway linking sequence composition to reduced archival reliability and suggest candidate sequence features for future optimization and error-control strategies. The proposed framework thus offers a mechanism-oriented statistical approach for understanding and improving the reliability of DNA data storage.

stat.AP