In-context Learning and Induction Heads. Olsson, C., Elhage, N., Nanda, N., Joseph, N., DasSarma, N., Henighan, T., Mann, B., Askell, A., Bai, Y., Chen, A., Conerly, T., Drain, D., Ganguli, D., Hatfield-Dodds, Z., Hernandez, D., Johnston, S., Jones, A., Kernion, J., Lovitt, L., Ndousse, K., Amodei, D., Brown, T., Clark, J., Kaplan, J., McCandlish, S., & Olah, C. September, 2022. arXiv:2209.11895 [cs] version: 1
Paper doi abstract bibtex "Induction heads" are attention heads that implement a simple algorithm to complete token sequences like [A][B] ... [A] -\textgreater [B]. In this work, we present preliminary and indirect evidence for a hypothesis that induction heads might constitute the mechanism for the majority of all "in-context learning" in large transformer models (i.e. decreasing loss at increasing token indices). We find that induction heads develop at precisely the same point as a sudden sharp increase in in-context learning ability, visible as a bump in the training loss. We present six complementary lines of evidence, arguing that induction heads may be the mechanistic source of general in-context learning in transformer models of any size. For small attention-only models, we present strong, causal evidence; for larger models with MLPs, we present correlational evidence.
@misc{olsson_-context_2022,
title = {In-context {Learning} and {Induction} {Heads}},
url = {http://arxiv.org/abs/2209.11895},
doi = {10.48550/arXiv.2209.11895},
abstract = {"Induction heads" are attention heads that implement a simple algorithm to complete token sequences like [A][B] ... [A] -{\textgreater} [B]. In this work, we present preliminary and indirect evidence for a hypothesis that induction heads might constitute the mechanism for the majority of all "in-context learning" in large transformer models (i.e. decreasing loss at increasing token indices). We find that induction heads develop at precisely the same point as a sudden sharp increase in in-context learning ability, visible as a bump in the training loss. We present six complementary lines of evidence, arguing that induction heads may be the mechanistic source of general in-context learning in transformer models of any size. For small attention-only models, we present strong, causal evidence; for larger models with MLPs, we present correlational evidence.},
language = {en},
urldate = {2023-12-03},
publisher = {arXiv},
author = {Olsson, Catherine and Elhage, Nelson and Nanda, Neel and Joseph, Nicholas and DasSarma, Nova and Henighan, Tom and Mann, Ben and Askell, Amanda and Bai, Yuntao and Chen, Anna and Conerly, Tom and Drain, Dawn and Ganguli, Deep and Hatfield-Dodds, Zac and Hernandez, Danny and Johnston, Scott and Jones, Andy and Kernion, Jackson and Lovitt, Liane and Ndousse, Kamal and Amodei, Dario and Brown, Tom and Clark, Jack and Kaplan, Jared and McCandlish, Sam and Olah, Chris},
month = sep,
year = {2022},
note = {arXiv:2209.11895 [cs]
version: 1},
keywords = {\#LLM, /unread, Computer Science - Machine Learning},
}
Downloads: 0
{"_id":"5oeRSiGr9SaRBhRC2","bibbaseid":"olsson-elhage-nanda-joseph-dassarma-henighan-mann-askell-etal-incontextlearningandinductionheads-2022","author_short":["Olsson, C.","Elhage, N.","Nanda, N.","Joseph, N.","DasSarma, N.","Henighan, T.","Mann, B.","Askell, A.","Bai, Y.","Chen, A.","Conerly, T.","Drain, D.","Ganguli, D.","Hatfield-Dodds, Z.","Hernandez, D.","Johnston, S.","Jones, A.","Kernion, J.","Lovitt, L.","Ndousse, K.","Amodei, D.","Brown, T.","Clark, J.","Kaplan, J.","McCandlish, S.","Olah, C."],"bibdata":{"bibtype":"misc","type":"misc","title":"In-context Learning and Induction Heads","url":"http://arxiv.org/abs/2209.11895","doi":"10.48550/arXiv.2209.11895","abstract":"\"Induction heads\" are attention heads that implement a simple algorithm to complete token sequences like [A][B] ... [A] -\\textgreater [B]. In this work, we present preliminary and indirect evidence for a hypothesis that induction heads might constitute the mechanism for the majority of all \"in-context learning\" in large transformer models (i.e. decreasing loss at increasing token indices). We find that induction heads develop at precisely the same point as a sudden sharp increase in in-context learning ability, visible as a bump in the training loss. We present six complementary lines of evidence, arguing that induction heads may be the mechanistic source of general in-context learning in transformer models of any size. For small attention-only models, we present strong, causal evidence; for larger models with MLPs, we present correlational evidence.","language":"en","urldate":"2023-12-03","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Olsson"],"firstnames":["Catherine"],"suffixes":[]},{"propositions":[],"lastnames":["Elhage"],"firstnames":["Nelson"],"suffixes":[]},{"propositions":[],"lastnames":["Nanda"],"firstnames":["Neel"],"suffixes":[]},{"propositions":[],"lastnames":["Joseph"],"firstnames":["Nicholas"],"suffixes":[]},{"propositions":[],"lastnames":["DasSarma"],"firstnames":["Nova"],"suffixes":[]},{"propositions":[],"lastnames":["Henighan"],"firstnames":["Tom"],"suffixes":[]},{"propositions":[],"lastnames":["Mann"],"firstnames":["Ben"],"suffixes":[]},{"propositions":[],"lastnames":["Askell"],"firstnames":["Amanda"],"suffixes":[]},{"propositions":[],"lastnames":["Bai"],"firstnames":["Yuntao"],"suffixes":[]},{"propositions":[],"lastnames":["Chen"],"firstnames":["Anna"],"suffixes":[]},{"propositions":[],"lastnames":["Conerly"],"firstnames":["Tom"],"suffixes":[]},{"propositions":[],"lastnames":["Drain"],"firstnames":["Dawn"],"suffixes":[]},{"propositions":[],"lastnames":["Ganguli"],"firstnames":["Deep"],"suffixes":[]},{"propositions":[],"lastnames":["Hatfield-Dodds"],"firstnames":["Zac"],"suffixes":[]},{"propositions":[],"lastnames":["Hernandez"],"firstnames":["Danny"],"suffixes":[]},{"propositions":[],"lastnames":["Johnston"],"firstnames":["Scott"],"suffixes":[]},{"propositions":[],"lastnames":["Jones"],"firstnames":["Andy"],"suffixes":[]},{"propositions":[],"lastnames":["Kernion"],"firstnames":["Jackson"],"suffixes":[]},{"propositions":[],"lastnames":["Lovitt"],"firstnames":["Liane"],"suffixes":[]},{"propositions":[],"lastnames":["Ndousse"],"firstnames":["Kamal"],"suffixes":[]},{"propositions":[],"lastnames":["Amodei"],"firstnames":["Dario"],"suffixes":[]},{"propositions":[],"lastnames":["Brown"],"firstnames":["Tom"],"suffixes":[]},{"propositions":[],"lastnames":["Clark"],"firstnames":["Jack"],"suffixes":[]},{"propositions":[],"lastnames":["Kaplan"],"firstnames":["Jared"],"suffixes":[]},{"propositions":[],"lastnames":["McCandlish"],"firstnames":["Sam"],"suffixes":[]},{"propositions":[],"lastnames":["Olah"],"firstnames":["Chris"],"suffixes":[]}],"month":"September","year":"2022","note":"arXiv:2209.11895 [cs] version: 1","keywords":"#LLM, /unread, Computer Science - Machine Learning","bibtex":"@misc{olsson_-context_2022,\n\ttitle = {In-context {Learning} and {Induction} {Heads}},\n\turl = {http://arxiv.org/abs/2209.11895},\n\tdoi = {10.48550/arXiv.2209.11895},\n\tabstract = {\"Induction heads\" are attention heads that implement a simple algorithm to complete token sequences like [A][B] ... [A] -{\\textgreater} [B]. In this work, we present preliminary and indirect evidence for a hypothesis that induction heads might constitute the mechanism for the majority of all \"in-context learning\" in large transformer models (i.e. decreasing loss at increasing token indices). We find that induction heads develop at precisely the same point as a sudden sharp increase in in-context learning ability, visible as a bump in the training loss. We present six complementary lines of evidence, arguing that induction heads may be the mechanistic source of general in-context learning in transformer models of any size. For small attention-only models, we present strong, causal evidence; for larger models with MLPs, we present correlational evidence.},\n\tlanguage = {en},\n\turldate = {2023-12-03},\n\tpublisher = {arXiv},\n\tauthor = {Olsson, Catherine and Elhage, Nelson and Nanda, Neel and Joseph, Nicholas and DasSarma, Nova and Henighan, Tom and Mann, Ben and Askell, Amanda and Bai, Yuntao and Chen, Anna and Conerly, Tom and Drain, Dawn and Ganguli, Deep and Hatfield-Dodds, Zac and Hernandez, Danny and Johnston, Scott and Jones, Andy and Kernion, Jackson and Lovitt, Liane and Ndousse, Kamal and Amodei, Dario and Brown, Tom and Clark, Jack and Kaplan, Jared and McCandlish, Sam and Olah, Chris},\n\tmonth = sep,\n\tyear = {2022},\n\tnote = {arXiv:2209.11895 [cs]\nversion: 1},\n\tkeywords = {\\#LLM, /unread, Computer Science - Machine Learning},\n}\n\n\n\n\n\n\n\n","author_short":["Olsson, C.","Elhage, N.","Nanda, N.","Joseph, N.","DasSarma, N.","Henighan, T.","Mann, B.","Askell, A.","Bai, Y.","Chen, A.","Conerly, T.","Drain, D.","Ganguli, D.","Hatfield-Dodds, Z.","Hernandez, D.","Johnston, S.","Jones, A.","Kernion, J.","Lovitt, L.","Ndousse, K.","Amodei, D.","Brown, T.","Clark, J.","Kaplan, J.","McCandlish, S.","Olah, C."],"key":"olsson_-context_2022","id":"olsson_-context_2022","bibbaseid":"olsson-elhage-nanda-joseph-dassarma-henighan-mann-askell-etal-incontextlearningandinductionheads-2022","role":"author","urls":{"Paper":"http://arxiv.org/abs/2209.11895"},"keyword":["#LLM","/unread","Computer Science - Machine Learning"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/zzhenry2012","dataSources":["nZHrFJKyxKKDaWYM8"],"keywords":["#llm","/unread","computer science - machine learning"],"search_terms":["context","learning","induction","heads","olsson","elhage","nanda","joseph","dassarma","henighan","mann","askell","bai","chen","conerly","drain","ganguli","hatfield-dodds","hernandez","johnston","jones","kernion","lovitt","ndousse","amodei","brown","clark","kaplan","mccandlish","olah"],"title":"In-context Learning and Induction Heads","year":2022}