arXiv AI

Data-Efficient Adaptation of LLMs via Attention Head Reweighting

arXiv:2607. 13425v1 Announce Type: cross Abstract: Learning effectively from limited data is critical in domains like security where labeled examples are scarce.

arXiv Machine Learning
Sep 21

Gradient-Stable Attention Heads Signal LLM Correctness

The paper introduces HeadEntropy, a training‑free method that predicts the correctness of large language model (LLM) answers by measuring how stable each attention head’s pattern is to further gradient updates. By linking the trace of the softmax Jacobian to 2‑Renyi entropy, the authors show that attention spread correlates with gradient stability, enabling accurate hallucination detection without reference annotations. Across five instruction‑tuned LLMs and five diverse datasets—including medicine, multi‑hop reasoning, and mathematics—HeadEntropy achieves a 0.736 AUROC, outperforming other training‑free baselines and matching hidden‑state probes while incurring less than 1% of inference cost.

By Sophie Ostmeier, Brian Axelrod, Maya Varma, Asad Aali, Yabin Zhang, Magdalini Paschali, Sanmi Koyejo, Curtis Langlotz, Akshay Chaudhari
arXiv Computation and Language
Oct 12

Knowing When to Stop: Efficient Context Processing via Latent Sufficiency Signals

Large language models (LLMs) often process entire input contexts even when only a small portion is needed to answer a query. The authors introduce dynamic context cutoff, a technique that lets LLMs self‑terminate processing once they have gathered enough task‑relevant information. By analyzing model internals, they find that certain attention heads encode latent sufficiency signals that can be detected with lightweight classifiers, enabling efficient context handling. Experiments on six QA datasets with LLaMA, Qwen, and Mistral models (1B–70B) show a 3.4 % accuracy gain and a 1.33× reduction in token usage, outperforming other context‑efficiency methods at similar token reductions. The study also notes that larger models can intrinsically assess sufficiency through prompting, while smaller models need explicit probing.

By Roy Xie, Junlin Wang, Paul Rosu, Chunyuan Deng, Bolun Sun, Zihao Lin, Bhuwan Dhingra
arXiv Computation and Language
Oct 15

Copy-Paste Language Models

arXiv:2610.19247v1 Announce Type: new Abstract: Transformers are intuitively considered to be efficient at copying from their inputs. We actually show that the ability of LLMs to copy in context can...

By Nathan Godey, Yoav Artzi