arXiv digest

Thursday

October 22, 2026

Up to five new AI papers a day, read in full where arXiv renders them and checked against the source.

Paper 1 of 5

Validating Autoformalized Specifications via Contrapuntal Languages

Yihan Dai, Xuanlin Liu, Haoxiang Jia and 3 others · abstract · pdf

quote verifiedfigures checkedread: full textcs.SE

Problem

Autoformalized specifications are untrusted and voting among model outputs fails because model errors are often correlated, so agreement may reflect shared mistakes rather than correctness.

Approach

The method synthesizes a pair of task‑specific formal languages that are effectively contrapuntal, meaning no structure‑preserving translation exists between them. An LLM independently formalizes the same natural‑language intent in each language. A candidate specification is accepted only if a solver proves the two formalizations equivalent. The synthesis uses an incremental algorithm (Algorithm 1) with subroutines Cut and FindIso to enforce different syntactic shapes. This representational diversity decorrelates errors, making agreement informative for validation.

Result

Compared with the strongest baseline, the contrapuntal‑language approach raises the proportion of accepted specifications that are complete and sound by 12.0% on HumanEval+ and 42.9% on LiveCodeBench, and the accepted specifications reject 98.6% of buggy variants on HumanEval+ and 96.2% on LiveCodeBench versus 92.8% and 78.3% for the baseline.

Why it matters

Researchers and engineers building LLM‑based code generation and specification tools should care because the method offers a way to validate autoformalized specs without human review, improving reliability.

Method details
  • GPT‑5.4 mini and Qwen3.6‑Flash (with and without thinking mode) are used for specification generation
  • Evaluated on HumanEval+ (and HumanEval+-mini) and LiveCodeBench (and LiveCodeBench-mini) benchmarks
  • Sampling budget of 30 LLM‑generated responses per task
  • Baselines include direct generation, plurality voting (Symbolic Equivalence) and round‑trip verification
  • Ablation removing contrapuntality reduces CR by 15% and Avg.CR by 34.5%
Numbers
  • 12.0% increase on HumanEval+ compared with strongest baseline
  • 42.9% increase on LiveCodeBench compared with strongest baseline
  • 98.6% buggy variants rejected on HumanEval+ (vs 92.8% baseline)
  • 96.2% buggy variants rejected on LiveCodeBench (vs 78.3% baseline)
  • 15% relative decrease in CR for relaxed version
  • 34.5% relative decrease in Avg.CR for relaxed version
Limitations

The approach does not fully eliminate correlated errors and still exhibits false‑positive failures.

our method increases the proportion of accepted specifications that are correct, i.e., complete and sound, by 12.0% on HumanEval+ and 42.9% on LiveCodeBench.Found in the source text, word for word.

Picked because: Provides a concrete method and artifacts for validating autoformalized specifications, enabling engineers to verify AI‑generated code before deployment.

Paper 2 of 5

Code Comprehensor: Hierarchical Documentation and Cross-Modal Retrieval for Large Repositories

Sujoy Roychowdhury, Joseph H. R. Isaac, Jiangning Gao and 2 others · abstract · pdf

quote verifiedfigures checkedread: full textcs.SE

Problem

Existing solutions cannot give a Large‑Language Model a holistic view of large, rapidly evolving code bases; simply feeding isolated code snippets or flat documentation fails because it lacks hierarchical context and cross‑method relationships.

Approach

Code Comprehensor builds a code dependency callgraph (CodeGraph) from static analysis, then runs CodeScribe to generate hierarchical Markdown documentation (SynTD). The Markdown is parsed into JSON and used to train CodeContrast, a CLIP‑style dual‑encoder that aligns text and code embeddings. A Master Agent (MA) orchestrates retrieval: it queries CodeContrast for relevant code, uses CodeGraph to fetch method hierarchies, and calls the CodeScribe agent for documentation. The MA then composes a natural‑language answer enriched with diagrams and code blocks. This pipeline enables end‑to‑end navigation and reasoning over the repository.

Result

Evaluation on OpenCV and a proprietary 5M‑LOC repository shows that supervision from CodeScribe markedly improves text‑to‑code retrieval accuracy over baseline methods, and that adding richer hierarchical documentation further boosts results. An LLM‑as‑a‑judge assessment using RAGAS reports faithfulness scores above 90%.

Why it matters

Teams building code‑aware LLM assistants and researchers working on cross‑modal code retrieval should care because the approach demonstrates how hierarchical documentation can dramatically improve retrieval grounding and answer faithfulness.

