Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
ASSESSMENT OF HARMFULNESS OF INSTRUCTION-TUNED LARGE LANGUAGE MODEL LLAMA 2 BY SELF-EVALUATION
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent 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
Available from: 2024-09-04 Created: 2024-09-03 Last updated: 2024-09-04Bibliographically approved

Open Access in DiVA

fulltext(3100 kB)863 downloads
File information
File name FULLTEXT01.pdfFile size 3100 kBChecksum SHA-512
d33fac83672252b911add29794a31325b802c9da61e07e84d3f00fab083e125cc7803293e1966309f0a756becc9f782840132a35c753d1208263b641c1e1d0a6
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Öberg, Jonas Jakob
By organisation
Department of Computing Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 865 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1210 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf