arXiv Science⌕ Search

arXiv subjects

Ofek I. Cohen

Publications and source records attributed to Ofek I. Cohen.

3 recordsLinked to original sources

Learning the topology of tree tensor networks with optimal copy complexity

How many copies of an unknown quantum state are needed to learn the tree on which it is a tree tensor network? We study exact pure states of $n$ qudits with Schmidt rank at most $χ$ across every internal edge of an unknown tree of arbitrary degree, under a known gap $\varepsilon_0$ across every wrong merge of at most $s$ clusters. Such a gap determines the tree among the trees with at most one vertex of degree above $s+1$. On the resulting class, $Θ(\log(n/δ)/\varepsilon_0)$ copies are necessary and sufficient for success probability $1-δ$, for fixed $d$, $χ$ and $s$ with $2\leχ\le d^2-1$, $δ\le 1/3$ and $\varepsilon_0$ below a constant. For $d^2\leχ\le d^3-1$ the learnable object is a coarsening of the tree, and the same rate holds for prime $d$, $s\ge4$ and $n\ge16$ divisible by four.

quant-ph↗

Query-Oblivious Coresets for Softmax Attention: Improved Bounds and Efficient Constructions

A query-oblivious coreset for a softmax-attention head is a subset of the key--value pairs whose attention output is within $\varepsilon$ of the full one for every query in a ball. With $ρ$ the query radius times the centred key radius, we build such coresets of size $O(e^ρ(\sqrt{d_v}+\sqrt{d_k\log(1+ρ)})/\varepsilon)$ in randomised polynomial time, improving the existential $O(\sqrt d\,e^{ρ+\frac12\logρ+o(\log\logρ)}/\varepsilon)$ of Liberty, Andoni and Kleiner to within $\sqrt{\log(1+ρ)}$ of their $Ω(\sqrt d\,e^ρ/\varepsilon)$ lower bound: a spherical lift of both balls into one exponential-kernel instance admits the Bozzai--Rothvoss chaining bound, and Chevet's inequality splits key from value dimension. A sampling cap $O(e^{2ρ}/\varepsilon^{2})$ completes the envelope, and in fixed dimension Tai's diameter-free bound removes the logarithm. A census of every head of Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct finds $ρ\ge24.100$, so every whole-ball bound with a factor $e^ρ/\varepsilon$ prescribes a coreset larger than the cache: the algorithmic contribution is asymptotic on these models.

cs.DS↗

Frustratingly Simple Black-Box Adaptation of Language Models via Logit Bias

Many organizations aim to adapt language models for internal use, both to improve performance on domain-specific tasks and to address privacy concerns around sensitive data. However, such adaptation remains non-trivial: it often requires operationally challenging fine-tuning of open-source models or ad hoc prompt optimization. We study a minimal alternative based on a simple API-level control: allowing users to bias the model's logits with a user-defined vector. We develop a black-box method for learning a single context-independent logit-bias vector, added at every decoding step, without modifying model weights or requiring gradients. Starting from a KL-regularized reinforcement learning (RL) objective, we characterize when such a fixed logit-bias vector can approximate the optimal prefix-dependent correction and derive a closed-form inverse-propensity estimator from rollouts, rewards, and token probabilities. Empirically, this simple decoding-time intervention improves over base models on mathematical and reasoning benchmarks while using far fewer trainable parameters than conventional fine-tuning. Our results suggest that learned logit bias is a lightweight mechanism for adapting language models under minimal access requirements.

cs.LG↗