Method details
  • CodeContrast uses a dual‑encoder contrastive model with SBERT or BERT backbones and a projection layer to a shared dimension.
  • Training runs with PyTorch Fully Sharded Data Parallel (FSDP) across multiple GPUs, gathering embeddings for a global similarity matrix.
  • CodeScribe outputs hierarchical Markdown which is converted to nested JSON and depth‑encoded for relational feature construction.
  • Data preparation creates one‑to‑many supervision: each code unit paired with multiple textual views (docstrings, hierarchical context, synthetic questions).
  • Evaluation uses Top‑ accuracy and Recall@K metrics for TextCode and CodeText retrieval directions.
  • Richer textual supervision (hierarchical docs, parent/sibling context, synthetic questions) consistently improves performance.
Numbers
  • Faithfulness, >90%, compared to baseline approaches
  • Repository size, 5M-LOC, evaluated dataset
Limitations

The paper does not provide absolute retrieval accuracy numbers or test scalability on a broader set of programming languages and repositories.

LLM-as-a-judge evaluation using the popular RAGAS of the Code Comprehensor output yields above 90% faithfulness scores.Found in the source text, word for word.

Picked because: Introduces a hierarchical documentation and cross‑modal retrieval system for large code repositories, offering tooling that engineers can adopt to improve code understanding and navigation.

Paper 3 of 5

A Real-time tax compliance architecture for VAT split payments with Making Tax Smart and Open Banking

Panos Louvieris, George Ioannou, Gareth White · abstract · pdf

quote unverifiedfigures checkedread: full textcs.DC

Problem

Existing VAT compliance relies on asynchronous, error‑prone reporting and cannot use real‑time transaction data; simply adding a reporting step does not work because it does not capture the informational value of payments in real time.

Approach

MTS‑OB builds a permissioned DLT on R3 Corda with four nodes plus a validating notary, and connects each Trusted Payment Provider (TPP) to its own Corda node. An Open Banking layer (OpenBankProject OBP‑API v4.0.0 sandbox) exposes AIS and PIS endpoints that the Corda flows call. The IssueInvoice and PayInvoice flows create and settle invoices while automatically splitting VAT to a HMRC node. Clients are PowerShell processes that invoke the flows via Corda RPC, each acting as a separate user. All components run on a single host, allowing measurement of latency and throughput as client population and transaction load increase.

Result

Latency grew linearly with the number of clients at every load level, and throughput saturated rather than collapsing, demonstrating predictable and tractable scalability of the single‑node prototype.

Why it matters

Tax authorities and payment service providers should care because the architecture shows that real‑time VAT collection can be achieved without disrupting existing banking infrastructure.

Method details
  • Permissioned ledger: R3 Corda Open Source 4.8 with four nodes and a validating notary
  • Open Banking integration: OBP‑API v4.0.0 sandbox persisting to an in‑process H2 database
  • Flows implemented: IssueInvoice Flow and PayInvoice Flow
  • Client implementation: Windows PowerShell RPC processes, ~384 MB resident memory each
  • Testbed hardware: Intel i5‑12600K @ 3.7 GHz, 80 GB RAM, 1 TB NVMe, Windows 11
Numbers
  • factor combinations, 100, compared against varying invoices per client and number of clients
  • max invoices per repetition, 10,000 issued and 10,000 paid, compared against testbed capacity
  • client process memory, 384 MB, compared against host resources
  • money supply portion, 96%, compared against total money supply
  • VAT gap amount, £12.1 billion, compared against current tax shortfall
Limitations

The study measures only a single‑node deployment; capacity added by multiple TPP nodes is not quantified.

The model could not quote the source for its claim, so nothing above has been checked against the paper. Read the abstract before trusting it.Citation check failed.

Picked because: Describes a released DLT‑based architecture for real‑time VAT split payments with Open Banking, giving a self‑hosted, cloud‑compatible solution for financial compliance automation.

Paper 4 of 5

Circuits of LLM Classifiers

Hadi Khalaf, Sajani Vithana, Kunal Talreja and 3 others · abstract · pdf

quote verifiedfigures checkedread: full textcs.LG

Problem

LLM classifiers give nondeterministic and unevenly reliable predictions, and naive fixes such as simple majority voting or fixed routing do not adapt to varying prompt difficulty or cost constraints.

Approach

The paper introduces LMCircuit, an adaptive sequence of LLM queries organized by a dynamic program that selects instruments based on a probabilistic model of their responses. It first predicts a label from the prompt embedding alone, then decides whether to query additional models based on a cost‑accuracy parameter. The probabilistic model learns latent prompt types and instrument error rates using three two‑layer heads (type, measurement, label). After each measurement the posterior over types is updated by Bayes' rule, guiding the next instrument choice. The circuit stops when the expected benefit no longer outweighs the query cost.

