Sari la conținut

Română · beta. Traducerea a fost făcută automat și este încă în curs de revizuire. Citește pagina în engleză

perspectiva aiqbenchCercetare AI

analiza aiqbench

This paper introduces a novel influence score to quantify how specific attention heads contribute to classification decisions in Transformer models, specifically those designed for prompt injection detection. By combining directional logit influence with structural contributions within the residual stream, the method offers a multi-scale analysis that bridges fine-grained circuit interpretation and global output evaluation. This advancement provides researchers with a systematic tool to dissect decision mechanisms and distinguish between correct and erroneous predictions in security-focused AI systems.
Surse care acoperăarXiv, LessWrong, terrytao.wordpress.com
Ce este aceastaLectura unui model asupra articolului și a acoperirii conexe, scrisă pentru aiqbench. Nu sunt cuvintele publicației.

Influence Score and Transformers interpretability: Measure of the Effective Impact of Attention Heads at inference time

arXiv1 min de cititArticolul și perspectiva sunt în engleză.

arXiv:2609.05074v1 Announce Type: new Abstract: We propose an influence score to quantify the contribution of attention heads to classification decisions in Transformer-based models designed for prompt injection detection. The score combines directional influence on the logits with structural contribution within the residual stream, enabling a multi-scale analysis at the head, layer, and network levels. Applied to a DeBERTa model specialized for prompt injection detection, our framework reveals distinct decision behaviours between correct and erroneous predictions. Our method provides an effective compromise between fine-grained circuit analysis and global output-based methods, and offers a systematic way to study decision mechanisms in Transformer classifiers.

Abstract:We propose an influence score to quantify the contribution of attention heads to classification decisions in Transformer-based models designed for prompt injection detection. The score combines directional influence on the logits with structural contribution within the residual stream, enabling a multi-scale analysis at the head, layer, and network levels. Applied to a DeBERTa model specialized for prompt injection detection, our framework reveals distinct decision behaviours between correct and erroneous predictions. Our method provides an effective compromise between fine-grained circuit analysis and global output-based methods, and offers a systematic way to study decision mechanisms in Transformer classifiers.

Computation and Language (cs.CL)

arXiv:2609.05074 [cs.CL]

(or arXiv:2609.05074v1 [cs.CL] for this version)

https://doi.org/10.48550/arXiv.2609.05074 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Text integral sub licența deschisă a publicației · 191 cuvinte

Subiecte conexe