Keeping the Answer While Changing Its Code: A Complete Label-Permutation Test of a Pronoun Probe

Authors

  • Jonathan Dawson Author
  • Eric Porter Author
  • Paul Lewis Author

Abstract

Changing an answer code should not change which person a pronoun denotes. Yet every one of 400 sampled benchmark examples changed its decoded decision under at least one of six complete code legends. The local model often kept emitting N while the legend assigned N a different meaning. Accuracy ranged from 11.25% to 46.75%; the declared reverse-versus-identity contrast was 35.25 percentage points. That increase largely accompanied a shift toward the sample's most frequent candidate class, so it cannot be read as stronger resolution. The experiment exposes a failure of semantic invariance in one frozen conditional probe and shows why code stability can conceal decision instability.

Keywords: output-code mapping; semantic invariance; coreference evaluation; prompt sensitivity; conditional probabilities

References

  1. Dror, Rotem; Baumer, Gili; Shlomov, Segev; Reichart, Roi. (2018). The Hitchhiker’s Guide to Testing Statistical Significance in Natural Language Processing. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/p18-1128
  2. Webster, Kellie; Recasens, Marta; Axelrod, Vera; Baldridge, Jason. (2018). Mind the GAP: A Balanced Corpus of Gendered Ambiguous Pronouns. Transactions of the Association for Computational Linguistics. https://aclanthology.org/Q18-1042/
  3. Gao, Tianyu; Fisch, Adam; Chen, Danqi. (2021). Making Pre-trained Language Models Better Few-shot Learners. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers). https://doi.org/10.18653/v1/2021.acl-long.295
  4. Efron, B.. (1979). Bootstrap Methods: Another Look at the Jackknife. The Annals of Statistics. https://doi.org/10.1214/aos/1176344552
  5. Deng, Huilin; Luo, Hongchen; Zhu, Yue; Li, Long; Chen, Zhuoyue; Zhao, Xinghao; LI, Ming; Zhao, Chuyang; Zhang, Jihai; Wang, MengChang; Cao, Yang; Kang, Yu. (2026). I²B-LPO: Latent Policy Optimization via Iterative Information Bottleneck. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://aclanthology.org/2026.acl-long.1084/.
  6. Zhao, Tony Z.; Wallace, Eric; Feng, Shi; Klein, Dan; Singh, Sameer. (2021). Calibrate Before Use: Improving Few-Shot Performance of Language Models. arXiv preprint. https://arxiv.org/abs/2102.09690
  7. ggml-org contributors. (2026). llama.cpp. Software release b12421; commit75fd7f9ec; downloaded16November2026. https://github.com/ggml-org/llama.cpp/releases/tag/b12421
  8. Yuan, Yuewei; Huang, Jialei; Yin, Jiayang; Xu, Tianyi. (2026). Confidence Calibration and Semantic Error Analysis for Ambiguous Coreference Resolution in User-generated Social Media Text. SSRN working paper 7393238. https://doi.org/10.2139/ssrn.7393238.
  9. Lu, Yao; Bartolo, Max; Moore, Alastair; Riedel, Sebastian; Stenetorp, Pontus. (2022). Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/2022.acl-long.556
  10. Dodge, Jesse; Gururangan, Suchin; Card, Dallas; Schwartz, Roy; Smith, Noah A.. (2019). Show Your Work: Improved Reporting of Experimental Results. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). https://doi.org/10.18653/v1/d19-1224
  11. Mitchell, Margaret; Wu, Simone; Zaldivar, Andrew; Barnes, Parker; Vasserman, Lucy; Hutchinson, Ben; Spitzer, Elena; Raji, Inioluwa Deborah; Gebru, Timnit. (2019). Model Cards for Model Reporting. Proceedings of the Conference on Fairness, Accountability, and Transparency. https://doi.org/10.1145/3287560.3287596
  12. Elazar, Yanai; Kassner, Nora; Ravfogel, Shauli; Ravichander, Abhilasha; Hovy, Eduard; Schütze, Hinrich; Goldberg, Yoav. (2021). Measuring and Improving Consistency in Pretrained Language Models. Transactions of the Association for Computational Linguistics. https://doi.org/10.1162/tacl_a_00410
  13. Kadavath, Saurav; Conerly, Tom; Askell, Amanda; Henighan, Tom; Drain, Dawn; Perez, Ethan; Schiefer, Nicholas; Hatfield-Dodds, Zac; DasSarma, Nova; Tran-Johnson, Eli; Johnston, Scott; El-Showk, Sheer; Jones, Andy; Elhage, Nelson; Hume, Tristan; Chen, Anna; Bai, Yuntao; Bowman, Sam; Fort, Stanislav; Ganguli, Deep; Hernandez, Danny; Jacobson, Josh; Kernion, Jackson; Kravec, Shauna; Lovitt, Liane; Ndousse, Kamal; Olsson, Catherine; Ringer, Sam; Amodei, Dario; Brown, Tom; Clark, Jack; Joseph, Nicholas; Mann, Ben; McCandlish, Sam; Olah, Chris; Kaplan, Jared. (2022). Language Models (Mostly) Know What They Know. arXiv preprint. https://arxiv.org/abs/2207.05221
  14. Brier, Glenn W.. (1950). Verification of forecasts expressed in terms of probability. Monthly Weather Review. https://doi.org/10.1175/1520-0493(1950)078<0001:vofeit>2.0.co;2
  15. Xiao, Xin-Yu; Tian, Ye; He, Zhixian; Chen, Qilin; Wang, Shiqi; Xia, Qianchen. (2026). Lunar-R1: Towards Efficient Reasoning of Large Language Models for Lunar Exploration via Reinforcement Learning. Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing: Industry Track. https://aclanthology.org/2026.emnlp-industry.5/.
  16. Zheng, Chujie; Zhou, Hao; Meng, Fandong; Zhou, Jie; Huang, Minlie. (2023). Large Language Models Are Not Robust Multiple Choice Selectors. arXiv preprint. https://arxiv.org/abs/2309.03882
  17. Min, Sewon; Lyu, Xinxi; Holtzman, Ari; Artetxe, Mikel; Lewis, Mike; Hajishirzi, Hannaneh; Zettlemoyer, Luke. (2022). Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing. https://doi.org/10.18653/v1/2022.emnlp-main.759
  18. Kassis, Timothy; Agarwal, Vinayak; He, Yuhuan; Patel, Darshil; Brueckner, Aubrey M.. (2026). Scientific Agent Skills: A Library of Procedural Knowledge for Research Agents. arXiv preprint. https://arxiv.org/abs/2609.00065
  19. Cameron, A. Colin, and Douglas L. Miller. “A Practitioner’s Guide to Cluster-Robust Inference.” Journal of Human Resources, vol. 50, no. 2, 2015, pp. 317–372. https://doi.org/10.3368/jhr.50.2.317.
  20. Qwen; :; Yang, An; Yang, Baosong; Zhang, Beichen; Hui, Binyuan; Zheng, Bo; Yu, Bowen; Li, Chengyuan; Liu, Dayiheng; Huang, Fei; Wei, Haoran; Lin, Huan; Yang, Jian; Tu, Jianhong; Zhang, Jianwei; Yang, Jianxin; Yang, Jiaxi; Zhou, Jingren; Lin, Junyang; Dang, Kai; Lu, Keming; Bao, Keqin; Yang, Kexin; Yu, Le; Li, Mei; Xue, Mingfeng; Zhang, Pei; Zhu, Qin; Men, Rui; Lin, Runji; Li, Tianhao; Tang, Tianyi; Xia, Tingyu; Ren, Xingzhang; Ren, Xuancheng; Fan, Yang; Su, Yang; Zhang, Yichang; Wan, Yu; Liu, Yuqiong; Cui, Zeyu; Zhang, Zhenru; Qiu, Zihan. (2024). Qwen2.5 Technical Report. arXiv preprint. https://arxiv.org/abs/2412.15115
  21. Qwen. (2024). Qwen2.5-0.5B-Instruct-GGUF. Official model card; revision 9217f5db79a29953eb74d5343926648285ec7e67. https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct-GGUF
  22. Harris, Charles R.; Millman, K. Jarrod; van der Walt, Stéfan J.; Gommers, Ralf; Virtanen, Pauli; Cournapeau, David; Wieser, Eric; Taylor, Julian; Berg, Sebastian; Smith, Nathaniel J.; Kern, Robert; Picus, Matti; Hoyer, Stephan; van Kerkwijk, Marten H.; Brett, Matthew; Haldane, Allan; del Río, Jaime Fernández; Wiebe, Mark; Peterson, Pearu; Gérard-Marchant, Pierre; Sheppard, Kevin; Reddy, Tyler; Weckesser, Warren; Abbasi, Hameer; Gohlke, Christoph; Oliphant, Travis E.. (2020). Array programming with NumPy. Nature. https://doi.org/10.1038/s41586-020-2649-2.
  23. Virtanen, Pauli; Gommers, Ralf; Oliphant, Travis E.; Haberland, Matt; Reddy, Tyler; Cournapeau, David; Burovski, Evgeni; Peterson, Pearu; Weckesser, Warren; Bright, Jonathan; van der Walt, Stéfan J.; Brett, Matthew; Wilson, Joshua; Millman, K. Jarrod; Mayorov, Nikolay; Nelson, Andrew R. J.; Jones, Eric; Kern, Robert; Larson, Eric; Carey, C J; Polat, İlhan; Feng, Yu; Moore, Eric W.; VanderPlas, Jake; Laxalde, Denis; Perktold, Josef; Cimrman, Robert; Henriksen, Ian; Quintero, E. A.; Harris, Charles R.; Archibald, Anne M.; Ribeiro, Antônio H.; Pedregosa, Fabian; van Mulbregt, Paul; SciPy 1.0 Contributors; Vijaykumar, Aditya; Bardelli, Alessandro Pietro; Rothberg, Alex; Hilboll, Andreas; Kloeckner, Andreas; Scopatz, Anthony; Lee, Antony; Rokem, Ariel; Woods, C. Nathan; Fulton, Chad; Masson, Charles; Häggström, Christian; Fitzgerald, Clark; Nicholson, David A.; Hagen, David R.; Pasechnik, Dmitrii V.; Olivetti, Emanuele; Martin, Eric; Wieser, Eric; Silva, Fabrice; Lenders, Felix; Wilhelm, Florian; Young, G.; Price, Gavin A.; Ingold, Gert-Ludwig; Allen, Gregory E.; Lee, Gregory R.; Audren, Hervé; Probst, Irvin; Dietrich, Jörg P.; Silterra, Jacob; Webber, James T; Slavič, Janko; Nothman, Joel; Buchner, Johannes; Kulick, Johannes; Schönberger, Johannes L.; de Miranda Cardoso, José Vinícius; Reimer, Joscha; Harrington, Joseph; Rodríguez, Juan Luis Cano; Nunez-Iglesias, Juan; Kuczynski, Justin; Tritz, Kevin; Thoma, Martin; Newville, Matthew; Kümmerer, Matthias; Bolingbroke, Maximilian; Tartre, Michael; Pak, Mikhail; Smith, Nathaniel J.; Nowaczyk, Nikolai; Shebanov, Nikolay; Pavlyk, Oleksandr; Brodtkorb, Per A.; Lee, Perry; McGibbon, Robert T.; Feldbauer, Roman; Lewis, Sam; Tygier, Sam; Sievert, Scott; Vigna, Sebastiano; Peterson, Stefan; More, Surhud; Pudlik, Tadeusz; Oshima, Takuya; Pingel, Thomas J.; Robitaille, Thomas P.; Spura, Thomas; Jones, Thouis R.; Cera, Tim; Leslie, Tim; Zito, Tiziano; Krauss, Tom; Upadhyay, Utkarsh; Halchenko, Yaroslav O.; Vázquez-Baeza, Yoshiki. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods. https://doi.org/10.1038/s41592-019-0686-2.
  24. Petroni, Fabio; Rocktäschel, Tim; Riedel, Sebastian; Lewis, Patrick; Bakhtin, Anton; Wu, Yuxiang; Miller, Alexander. (2019). Language Models as Knowledge Bases?. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). https://doi.org/10.18653/v1/d19-1250
  25. Sclar, Melanie; Choi, Yejin; Tsvetkov, Yulia; Suhr, Alane. (2023). Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting. arXiv preprint. https://arxiv.org/abs/2310.11324
  26. Fawcett, Tom. (2006). An introduction to ROC analysis. Pattern Recognition Letters. https://doi.org/10.1016/j.patrec.2005.10.010
  27. Gebru, Timnit, et al. "Datasheets for datasets" Communications of the ACM, 2021. https://doi.org/10.1145/3458723.
  28. McNemar, Quinn. (1947). Note on the Sampling Error of the Difference Between Correlated Proportions or Percentages. Psychometrika. https://doi.org/10.1007/bf02295996
  29. Wang, Peiyi; Li, Lei; Chen, Liang; Cai, Zefan; Zhu, Dawei; Lin, Binghuai; Cao, Yunbo; Liu, Qi; Liu, Tianyu; Sui, Zhifang. (2023). Large Language Models are not Fair Evaluators. arXiv preprint. https://arxiv.org/abs/2305.17926
  30. Schick, Timo; Schütze, Hinrich. (2021). Exploiting Cloze-Questions for Few-Shot Text Classification and Natural Language Inference. Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume. https://doi.org/10.18653/v1/2021.eacl-main.20

Downloads

Published

2025-06-09