ASSESSMENT OF HARMFULNESS OF INSTRUCTION-TUNED LARGE LANGUAGE MODEL LLAMA 2 BY SELF-EVALUATION
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
The relatively recent introduction of public large language models like ChatGPT has raised numerous concerns regarding the ethical issues surrounding their application. Their general proficiency in performing natural language tasks, rivaling that of humans, equally potentiates them for harmful use. This study assesses the harmfulness of a seven billion parameter foundational Llama 2 model by Meta (llama2-7b), which has been additionally trained for question answering. This training, referred to as "instruction-tuning" uses an augmented dataset where instructions aimed to censor ("align") the model have been removed, resulting in the designated model llama2-7b-instruction-tuned. The assessment is supported by a self-evaluation method, wherein llama2-7b-instruction-tuned uses its own reasoning to compare the harmfulness of both the foundational and instruction-tuned models. A numerical score is created, representing the strength of the model's potential to output harmful patterns. The self-evaluation results indicate that llama2-7b-instruction-tuned is more harmful than the foundational llama2-7b. The foundational model’s narrative-driven or "anecdotal" character makes it prone to biased and subjective outputs, yet it is surpassed in potential harm by the detailed and coherently structured outputs of llama2-7b-instruction-tuned. In addition, the study highlights the conflict between censorship and task performance in large language models.
Place, publisher, year, edition, pages
2024. , p. 46
Series
UMNAD ; 1511
Keywords [en]
Large Language Models, AI ethics and safety, instruction-tuning, Llama 2, self-evaluation
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:umu:diva-229095OAI: oai:DiVA.org:umu-229095DiVA, id: diva2:1894765
Educational program
Bachelor of Science Programme in Computing Science
Presentation
2024-05-21, MIT C323, Linnaeus väg 49, Umeå, 15:00 (English)
Supervisors
Examiners
2024-09-042024-09-032024-09-04Bibliographically approved