TodayNewsResearchFieldsDev toolsMarketAnalytics
⌘K

Research

New papers ranked by attention, with their code, models and discussion linked. Pick a field on the left.

Field

Papers

Open problems

Rising research topics

  • Agents & indirect prompt injection302+1.0 pts
  • Multimodal1057+0.9 pts
  • Frontier LLMs474+0.8 pts
  • Code models139+0.5 pts
  • Quantum machine learning38+0.3 pts
  • Forecasting time151+0.2 pts
  • Algorithmic trading25+0.2 pts
  • Channel state information21+0.2 pts

Ask the research

Sample
ByteTrail · AI and developer-tools intelligence
NewsResearchDev toolsFor AI agentsAPI
WeekMonthQuarterAll
NewestMost relevant

Papers

Fields · this week
All fields6190Multimodal892Computer vision734Training & fine-tuning493Agents453Frontier LLMs395Image & video generation386Evals376Robotics320Inference & serving268Recursive self improvement263Agents & indirect prompt injection256Neural operators221Clinical reasoning194Small LLMs133Forecasting time128All 32 fields

Papers

  • arXiv cs.CLDatabasesDec 3

    SQLConsensus: Confidence Estimation in Text-to-SQL from Structural and Execution Agreement

    Jaeyun Park, Yongbin Choi, Donghee Choi, Mujeen Sung

    While large language models (LLMs) translate natural language questions into Structured Query Language (SQL) with strong accuracy, an incorrect query often executes without error and returns results that users cannot distinguish from correct ones. Reliable deployment thus requires flagging uncertain outputs for review. We address confidence estimation for Text-to-SQL, the task of assigning each generated query a score that reflects how likely it is to answer the question. Existing estimators derive the score from agreement among generated queries but measure it on a single side, either the recurrence of their clauses or their execution results. Clauses that recur in queries returning different results can still raise confidence in an incorrect prediction, and identical results on one database do not show that two queries reach them in the same way. To overcome these limitations, we propose SQLConsensus, which estimates the confidence from both structure and execution, comparing the clause forms of the generated queries only among those that return the result of the prediction. Across four LLMs on two general-domain benchmarks and one clinical-domain benchmark with two databases,…

    AICode models56PDF
  • arXiv cs.DBDatabasesDec 3

    Extending GPU Databases with Semantic Queries over Multimodal Data

    Rathijit Sen, Matteo Interlandi

    Data analysts increasingly want to run SQL over unstructured, multimodal data (text, images, audio) with AI operators that filter, classify, extract, score, and join rows using large language models. GPU databases accelerate relational queries by running scans, joins, and aggregations on the GPU. Although there is a natural synergy between the two, surprisingly, these capabilities remain separate: semantic query engines run the relational layer on CPUs, while GPU databases lack first-class support for semantic operators. We present GSQ, the first engine to address this gap. GSQ runs the relational operators of a semantic query on the GPU together with its AI operators in-process on the same GPU with cheaper, task-specialized, non-generative proxy models wherever possible. Across text, image, and audio workloads, GSQ runs semantic queries up to two orders of magnitude faster than served multimodal LLMs (MLLMs). GSQ broadens the applicability of GPU databases to GPU-native execution of semantic queries.

    AI61PDF
  • arXiv cs.DBCode modelsDec 2

    VeriMig: A Verification-Gated LLM Framework for Sybase ASE to SQL Server Migration

    Prasad Manda, Sharath Chandra Kampili, Pramod Begur Nagaraj

    Large language models (LLMs) can translate SAP Adaptive Server Enterprise (ASE) Transact-SQL to Microsoft SQL Server, but a translation that compiles may still behave differently. We present VeriMig, a framework that checks each translation with four gates: deployment, a lint for remaining ASE constructs, differential execution against a reviewed reference translation, and data reconciliation. Only the first two gates give feedback to the model's repair loop, so the references never shape the translations they score. We contribute a taxonomy of 15 categories of dialect differences, a corpus of 46 development cases and 6 held-out procedures, and an evaluation of 5 locally hosted code models. Without an ASE server, expected behaviour comes from reference translations; 14 rely on documented, not executed, ASE semantics. For the strongest local model, agreement with the references rises from 53.0% with a plain prompt to 81.1% with a checklist of known dialect differences and 87.9% with the repair loop. The checklist improves all five local models; the further gain from repair is not significant. Of the plain-prompt translations, 40.2% compile and pass the lint yet disagree with the…

    AIDatabases56PDF
  • arXiv cs.DBDatabasesDec 2

    Isolation-Aware Migration from Legacy Relational Databases to Distributed SQL: Measuring and Containing Transaction Retry Risk in AI-Assisted Modernization

    Sharath Chandra Kampili

    Large language models (LLMs) are increasingly used to translate schemas and procedural code when enterprises migrate from single-node relational databases to distributed SQL systems. Translation, however, addresses only syntax. When the target uses optimistic, serializable concurrency control, applications written for lock-based read-committed isolation encounter serialization aborts that the original code never handled, and these failures surface under production contention rather than in functional testing. We treat this behavioral gap as a first-class migration concern. We propose eight architecture patterns that wrap probabilistic LLM translation in deterministic verification, and we integrate them into a reference architecture whose cutover is governed by service level objectives. We then evaluate the behavioral core empirically. On a single-hot-row read-modify-write microbenchmark at 32 concurrent clients, two serializable configurations abort 79-86% of transaction attempts. A read-committed configuration aborts none, but for this code it permits lost updates. Welch tests show that the gap between serializable and read-committed isolation is significant from four clients…

    AI53PDF
  • arXiv cs.DBDatabasesDec 2

    ReGenSQL: A Hybrid Query Rewrite Framework with Genetic Improvement and Large Language Models

    Hassan Kandil, Carol Hanna, Justyna Petke

    Optimising SQL query execution remains a core challenge in relational database systems, as semantically equivalent queries can differ in runtime by several orders of magnitude. Traditional optimisers often misestimate costs and fail to explore the full transformation space, while recent Large Language Model (LLM)-based approaches generate promising rewrites but typically settle on a single candidate without systematic search. This work presents ReGenSQL, a hybrid framework that integrates Genetic Improvement (GI) with retrieval-augmented LLM guidance to explore query rewrites more effectively. ReGenSQL leverages Apache Calcite's verified transformation rules to ensure semantic correctness, uses R-Bot to seed diverse LLM-informed candidates, and applies evolutionary search to refine rewrites under fitness functions based on either estimated or actual execution cost. Evaluation on the TPC-H benchmark demonstrates that ReGenSQL achieves a clear trade-off between efficiency and effectiveness. In effectiveness-focused settings, the LLM+GI variant with execution latency fitness reduces execution time by 50.5% on average, with 39.7% median and 91.0% 75th-percentile latency, surpassing…

    AI60PDF
  • arXiv cs.DBTraining & fine-tuningDec 2

    MergePipe: A Budget-Aware Data Management System for Scalable LLM Merging

    Yuanyi Wang, Guanghao Zhu, Yanggan Gu, Su Lu, Yifan Yang +8

    Large language model (LLM) merging has become a key technique in modern LLM development pipelines, enabling the integration of multiple task- or domain-specific expert models without retraining. However, as the number of experts grows, existing merging implementations treat model parameters as unstructured files and execute merges in a stateless, one-shot manner, leading to excessive I/O, redundant parameter scans, and poor scalability. In this paper, we present MergePipe, a data management system for scalable LLM merging. MergePipe is the first system that treats LLM merging as a data management and execution problem, and introduces a catalog-driven abstraction over model parameters, merge plans, and execution lineage. At its core, MergePipe employs a cost-aware planner that explicitly models expert parameter I/O and enforces user-specified I/O budgets, followed by an execution engine that materializes complete merged checkpoints with replayable manifests. Our key insight is that while base model reads and output writes are unavoidable, expert parameter reads dominate merge cost and constitute the primary controllable optimization target. By making expert access budget-aware…

    AIDatabases58PDF
  • arXiv cs.DBDatabasesDec 2

    Prune First, Optimize Globally: Scalable Semantic Query Processing with UniBays

    Zhengle Wang, Hanxu Yan, Weizheng Wang, Kyoungmin Kim, Fuheng Zhao +1

    Semantic database systems extend SQL with foundation-model inference over unstructured data, but scaling mixed relational-semantic queries remains bottlenecked by a massive time-scale gap: relational operators run in nanoseconds to microseconds, whereas frontier LLMs take seconds per call at high monetary cost. Existing engines apply over-parameterized generative models to discrete relational predicates (Booleans, Enums, and Scores) and optimize semantic operators in isolation without global quality control. We present UniBays, a scalable semantic database system that couples high-throughput, non-generative decision models with principled pruning and global optimization. Because decision models still lag relational operators and output uncalibrated raw scores, UniBays executes queries in three stages: (1) Yannakakis-inspired relational reduction over the query skeleton to eliminate unqualified tuples before semantic evaluation; (2) a reusable, proposition-based semantic index that derives record-level necessary conditions to screen candidates across queries and data snapshots; and (3) a quality-aware global optimizer over Boolean query lineage that uses online score-bin…

    AI59PDF
  • arXiv cs.DBAgentsDec 1

    YiGraph: Enabling Autonomous Graph Data Analysis with Algorithm-centric Agentic Workflow Construction

    Chaoyi Chen, Qiange Wang, Zihan Wang, Jingqi Gao, Hao Yuan +5

    Due to the semantic complexity of graph data and the diversity of graph analysis algorithms, non-expert users struggle to effectively translate high-level business requests into executable graph analysis workflows. In particular, solving real problems typically requires a multi-stage workflow involving multiple graph algorithms and graph queries. This hinders the broader adoption of graph analytics algorithms. To bridge the gap between end users and graph analytics techniques, we present YiGraph, an agentic system for autonomous graph data analytics. YiGraph employs the LLM as intelligent coordination hub and deterministic graph analytics algorithms as its core computational engine. Through an algorithm-centric unified orchestration framework, it bridges high-level intent and low-level execution, enabling automatic construction of multi-stage workflows over diverse graph algorithms, dependency-aware intermediate data transforming, and robust multi-step execution with effective failure recovery model. Experiments on both publicly available benchmarks and a complex problem benchmark derived from real-world business scenarios show that YiGraph achieves accuracy comparable to human…

    AIDatabases58PDF
  • arXiv cs.DBDatabasesDec 1

    DecideSQL: Probabilistic Semantic Query Processing with Decision Models

    Oktie Hassanzadeh, Long Vu, Dharmashankar Subramanian

    Semantic query engines let SQL filter and aggregate rows by what their text says, by prompting a large language model (LLM) for every row they read. Most return the rows the model accepts without a probability for each answer, and those that bound their errors do so relative to an LLM or to labels collected for one query, not to a reading of the text that the user chooses. Decision models, small models that return the probability of a yes instead of generating text, make per-answer probabilities cheap, and probabilistic databases have long known how to query such probabilities. We present DecideSQL, a semantic query engine on DuckDB that treats a natural-language predicate as a probabilistic relation whose probabilities a model supplies on demand. A decision store keys every decision by its decider, question and text, so a stored decision is not requested again, and Explain counts the decisions a query needs before any model is called. Calibration maps turn a model's scores into the probability that a reference of the user's choice says yes, where the reference can be the labels that came with the data or what the text says. References are stored like deciders, so one SQL query…

    AI57PDF
  • arXiv cs.DBDatabasesDec 1

    Do Semantic Query Engines Need LLMs? An Experimental Study of Decision Models

    Oktie Hassanzadeh, Long Vu, Dharmashankar Subramanian

    Semantic query processing engines (SQPEs) evaluate predicates written in natural language inside SQL by prompting large language models (LLMs), and many send the decisions a cheaper model is unsure of to a larger LLM. Yet a predicate often asks a question with a fixed set of answers, such as whether a review is positive, and a new kind of model targets such questions: decision models, small models that answer yes/no, choice and score questions with a probability for every answer. We present an experimental study of whether semantic query engines still need LLMs. Its key idea is to treat the reference as a variable. Every decision is scored against two references, the gold that people entered and what its text says, and every engine is calibrated with labels from the reference it is scored against. We run the study on SemBench and on DecideBench, a new benchmark whose answers combine many decisions through joins, quantifiers, negation and aggregates, in DecideSQL, a DuckDB-based engine in which decision models, LLMs, cascades and recorded decisions are interchangeable. Without labels, a 9B decision model matches or beats a 120B LLM on most of the SemBench queries it can answer, at…

    AISmall LLMsEvals60PDF
  • arXiv cs.LGDatabasesNov 30

    Adaptive Data Profiling with ML-Based Quality Checks for ETL Pipeline Quality and Cost Optimization

    Koorosh Komeili Zadeh, Joost Visser, Jan N. van Rijn

    Extract, Transform, Load (ETL) pipelines guard data quality mostly with rule-based checks. These catch type, null, and range violations, but not values that are technically valid yet far from the historical norm. We study whether a lightweight, per-column machine-learning layer can flag such deviations at the point where data first enters the pipeline, following the shift-left principle. We build a complete ETL pipeline and add an adaptive profiler: for each configured column an Optuna search selects a classical PyOD detector and its hyperparameters, and the fitted model scores incoming batches. We evaluate on two seasonal domains, hourly weather across five cities and British electricity demand, using injected anomalies as ground truth, and we report three findings. First, detection quality depends strongly on the column: columns with tight, predictable distributions (surface pressure, soil moisture) are detected reliably (F2 above 0.9), while skewed or noisy columns (precipitation, temperature in variable climates) are not. Second, an empirical cost model predicts per-column training time from data size, column count, and search budget, and matches measured times within a few…

    AI58PDF
  • arXiv cs.CRDatabasesNov 30

    Trust and Verification in the New Data Economy

    Pablo D. Azar, Shafi Goldwasser, Ankur Moitra, Juan C. Perdomo

    The scale and economic incentives around data in the modern economy raise newfound issues of trust and safety. Increasingly so, the primary barrier to using data in scientific or commercial domains is not whether data can be processed efficiently, but rather if we can trust its underlying quality and authenticity. In this work, we draw on ideas from interactive proof systems to develop a cryptographic protocol whereby a Buyer can efficiently verify statements regarding the quality of a Seller's database while manually inspecting the minimum possible number of rows. We discuss a range of potential applications of this procedure across domains such as AI, carbon credit markets, and bureaucratic audits (to name a few), highlighting how it enables new forms of secure, incentive-aligned data contracts.

    AI34PDF
  • arXiv cs.ARDatabasesNov 30

    Lattice: Alleviating the Shared-Channel Bottleneck in Solid-State Drives to Enable Scalable In-Flash Processing

    Rakesh Nadig, Manos Frouzakis, Nika Mansouri Ghiasi, Yonggon Park, Mayank Kabra +6

    Data-intensive applications spend significant time and energy moving large volumes of data between storage, memory, and processing units. In-flash processing (IFP) reduces these costs by computing inside NAND flash chips, where datasets reside. Prior IFP techniques distribute computation across chips and aggregate partial results. However, two bottlenecks limit IFP's scalability in solid-state drives (SSDs). First, shared channels serialize transfers. While adding chips increases compute parallelism, channel bandwidth remains fixed. Second, every partial result passes through the SSD controller, increasing aggregation latency and energy. Prior network-in-SSD architectures provide more paths but still rely on controller-orchestrated transfers and lack in-network aggregation. We propose Lattice, a lightweight IFP architecture that enables flash chips to exchange and aggregate partial results directly. Lattice is based on three key ideas. First, Lattice places an IFP-aware router next to each flash chip and connects neighboring routers via short, high-speed links. Second, IFP-aware communication primitives support operand distribution, synchronization, and in-network aggregation.…

    AI36PDF
  • arXiv cs.DSDatabasesNov 29

    The Heavy Hitter Oracle: Enhancing Frequency Estimation in Skewed Data Streams

    Lisa Schmierer, Ioana-Oriana Bercea

    Estimating element frequencies in data streams is a fundamental problem when processing large amounts of data. Recent approaches suggest learning-augmented algorithms that can access a heavy-hitter oracle that knows the most frequent elements. In this paper, we challenge the idea of these complex oracles: First, we show that heavy-hitter predictions do not necessarily yield significant efficiency gains in frequency estimation. We prove that a classical algorithm using slightly more memory, $Θ(B \log B)$ instead of $Θ(B)$, matches the performance of learning-augmented methods with perfect predictions. Furthermore, we show that given (perfect) predictions, a trivial mechanism achieves the same performance as state-of-the-art learning-augmented algorithms. On the algorithmic side, we introduce $\textit{SpaceR}$, a single-pass algorithm that matches the accuracy of existing two-pass prediction-based methods without requiring any predictions. SpaceR uses randomized sampling to identify and track frequent elements in one pass through the data, achieving near-perfect frequency recovery with minimal memory on both synthetic and real-world datasets.

    AI38PDF
  • arXiv cs.DBDatabasesNov 29

    Natural-Language-to-GPML: Dual-Oracle Witness Synthesis, Orthogonal Subspace Merging, and Live Schema-Constrained Decoding for ISO/IEC 39075 Graph Queries

    Madhulatha Mandarapu, Sandeep Kunkunuru

    ISO/IEC 39075:2024 (GQL) and SQL/PGQ standardize sixteen Graph Pattern Matching Language (GPML) path modes pairing restrictors (WALK, TRAIL, ACYCLIC, SIMPLE) with endpoint-partitioned selectors (ALL, ANY, ALL SHORTEST, ANY SHORTEST), twelve of which yield distinct answers on cyclic multigraphs. Yet public Text-to-Cypher datasets omit GPML modes, mix unexecuted outputs or proprietary procedures, and test acyclic graphs where omitting restrictors accidentally returns identical rows. We introduce Natural-Language-to-GPML for samyama-graph using 312.1M- and 1,065.1M-parameter open-weight models trained with 0.0% Neo4j-scraped or non-commercial data. First, we release Samyama-GPML-Bench-100 (v2) and Samyama-RealKG-NLQ-Bench-160, dual-oracle benchmarks co-verified against the SIGMOD 2022 GPML reference evaluator and samyama-graph (100.0% canonical agreement; 0.0% pass rate across 260 foils; 0 SHA-256 leaks across 913 tasks). Second, per-row infinite-schema synthesis, quarter-epoch NLQPipeline slow-fitting (95.83% peak at 1.25 epochs), Jacobi SVD KnOTS merging, Step-GRPO, and dialect-shift AdvKD ($β_{\mathrm{anc}}=0.0$) lift unconstrained GPML-Bench-50 from 0.0% to 72.0% on…

    AISmall LLMs50PDF
  • arXiv cs.AIDatabasesNov 28

    SqlToViz: A Contract-Pinned, Portable Pipeline for Recommending Chartsfrom SQL Queries and Result Sets

    Juan Manuel Castillo Pinto

    Chart recommenders usually start from a table, a corpus of charts, or a natural-language request. Many applications, however, hold only a SQL query and its result set. We describe SqlToViz, a pipeline that recommends one of ten base chart classes (expanded deterministically to twenty visualizations plus a table fallback) from the query text and the executed result. The pipeline is built around a frozen, versioned feature contract (16 lexical SQL features, 16 table-level data features, 28 per-column features), a small ONNX classifier, hard semantic con- straints that fail closed to a table, and cross-runtime parity fixtures so that Python, TypeScript and .NET implementations compute identical features. We report what has been measured: a leakage-audited synthetic benchmark; a held-out evaluation of 100 real queries against the agreement of LLM annotators (three models and one AI-filled workbook of unknown model, not independent of one another); an external evaluation on nvBench, whose labels are human- authored; a feasibility study of role supervision; and parity, latency and numerical-faithfulness measurements. There is no human validation of the recommendations: the reference of…

    AI52PDF
  • arXiv cs.AIAgentsNov 27

    Rethinking Decomposition: A Controlled Pilot Study of Agentic Text-to-SQL

    Duoduo Liao, Sehaj Gill, Shubham Sandeep Nirgude, Callie C. Liao

    Agentic Text-to-SQL systems often decompose complex questions into intermediate sub-questions before SQL generation. However, the independent contribution of decomposition remains unclear, as existing approaches typically combine it with other architectural components. To address this gap, we propose a controlled experimental framework to isolate the effects of decomposition and conduct a controlled pilot study. The evaluation compares 100 human-crafted natural-language question-gold SQL pairs from a real-world database and 62 additional questions from selected BIRD benchmark databases. Specifically, we compare direct generation with Large Language Model (LLM)-based manager-orchestrated decomposition under selective and forced routing, while keeping databases, schema, prompts, verification mechanisms, and evaluation protocol fixed across multiple model families. The results show no statistically significant performance improvement from manager-orchestrated decomposition under the evaluated conditions. Direct generation achieves the highest execution accuracy (90% strict, 91% normalized, 92% LLM-judge-gated) while requiring substantially fewer inference calls. Although selective…

    AICode modelsDatabases53
  • arXiv cs.CLSmall LLMsNov 27

    Value-grounded schema-graph reasoning for auditable Text-to-SQL in electronic medical records

    Weikuan Qiu, Chongzhao Xu, Xijian Zhuo, Jinlian Ma

    Electronic medical records (EMRs) store longitudinal patient data in relational databases, which are queried with structured query language (SQL), a language unfamiliar to most clinicians. While large language models (LLMs) can generate SQL from natural language questions, clinicians without SQL expertise still lack the means to audit how a generated query is grounded. We therefore address this gap with VGSG-CoT (Value-Grounded Schema-Graph Chain-of-Thought), a knowledge-grounded Text-to-SQL framework whose explicit chain of thought (CoT) exposes table, column, value, join, and aggregation decisions as auditable steps. Because explicit CoT can degrade accuracy in compact models, VGSG-CoT couples the CoT with a grounded evidence module (GEM) that retrieves value- and schema-level evidence from the database, and leverages grounded CoT distillation to train 1.5B and 7B generators that jointly produce the CoT and SQL. On MIMICSQL, VGSG-CoT achieves execution accuracies of 0.943 and 0.956 using the 1.5B and 7B generators, respectively, while the reasoning steps remain consistent with the final SQL. These results indicate that database-grounded evidence can offset the accuracy cost of…

    AICode modelsDatabases57
  • arXiv cs.CLCode modelsNov 27

    KwaiSQL: Preference-Optimized Selection for Enhanced Text-to-SQL Generation

    Danyang Zhao, Wenbo Zhang, Yan Li, Xiaohui Li, Fei Chen +3

    Text-to-SQL systems increasingly combine candidate generation with query selection. When these two roles share a model, can learning to select better queries also improve generation? Both tasks require judging how faithfully SQL operations express a natural-language question, making candidate comparison a potential source of supervision for generation. We investigate this connection by training a shared model for SQL generation and selection. Starting from a tool-using generator trained with execution rewards, we apply preference learning to candidate selection and use the resulting checkpoint for both roles. We analyze how selection updates can benefit generation through shared parameters and evaluate the generated candidate pools before selection, using the same tools and sampling settings. On BIRD Dev, selection preference training raises generation-only pass@16 from 81.79% to 82.83%, increasing the coverage of questions with at least one correct candidate. The resulting model achieves 74.67% execution accuracy when used for both generation and selection. These findings show that learning to compare SQL candidates provides a training signal that improves candidate generation…

    AITraining & fine-tuningDatabases57
  • arXiv cs.SEDatabasesNov 27

    From Code Changes to Slowdowns: An Empirical Study of Performance Regressions in Open-Source Database Kernels

    Xueli Sun, Shuangxiang Kan

    Database kernels change continuously, and a change that leaves every query result correct can still make a workload far slower. Because results stay correct, result-checking tests cannot reveal such regressions, and although several detectors target database performance problems, little is known about the regressions that code changes introduce. We present, to our knowledge, the first cross-system study of code-change-induced performance regressions in database kernels. Scanning over 2.1 million commits and related reports of nine open-source systems, from embedded SQLite to distributed TiDB, we identify 668 publicly confirmed regression families in kernel code and analyze where they occur, how changes cause them, and how completely they can be traced to code. We find that regressions span the kernel: query optimization is the largest module (27.4%), but execution and storage together account for more (36.8%), and the leading module differs by architecture. Extra work on a hot path, plan changes, and concurrency or coordination changes cause 61.8% of families. Over 95% of families map to changed code, but only 43.7% identify the introducing change, a subset that over-represents…

    AI41PDF
Load more
PDF
PDF
PDF
Research · Stack

Databases

Databases and data systems: SQL/NoSQL engines, query processing, storage and data pipelines.

Open the field page
20papers this week+0.1 pts share vs last week61 this month

Open problems in Databases

Open problems for Databases are being prepared; they appear within a day.