<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by pinthoz on Medium]]></title>
        <description><![CDATA[Stories by pinthoz on Medium]]></description>
        <link>https://medium.com/@anapinthozy?source=rss-0b0831144ea0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4q3mx0S3fhLX0yCi-vrJ4w.jpeg</url>
            <title>Stories by pinthoz on Medium</title>
            <link>https://medium.com/@anapinthozy?source=rss-0b0831144ea0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:29:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anapinthozy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Your attention heatmap is not evidence]]></title>
            <link>https://medium.com/data-science-collective/your-attention-heatmap-is-not-evidence-454d6e0d1ace?source=rss-0b0831144ea0------2</link>
            <guid isPermaLink="false">https://medium.com/p/454d6e0d1ace</guid>
            <category><![CDATA[ai-bias]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[pinthoz]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 13:54:08 GMT</pubDate>
            <atom:updated>2026-11-17T14:03:09.255Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PWMelGvgU2AEiMgjmKGbA.png" /></figure><p>Attention Atlas is an open tool for checking whether attention heatmaps mean what people read into them. The first sentence I audited with it disproved my own hypothesis, and the head I would have reported as the gender-bias head turned out not to matter. You can try it in the browser on your own sentences at <a href="https://huggingface.co/spaces/pinthoz/attention-atlas">huggingface.co/spaces/pinthoz/attention-atlas</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*bVBKdbvue6nX1GHqJRWEew.png" /><figcaption>How the tool is organised: the attention and bias sections share one reactive state, which sits on top of the model and data backend</figcaption></figure><p>Attention weights are the most popular explanation device in NLP and also the least settled. The 2019 argument between <a href="https://aclanthology.org/N19-1357/"><em>Attention is not Explanation</em></a> and <a href="https://aclanthology.org/D19-1002/"><em>Attention is not not Explanation</em></a> was never resolved. The field carried on with heatmaps anyway, and I understand why: they are cheap to produce and they look like evidence. Almost nothing in the usual tooling pushes back when you over-read one.</p><p>Two things go wrong most often.</p><p>Nobody calibrates. You see a head with visibly more attention on the tokens you care about and you call it specialised. But how much is “more”? Without a reference distribution that is a feeling about a picture.</p><p>Nobody cross-checks either. Attention is one of at least four ways to ask which input mattered. Gradient attribution, causal ablation, perturbation and relevance propagation all answer a neighbouring question under different assumptions, and they do not always agree. You learn something when they disagree, as long as you ran more than one of them.</p><h3>A head that looks like the answer</h3><p>Take the sentence <em>“The engineer fixed the server because men are naturally good with machines.”</em> Give it to a <a href="https://aclanthology.org/N19-1423/">BERT</a> model fine-tuned to detect biased language, open the heatmap, and go looking for the head that attends most to the word <em>men</em>.</p><p>You will find one. Mine was layer 4, head 0. It puts more attention on the flagged bias tokens than any of the other 143 heads in the model, and on a heatmap that reads like an answer.</p><p>Now ablate the heads one at a time and measure how far the sentence representation actually moves. L4H0 comes fourth, and its effect is small enough to sit below the significance floor. The head that moves the representation most is layer 10, head 5, which attends to the bias tokens about as much as a head picked at random would.</p><p>The ranking you can see and the ranking that matters are close to unrelated, and Attention Atlas is built to make gaps like that one visible.</p><h3>The dashboard</h3><p>Attention Atlas is a Shiny-for-Python dashboard. It runs in the browser and there is nothing to install. It audits three model families, BERT encoders, <a href="https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf">GPT-2</a> decoders and <a href="https://huggingface.co/cross-encoder/ms-marco-MiniLM-L-6-v2">MiniLM cross-encoder rerankers</a> trained on MS MARCO, and it has four sections that get progressively deeper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BsMg01Zjc0OsW63WUi9urA.png" /><figcaption>The three architectures the tool can audit: BERT as an encoder, GPT-2 as a decoder, and a cross-encoder reranker that reads the query and passage together</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XKm7fF8JGI6fgPby621nrw.png" /><figcaption>The main page: the prompt sidebar on the left, and the three architectures you can audit, BERT, GPT-2 and a cross-encoder reranker</figcaption></figure><p>The Overview answers what an analyst asks first: what does the model do with this prompt, before any attention appears on screen. Global metrics, six per-head attention statistics, the masked-language or autoregressive predictions with their probabilities, and a radar chart that places the heads on seven specialisation indices built from the part-of-speech and named-entity categories they attend to. You can mask tokens directly on the strip and read the model’s reconstruction. The radar is coarse on purpose: it tells you where to look and should not be read off precisely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KLJHGM4fYATQWNGqgmco-A.png" /><figcaption>The Overview: masked-token predictions on the left, and the radar profiling one head across seven specialisation indices on the right</figcaption></figure><p>Explore Attention opens the per-layer, per-head structure. The heatmap comes under three normalisations: raw softmax weights, a column normalisation that surfaces which tokens get attended to overall, and <a href="https://aclanthology.org/2020.acl-main.385/">attention rollout</a>, which accumulates attention across layers while accounting for the residual connections. A flow diagram draws that accumulated attention as paths through the network. A token-influence tree isolates the neighbourhood of one token, and a head-specialisation view clusters heads that behave alike.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*reS3Tb-Wy_wAWd7LHINQPA.png" /><figcaption>Per-layer, per-head exploration with the attention heatmap</figcaption></figure><p>There is also a sentence-level aggregate called inter-sentence attention, and how it aggregates says something about the tool. The <a href="https://aclanthology.org/2025.naacl-demo.27/">original formulation</a> takes the maximum attention score across layers, heads and token pairs, to preserve the signal of one strong head. I take the average share of one sentence’s attention mass that another receives. A maximum over three nested dimensions tells you whether some strong link exists somewhere in the model. How strongly two sentences are coupled is a different question, and a maximum is dominated by its largest outlier by construction, so reading it as a coupling would overstate almost every pair.</p><p>The Deep Dive opens the computation that produces the weights, as a walkthrough of a single transformer block: embeddings, their sum and normalisation, the query, key and value projections, the attention output with its residual step, the feed-forward network, and the normalisation that closes the block. Arrows trace the data flow, so you can follow one representation through the block rather than inspect each operation on its own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iZSkWAw5JLc8Dlk47BkcXA.png" /><figcaption>The transformer block opened step by step</figcaption></figure><p>Bias Detection is where the two halves of the system meet, and it is most of what follows.</p><h3>The ratio, and the null behind it</h3><p>The bias section runs a <a href="https://arxiv.org/abs/2410.08388">GUS-Net</a> token classifier over the prompt and labels tokens as generalisation, unfair language or stereotype, each with a confidence. I fine-tuned four of them, on BERT-base, BERT-large, GPT-2 and GPT-2 medium, and each one ships with per-label thresholds calibrated on a held-out fold. A flat 0.5 cut-off mis-detects bias, so the thresholds are published with the weights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7EAM2EyXu8ll1YuQ0hBRBg.png" /><figcaption>The GUS-Net training pipeline for the base and large checkpoints</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QYgY-2g0MksHtpPgjCnSAA.png" /><figcaption>Detection summary and the flagged bias tokens</figcaption></figure><p>Attention enters through the Bias Attention Ratio. For one head, BAR is the share of its attention mass that lands on the flagged tokens, divided by the share those tokens would get under a uniform distribution. 1.0 means the head has no preference. 3.0 means it points at them three times more than chance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6p56VsbUKhCUrGYIXiWLgg.png" /><figcaption>The BAR matrix across all layers and heads</figcaption></figure><p>By itself that is one more suggestive number, and the part I care about sits underneath it. Every threshold in the tool is calibrated against a permutation null, separately for each model.</p><p>For specialisation, the bias mask gets shuffled thousands of times, BAR is recomputed on every shuffle, and the 95th percentile of the resulting distribution becomes the cut-off at alpha = 0.05. Causal impact works the same way: ablate random heads to build the null, then compare the real one against it. With 144 heads you also need multiple-comparison correction, so <a href="https://doi.org/10.1111/j.2517-6161.1995.tb02031.x">Benjamini-Hochberg</a> sits on top of both.</p><p>I did not expect this to matter as much as it does. The impact floor for one of my own published checkpoints moved from 0.0194 to 0.0465 to 0.0033 over three retrainings of the same model, under the same name in the same repository. A threshold belongs to a particular set of weights and not to an architecture. Any single hard-coded value would have been wrong for at least two of those three checkpoints.</p><h3>One audit, start to finish</h3><p>My hypothesis went into the tool’s notebook before I looked at anything: a head in one of the late BERT layers drives the gendered reading.</p><p>Detection first. The classifier flags 6 of the 12 tokens with a composite severity of 0.733. The word <em>men</em> carries the generalisation label, and the span <em>are naturally good with machines</em> carries unfair language and stereotype.</p><p>The counterfactual turns the group claim into an individual one: <em>“…because he is naturally good with machines.”</em> The signal does not disappear there. It comes apart. The composite drops to 0.350, generalisation and unfair language both go to zero, and stereotype survives on its own, on <em>naturally</em>, <em>good</em>, <em>with</em> and <em>machines</em>. The two tokens that vanish are <em>men</em> and <em>are</em>. That is the behaviour I wanted to see. Take away the attribution of a property to a group and the generalisation goes with it, while the stereotyped content of the property stays where it was. One aggregate score would have shown me a drop and nothing about which part of it moved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uEs2rRLg2jqtc4H3eh1SWQ.png" /><figcaption>Token-level labelling and per-category confidence</figcaption></figure><p>The attention came next, and that is where the hypothesis died. Against a per-prompt permutation null computed over 30,000 placements, no head of the 144 clears specialisation at alpha = 0.05 after correction. The largest ratio anywhere in the model is 1.198, at L4H0, and the whole ranking sits within 20% of the uniform baseline. The calibrated threshold for this model is 2.5.</p><p>So the hypothesis had nothing to land on. For this sentence the model has no specialised head at all, late layer or otherwise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jI_T5XChAocVErMeKOtVJg.png" /><figcaption>Bias signal propagation across layers</figcaption></figure><p>Next came the cross-checks, which did not go the way I expected either. <a href="https://arxiv.org/abs/1703.01365">Integrated Gradients</a> puts most of its mass on [SEP], at 2.028, with <em>naturally</em> second and <em>men</em> outside the top five. Relevance propagation (<a href="https://arxiv.org/abs/2402.05602">AttnLRP</a>, with <a href="https://arxiv.org/abs/2103.15679">Chefer et al.</a> as a second variant) also ranks [SEP] first, by a long way, 29.474 against 7.176 for <em>men</em>. Perturbation ranks [CLS] first and [SEP] second. Three method families that share no assumptions agree with each other and disagree with attention, and the thing they agree on is a delimiter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*42PTcjeRG1lvaYqP61wVBw.png" /><figcaption>Gradient agreement: the attention-to-attribution correlation for every head, against its Bias Attention Ratio</figcaption></figure><p>Across all 144 heads, the correlation between attention and Integrated Gradients has a mean absolute Spearman of 0.21 and a signed mean of 0.017, so the heads correlate in both directions and more or less cancel. The best single head reaches rho = 0.725 with a raw p of 0.0022, which looks like something until you remember you tested 144 heads. Corrected, it comes back at q = 0.230.</p><p>The last step is the ablation ranking, which can be computed over all the flagged tokens or restricted to one GUS-Net category. The choice matters. A head tracking the generalisation marker is doing a different job from a head tracking stereotype content, and a ranking over the union averages the two together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hjAbaanE76CfaqF6VvnTnQ.png" /><figcaption>Causal head ablation ranked by representation impact</figcaption></figure><p>L10H5 comes first at 0.033, above the calibrated very-high threshold of 0.0261, with a BAR of 1.193. L4H0, the most bias-attentive head in the model, comes fourth at 0.0136, under the significance floor of 0.0149.</p><p>Had I stopped at the heatmap, L4H0 would have gone into the thesis as the gender-bias head, with a figure to prove it.</p><h3>Counterfactuals you do not have to type</h3><p>Demographic swaps are the standard probe for this kind of question, and hand-typing minimal pairs is where they usually go wrong.</p><p>Every swappable demographic term in the detected-tokens table carries a swap control, backed by a bidirectional dictionary of term pairs. Pick one and the tool builds the edited prompt, fixes article agreement, and opens it as prompt B in a mirrored layout, so the counterfactual becomes the difference between two otherwise identical screens.</p><p>Two details were harder than the rest. English collapses grammatically distinct words into one surface form, most annoyingly <em>her</em>, which is <em>him</em> in one context and <em>his</em> in another, so the generator tags part of speech before it substitutes. And words like <em>black</em>, <em>poor</em> and <em>large</em> get swapped only when the context marks the mention as referring to a person. Otherwise you end up editing <em>a large dataset</em> or <em>a white shirt</em>, and the pair stops being minimal in the way you need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6eaQ4aHFgCdPJwaoIDqI9g.png" /><figcaption>The consistency card after a demographic swap</figcaption></figure><p>Once you apply a swap, a consistency card puts numbers on the contrast that the two panels only show: cosine similarity between the attention profiles, how much of the change falls on the swapped position alone, token alignment, movement in the composite score, and the heads that shift most.</p><p>The card is there because the useful outcome of a demographic swap is often nothing happening. Two near-identical profiles and a score that barely moves mean the model treats the groups alike on that sentence, and that counts against a group-dependent reading of the flagged bias. The card marks it as disconfirming, so you do not have to spot it yourself.</p><h3>The notebook</h3><p>The Auditor Notebook is a persistent surface reachable from anywhere in the interface. Each analytical step goes in as a structured entry: the hypothesis under test, the conditions it was tested under, the signals observed, the uncertainty you are left with, and the next step. Any entry can be restored to bring back the view that produced it, and the whole set exports as an audit trail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bQBdsEFJTAvN0ZyqclrX0w.png" /><figcaption>The Auditor Notebook with flagged disconfirming evidence</figcaption></figure><p>The part that earns its keep is the flagging. As you write an entry, the Notebook compares the captured evidence against the reading you are assembling and highlights whatever contradicts it. The checks cannot read your hypothesis, which is free text the system never parses, so they are hypothesis-independent by necessity. They fire when the three attribution families disagree about the most salient token; when attention correlates weakly with gradient attribution, perturbation importance or relevance propagation; when the selected head sends more than 60% of its mass to special tokens, the <a href="https://arxiv.org/abs/2309.17453">attention-sink</a> failure mode, already visible in BERT’s heads in <a href="https://arxiv.org/abs/1906.04341">Clark et al.</a>, that undermines any claim about linguistic content; and when a counterfactual or cross-model contrast leaves the bias signal essentially unchanged.</p><p>In the audit above, the attention-to-attribution correlations were flagged for me the moment I saved the entry, before I had written anything up. That timing matters to me more than any of the individual checks. Counter-evidence helps while you are still deciding what you think, and helps much less once a reviewer has found it for you.</p><h3>GPU, CPU, and a number I could not report</h3><p>While I was putting together a second case study, comparing the base encoder with its fine-tuned version, I ran the same prompt, the same checkpoints and the same settings on my laptop and on the hosted deployment. The laptop said four specialised heads. The hosted version said three, and not the same three.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oGY-oLEFKX2FFVuF1OFf-A.png" /><figcaption>Base and fine-tuned encoders side by side</figcaption></figure><p>The permutation draws are seeded, and the token-level detections matched to the two decimals the interface shows. What differs is that my laptop computes attention on a GPU and the hosted instance on a CPU, so the two accumulate floating point sums in a different order. The disagreement is around 1e-7.</p><p>That was enough, because the decision is a threshold comparison over a very compressed ranking. All 144 ratios sat between 0.944 and 1.162. Several heads were leaning on the boundary, and a change in the seventh decimal place was enough to tip them over.</p><p>So I reported the descriptive reading and left the count out. The descriptive part is identical on both machines: no head of either version reaches the specialisation threshold, and the peak is inherited from the base model rather than learned during fine-tuning. The count I could have reported would have been a fact about my laptop.</p><p>If you are building head-level significance tooling, test this on your own setup before you trust a count. I would not have caught it if I had only ever run the tool in one place.</p><h3>What the benchmark cannot see</h3><p>The last panel reports <a href="https://aclanthology.org/2021.acl-long.416/">StereoSet</a>: the Language Modelling Score, the Stereotype Score and the combined ICAT, with breakdowns by category and by demographic slice, a view of which heads are most sensitive on the benchmark, and an example explorer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yWpegBoz2NyIvVs9bdbrHQ.png" /><figcaption>StereoSet evaluation with category and slice breakdowns</figcaption></figure><p>It also exposes a limit. The fine-tuned encoders are token classifiers with no language-modelling head, so the three aggregate scores have to be computed with the corresponding base language model. In my comparison that gives LMS 71.8, SS 53.1 and ICAT 67.4 over 2,123 examples, and the row is shared between the base model and its fine-tuned derivative by construction. Those aggregates cannot separate the two versions, however carefully you read them.</p><p>The head-sensitivity view reads each version’s own attention, and there the two do differ. The base model is led by L11H4 and the fine-tuned encoder by L2H3. So the version change is invisible in the benchmark row and visible one level down. That is worth knowing before anyone uses an aggregate score to argue that fine-tuning did or did not change a model’s bias.</p><h3>Four things I would say before you trust a heatmap</h3><ol><li>Calibrate every threshold against a null, per checkpoint. A cut-off you chose because it looked about right will be wrong on the next model, and possibly on the next retraining of the same one.</li><li>Correct for multiple comparisons at the head level. BERT-base hands you 144 heads, so at alpha = 0.05 about seven of them will look significant for no reason. An uncorrected significant head is usually noise with a p-value stapled to it.</li><li>Keep what a head looks at separate from what a head does. They are two measurements. Run the ablation before you name a head after a phenomenon.</li><li>Make the tool show you what disagrees with you, by default, at the moment the conclusion gets written down. An option buried in a menu does not count.</li></ol><h3>Links</h3><p>The system runs in the browser with no installation:</p><ul><li>Live demo: <a href="https://huggingface.co/spaces/pinthoz/attention-atlas">huggingface.co/spaces/pinthoz/attention-atlas</a></li><li>Code: <a href="https://github.com/pinthoz/attention-atlas">github.com/pinthoz/attention-atlas</a></li><li>Fine-tuned bias detectors: pinthoz/gus-net-bert, gus-net-bert-large, gus-net-gpt2 and gus-net-gpt2-medium on the Hugging Face Hub, each with a model card documenting its calibrated thresholds</li></ul><p>Attention Atlas was my MSc dissertation at the Faculty of Sciences, University of Porto, supervised by Álvaro Figueira. I defended it this autumn.</p><p>There is a second half to the project that I will write up separately. The bias detector in this article once scored 95% accuracy without having learned anything at all about bias, and working out why took a protocol of its own.</p><p>If you run the dissociation on your own model and get a different answer, I would like to hear about it.</p><h3>References</h3><ul><li>Abnar, S. and Zuidema, W. (2020). Quantifying Attention Flow in Transformers. ACL. <a href="https://aclanthology.org/2020.acl-main.385/">aclanthology.org/2020.acl-main.385</a></li><li>Achtibat, R. et al. (2024). AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers. ICML. <a href="https://arxiv.org/abs/2402.05602">arXiv:2402.05602</a></li><li>Benjamini, Y. and Hochberg, Y. (1995). Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal Statistical Society, Series B. <a href="https://doi.org/10.1111/j.2517-6161.1995.tb02031.x">doi:10.1111/j.2517–6161.1995.tb02031.x</a></li><li>Chefer, H., Gur, S. and Wolf, L. (2021). Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers. ICCV. <a href="https://arxiv.org/abs/2103.15679">arXiv:2103.15679</a></li><li>Clark, K., Khandelwal, U., Levy, O. and Manning, C. D. (2019). What Does BERT Look At? An Analysis of BERT’s Attention. BlackboxNLP. <a href="https://arxiv.org/abs/1906.04341">arXiv:1906.04341</a></li><li>Devlin, J., Chang, M.-W., Lee, K. and Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. NAACL. <a href="https://aclanthology.org/N19-1423/">aclanthology.org/N19–1423</a></li><li>Jain, S. and Wallace, B. C. (2019). Attention is not Explanation. NAACL. <a href="https://aclanthology.org/N19-1357/">aclanthology.org/N19–1357</a></li><li>Nadeem, M., Bethke, A. and Reddy, S. (2021). StereoSet: Measuring Stereotypical Bias in Pretrained Language Models. ACL-IJCNLP. <a href="https://aclanthology.org/2021.acl-long.416/">aclanthology.org/2021.acl-long.416</a></li><li>Powers, M., Mavani, U., Jonala, H. R., Tiwari, A. and Wei, H. (2024). GUS-Net: Social Bias Classification in Text with Generalizations, Unfairness, and Stereotypes. <a href="https://arxiv.org/abs/2410.08388">arXiv:2410.08388</a></li><li>Radford, A. et al. (2019). Language Models are Unsupervised Multitask Learners. OpenAI. <a href="https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf">PDF</a></li><li>Seo, S. et al. (2025). A Sentence-Level Visualization of Attention in Large Language Models. NAACL System Demonstrations. <a href="https://aclanthology.org/2025.naacl-demo.27/">aclanthology.org/2025.naacl-demo.27</a></li><li>Sundararajan, M., Taly, A. and Yan, Q. (2017). Axiomatic Attribution for Deep Networks. ICML. <a href="https://arxiv.org/abs/1703.01365">arXiv:1703.01365</a></li><li>Wiegreffe, S. and Pinter, Y. (2019). Attention is not not Explanation. EMNLP-IJCNLP. <a href="https://aclanthology.org/D19-1002/">aclanthology.org/D19–1002</a></li><li>Xiao, G., Tian, Y., Chen, B., Han, S. and Lewis, M. (2024). Efficient Streaming Language Models with Attention Sinks. ICLR. <a href="https://arxiv.org/abs/2309.17453">arXiv:2309.17453</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=454d6e0d1ace" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science-collective/your-attention-heatmap-is-not-evidence-454d6e0d1ace">Your attention heatmap is not evidence</a> was originally published in <a href="https://medium.com/data-science-collective">Data Science Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>