Ziv Meets Sumcheck: Zero-Knowledge Proofs of Floating-Point LLM Inference
8d
- Published
- Collected
Zero-knowledge proofs can show that a neural network produced a given output without revealing the network, but current systems for language models prove integer approximations of the model rather than the floating-point arithmetic that is actually deployed. Proving floating-point matrix multiplication has been regarded as hard, because rounding after every addition makes the result depend on the order of the additions. We avoid this obstacle by proving the correctly rounded product, in which every dot product is computed exactly and rounded once. This result is independent of the hardware and at least as accurate as standard kernels. We give an interactive proof for this relation whose cost is close to that of integer matrix multiplication, with roughly a thousand times fewer committed values than per-operation floating-point circuits need constraints, extend it to every layer of a transformer, and give a privacy construction for the complete argument whose zero knowledge we prove under explicit hypotheses. We implement the system and prove the full forward pass of GPT-2 small, including all twelve blocks and the output over the whole vocabulary, in 19 minutes on two processor cores; verification takes 21 seconds. The verifier rejects all 236 attacks we tested, and the model's outputs agree with high-precision inference at least as closely as standard 16-bit inference does.
Authors
Hassan Khodaiemehr, Khadijeh Bagheri, Chen Feng
Categories
overfeed.news indexes and links. We publish a short excerpt — the full article stays at arXiv AI Papers.
More from arXiv AI Papers
Log in to follow this sourceCodec training with implicit bandwidth extension for high fidelity speech synthesis
Many modern state-of-the-art speech synthesis systems are based on two independently-trained components: 1) a neural codec, 2) an LLM-like model which predicts codec codes given the text to be generated. Whilst effective on lower fidelity speech, to achieve highly natural high fidelity speech we need to scale the approach to output high fidelity waveforms. The standard approach is to provide the target waveform at the input to the codec model during training, relying on the model to learn codes that reconstruct speech well and are predictable by downstream models. Instead, we propose a codec approach which trains on lower fidelity speech at the input and outputs high fidelity speech. This requires the model to implicitly learn the task of bandwidth extension (BWE). The proposed approach is demonstrated to outperform the standard approach for speech synthesis and achieves state-of-the-art BWE performance without requiring additional components.
TAPD: TTS-Guided Acoustic Policy Distillation for Paralinguistic Generation in Speech Language Models
TTS-synthesized speech has become a common source of supervision for fine-tuning speech language models. However, this kind of TTS-synthetic SFT treats TTS models only as offline teachers and provides no feedback on the student's online generation, leaving the student's on-policy acoustic errors such as flattened emotion, unstable speaking rate, and inappropriate loudness uncorrected. We propose TAPD, a TTS-guided acoustic policy distillation framework that uses a frozen controllable TTS model as a lightweight acoustic teacher for speech LLM (student) post-training. After each student rollout, TAPD evaluates the cumulative speech prefix at each audio-chunk boundary and assigns the tail-region teacher-forcing NLL associated with the newly appended chunk as localized feedback. This feedback is mapped to the student's audio-token policy without requiring shared tokenization, output space, or teacher logits, enabling heterogeneous acoustic distillation. Experiments on multiple paralinguistic dimensions with two TTS teachers show that TAPD consistently achieves the best student-side average instruction-following rate. It outperforms matched TTS-synthetic SFT by 5.53 and 5.06 percentage points under the two teacher settings, respectively. Score validation and ablation studies further confirm the effectiveness of TTS-derived acoustic feedback, chunk-level credit assignment, and selective distillation.
Latent Class Concept Bottleneck Models
Concept bottleneck models (CBMs) are interpretable image models that predict a target through a layer of human-understandable concepts. Because the prediction depends on the input only through these concepts, a user can correct mispredicted concepts at test time and thereby change the prediction. Standard CBMs, however, treat concepts as independent, so a correction never propagates to other concepts. Recently, Stochastic CBMs (SCBMs) have modeled concept dependencies with a Gaussian on the concept logits, but their interventions rely on a heuristic rather than exact conditioning. We propose Latent Class CBMs (LC-CBMs), which model the concepts as an input-dependent mixture of product-Bernoulli distributions. This gives an exact likelihood and exact Bayesian interventions. Across synthetic data, CUB, CIFAR-10 and CIFAR-100, LC-CBM matches or outperforms the baselines in target and concept accuracy, and achieves the most effective interventions on all four datasets. We further show that the latent-class structure is not specific to CBMs: added to concept embedding models, it also improves their interventions.
The Target Betrays the Trigger: Defending Multivariate Time-Series Forecasters Against Backdoor Attacks
Training-data backdoors make multivariate time-series forecasters produce attacker-chosen futures whenever the input contains a trigger, while preserving ordinary forecasting accuracy. Existing defences assume clean reference data, class labels, attack knowledge, or a trained model, none of which a forecasting-data trainer may have. We observe that the attacker must supply training supervision from which the victim can learn the trigger-dependent forecast. In the published attacks we study, this supervision leaves target-side evidence that exceeds phase-matched natural dynamics, and it continues to do so when an adaptive attacker diversifies individual target shapes. SafeTime tests candidate target intervals against same-phase natural references and relabels the targets of suspicious channels before victim training. It requires no clean data, reference model, trigger or target specification, poisoning labels, or attacked-channel list. Experiments across five datasets, six forecasting architectures, and four published attacks show that SafeTime reduces implanted effects (attack success with the trigger minus without it) of up to 0.998 to at most 0.096, while lowering clean forecasting error in most configurations. Under a budgeted adaptive white-box search, full multichannel fixed-goal and outcome-goal poisons retain implanted effects of 0.73 to 0.95 before defence, but only 0.003 to 0.015 after relabelling and retraining.