                                  Large Language Models Can Perform Tasks Without Instruction via Selective Attention Head Masking

                           1.1

                                                                                                                    References

                           1.0

                                                                                                                    AdinaTru. Discover the new multi-lingual, high-quality

                           0.9

                                                                                                                      phi-3.5 slms, August 2024. URL https://aka.ms/

     PPL with respective







                                                                                                                      phi3.5-techblog.

                           0.8



                                                                                                                    Bandarkar, L., Muller, B., Yuvraj, P., Hou, R., Singhal,

                           0.7                                                                                        N., Lv, H., and Liu, B. Layer swapping for zero-shot

                                                                                                                      cross-lingual transfer in large language models. In The

                           0.6

                                                                                                                      Thirteenth International Conference on Learning Rep-

                                                                       en_zh         en_fr           en_de

                           0.5                                         zh_en         fr_en           de_en            resentations, ICLR 2025, Singapore, April 24-28, 2025.

                                 0.0   0.1   0.2   0.3   0.4   0.5    0.6      0.7   0.8       0.9    1.0             OpenReview.net, 2025. URL https://openreview.

                                                         Scaling factor

                                                                                                                      net/forum?id=vQhn4wrQ6j.

Figure 6. PPL of translation tasks when using both explicit instruc-

                                                                                                                    Béna, G. and Goodman, D. F. Dynamics of specialization

tions and task masks, with different scaling factors α. Mark “×”

points to the PPL of the model without instructions.                                                                  in neural modules under resource constraints. Nature

                                                                                                                      Communications, 16(1):187, 2025.



Table 8. BLEU scores for explicitly instructed translation pairs on                                                 Bertolero, M. A., Yeo, B. T., and D’Esposito, M. The

IWSLT2017. Each scaled translation pair uses its own mask with                                                        modular and integrative functional architecture of the

the best scaling factor α shown in Figure 6.                                                                          human brain. Proceedings of the National Academy of

                                                                                                                      Sciences, 112(49):E6798–E6807, 2015.

   Method                                en-zh      en-fr      en-de        zh-en            fr-en      de-en

   Instructed                            0.322     0.699       0.657        0.604          0.739        0.716       Cettolo, M., Federico, M., Bentivogli, L., Niehues, J.,

   w/ M                                  0.347     0.716       0.674        0.610          0.743        0.720         Stüker, S., Sudoh, K., Yoshino, K., and Federmann,

   w/ scaled M                           0.349     0.717       0.678        0.611          0.743        0.719

                                                                                                                      C. Overview of the IWSLT 2017 evaluation cam-

                                                                                                                      paign. In Proceedings of the 14th International Con-

6. Conclusion                                                                                                         ference on Spoken Language Translation, pp. 2–14,

                                                                                                                      Tokyo, Japan, December 14-15 2017. International Work-

In this paper, we discover that LLMs can directly exhibit                                                             shop on Spoken Language Translation. URL https:

functionality solely through combining attention heads, and                                                           //aclanthology.org/2017.iwslt-1.1.

we propose a simple method to identify intrinsic functional

pathways within the model. By focusing on the model’s                                                               Conneau, A., Rinott, R., Lample, G., Williams, A., Bowman,

inherent functionality, we conduct a detailed investigation                                                           S. R., Schwenk, H., and Stoyanov, V. Xnli: Evaluating

into its mechanisms, contributing to the interpretability of                                                          cross-lingual sentence representations. In Proceedings

attention heads and the phenomenon of functional parti-                                                               of the 2018 Conference on Empirical Methods in Natu-

tioning in LLMs. In the future, we plan to extend similar                                                             ral Language Processing. Association for Computational

research to structures such as FFNs and MoE models with                                                               Linguistics, 2018.

the expectation of constructing a comprehensive functional

                                                                                                                    Csordás, R., van Steenkiste, S., and Schmidhuber, J. Are

pathway for the model.

                                                                                                                      neural nets modular? inspecting functional modularity

                                                                                                                      through differentiable weight masks. In 9th International

Acknowledgments                                                                                                       Conference on Learning Representations, ICLR 2021,

                                                                                                                      Virtual Event, Austria, May 3-7, 2021. OpenReview.net,

This work is funded by the China NSFC Projects (92370206,

                                                                                                                      2021. URL https://openreview.net/forum?

U23B2057, 62120106006) and Shanghai Municipal Science

                                                                                                                      id=7uVcpu-gMD.

and Technology Major Project (2021SHZDZX0102).

                                                                                                                    Dalvi, F., Durrani, N., Sajjad, H., Belinkov, Y., Bau, A.,

Impact Statement                                                                                                      and Glass, J. What is one grain of sand in the desert?

                                                                                                                      analyzing individual neurons in deep nlp models. In

This paper advances the interpretability of large language                                                            Proceedings of the AAAI Conference on Artificial Intelli-

models, aiming to make their internal reasoning processes                                                             gence, volume 33, pp. 6309–6317, 2019.

more transparent and understandable to users and develop-

ers. By improving interpretability, we contribute to more                                                           Diez, I., Bonifazi, P., Escudero, I., Mateos, B., Muñoz,

accountable and trustworthy AI systems. There are other                                                               M. A., Stramaglia, S., and Cortes, J. M. A novel brain

many potential societal consequences of our work, none                                                                partition highlights the modular skeleton shared by struc-

which we feel must be specifically highlighted here.                                                                  ture and function. Scientific reports, 5(1):10532, 2015.



                                                                                                                9

