Localizing knowledge in large language model representations
Bu tez size mi ait?
Bu kayıt toplu arşivden geldi. Sizinse profilinize bağlayın.
Özet (EN)
Large language models (LLMs) are very proficient in NLP tasks. In the first part of this work, we evaluate the performance of LLMs on the task of finding the locations of characters inside a long narrative. The objective of the task is to generate the correct answer when the input is a piece of a narrative followed by a question asking the location of a character. For the evaluation of the task, we generate two new datasets by annotating the characters and their locations in the narratives: Andersen and Persuasion. We show that the LLM performance is not satisfactory on these datasets when compared to the simple baseline we designed that does not use machine learning. We also experiment with in-context learning to improve the performance and report results. Moreover, we address the problem that the LLMs are limited by the bounded context length. We hypothesize that if we localize the character-location relation information among the activations inside an LLM, we can store those activations and inject them into other models that are run with a different prompt so that the LLM can answer the questions about the information that was carried from another prompt, even though the character and location relation is not mentioned explicitly in the current prompt. We develop five different techniques to localize the character-location relation information occurring in the LLMs: Moving and adding LLM activations to other prompts, adding noise to LLM activations, checking cosine similarity between LLM activations, editing LLM activations, and visualizing attention scores during answer generation. We report the observations we made using these techniques.
Yazar
Batuhan Özyurt
Kurum
Bu Yayına Nasıl Atıf Yapılır
Batuhan Özyurt (Master Thesis). Localizing knowledge in large language model representations, 2023, Koç University.
Anahtar Kelimeler
Lisans
Tüm Hakları Saklıdır
Bu eser belirtilen lisans koşulları altında paylaşılmaktadır.
Koç University tezlerinden daha fazlası
- Thinking of the ECtHR case law on same-sex marriage from the perspective of modern natural law: An evaluation based on the right to marry under the ECHR(2023)
- Obje tabanlı akıl danışma-tavsiye iletişimi tasarımına ilham kaynağı olarak Türk kahve falı(2017)
- The Making of a medical museum: Recontextualizing the Gülhane medical history collection in Ankara, Türkiye(2024)
- State-building in multi-ethnic borderlands: Nationalizing Eastern Anatolia and Transylvania in interwar Turkey and Romania(2021)
- Unwritten histories of photography: Elisa Zonaro, an Italian photographer in Ottoman Istanbul(2023)
- Cross-cultural and artistic dialogues in the seventeenth century constantinople/istanbul: The Iconography of Madonna della Misericordia and the Galata Icon(2024)