Result

LMCircuit consistently outperforms every individual instrument and all routing and cascade baselines across nearly all budgets, achieving higher accuracy while using fewer model calls; it also yields better calibrated predictions and trains in only 1 to 3 minutes versus minutes‑to‑hours for many baselines.

Why it matters

Practitioners building cost‑effective LLM classifiers and researchers studying adaptive query strategies should consider LMCircuit for its accuracy gains and fast training.

Method details
  • Three‑layer neural heads of width 128 are used for type, measurement, and label prediction.
  • Training uses AdamW with cosine schedule for up to 300 epochs, batch size 256, early stopping after 30 epochs without improvement.
  • Seven tasks are evaluated: AgentJudgeBench, BeaverTails, BIG‑Bench Hard, Decision Index, HealthBench, LMArena, and PolitiCause.
  • Baselines include RouteLLM, HybridLLM, CARROT, Cascade Routing, Consistency Cascade, Cascaded Selective, FrugalGPT, Adaptive‑Consistency, individual instruments, and majority voting.
  • Five models are trained per fold with different random seeds, and a temperature is fitted per head on ten validation states.
Numbers
  • training time, 1 to 3 minutes, versus minutes to hours for baselines
  • accuracy improvement over embedding prediction, 5%, 44%, on noisy prompts
  • call reduction versus majority voting, 38%, 86%, fewer calls
  • correlation prediction error, within 4%, 17%, of measured correlations
  • instrument accuracy prediction error, within 1.2%, 3.6%, of measured accuracy
Limitations

The dynamic program grows exponentially with the number of instruments, limiting scalability to very large model pools.

LMCircuit improves the cost‑accuracy frontier over routing and cascading baselines.Found in the source text, word for word.

Picked because: Presents a practical framework for combining LLM classifier outputs to improve reliability, directly applicable to building and verifying LLM‑driven decision services.

Paper 5 of 5

Parallel AI Agent Collaboration as Graph-Structured Distributed Block Optimization

Hanmin Li, Yury Demidovich, Peter Richtárik · abstract · pdf

quote verifiedfigures checkedread: full textcs.MA

Problem

Parallel AI agents produce useful local edits but naive merging of all edits degrades the shared solution because edits can interact and cancel each other, as illustrated by the discount example where applying both edits doubles the discount.

Approach

The method models the coordination task as discrete block optimization with a known dependency graph. Each agent proposes edits and their verified singleton gains are measured against a common artifact. The coordinator identifies independent sets in the graph and applies an optimal fractional coloring to select a compatible subset of proposals, guaranteeing preservation of a 1/χ_f fraction of total verified improvement. It can also evaluate interacting edits to capture favorable interactions. Repeated application under local‑improvement and block error‑bound assumptions yields geometric convergence, and a linear program determines agent assignment and time‑cost trade‑offs.

Result

Fractional integration retains 922 units of verified graph‑cut improvement across 90 paired runs. Fractional scheduling reduces measured wall time by a median of 15% across twelve paired runs. Conflict‑resolution experiments show that verified merging resolves conflicts that cause naive merging to fail, while parallel agents reduce modeled completion time on larger conflict‑free tasks at higher input‑token‑equivalent cost.

Why it matters

Researchers and engineers building multi‑agent AI systems or distributed optimization pipelines should care because the approach provides provable guarantees on retained improvement and practical cost‑benefit trade‑offs.

Method details
  • Dependency graph defines independent sets of compatible edits.
  • Verified singleton gains are obtained by evaluating each proposal against the same current solution.
  • Coordinator uses optimal fractional coloring to select proposals preserving 1/χ_f of total verified gain.
  • Baselines compared include MA (apply all), MAG (apply union only if improves), SGL (single‑agent), and SEQ (sequential).
  • Experiments run on code‑repair benchmarks, three public road networks, and route‑search scheduling tasks.
Numbers
  • 922 units of verified graph‑cut improvement (across 90 paired runs)
  • 15% median wall time reduction (across 12 paired runs)
  • 3 agents propose edits (individual gains 2, 2, 1)
  • 3 public road networks used
Limitations

The paper does not discuss limitations explicitly.

fractional integration retains 922 units of verified graph-cut improvement across 90 paired runs.Found in the source text, word for word.

Picked because: Offers a graph‑structured distributed block optimization approach for coordinating multiple AI agents, useful for building scalable, orchestrated AI tooling pipelines.