Back to search

Monterey, CA; Naval Postgraduate School

PREDICTING THE AUTHENTICITY OF CODE-SWITCHED TEXT GENERATED BY A LARGE LANGUAGE MODEL

Abstract

dc:description.abstract

Japan is a crucial partner in the U.S. Navy’s effort to remain the premier naval force in an increasingly contested Indo-Pacific region. However, in the current era of generative technologies, like the large language model (LLM) Chat Generative Pre-trained Transformer (ChatGPT), malevolent actors worldwide now possess an unprecedented capability to generate text-based synthetic media able to sow disarray among allies. Consequently, alliances between the United States and its non-English speaking allies, like Japan, can be tested by text-based deepfakes seeking to reinforce their credibility by using the native languages of both countries; fabricated bilingual diplomatic statements, military communiqués, or news articles all possess the potential to upend U.S. global partnerships. Employing the tools of natural language processing (NLP), our research seeks to examine whether we can detect if bilingual text—that which may be created to undermine the relationship between the U.S. and Japan—is “authentic” (that is, human-made) or “inauthentic” (that is, generated by an LLM, namely ChatGPT). We achieved 96% accuracy in our limited trials using logistic regression, with similar results for support vector machine (SVM), k-nearest neighbor (KNN), and naive Bayes models, with each model presenting slightly different misclassifications.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Operations Research
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Operations Research
Department dc:contributor.department
Operations Research (OR)
Grantor dc:publisher
Monterey, CA; Naval Postgraduate School
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Horan, Lucas J.
Advisors dc:contributor.advisor
  • Yoshida, Ruriko
  • Huang, Jefferson
Committee member dc:contributor.committeemember
  • Buttrey, Samuel E.

Rights

dc:rights
Statement dc:rights
  • This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
  • Approved for public release. Distribution is unlimited.

Identifiers

dc:identifier.*
Dc Identifier Programcode
361, Operations Research Logistics Analysis
Thesis Thesis Identifier
39203

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Horan, Lucas J.. PREDICTING THE AUTHENTICITY OF CODE-SWITCHED TEXT GENERATED BY A LARGE LANGUAGE MODEL. Masters thesis, Monterey, CA; Naval Postgraduate School, 2023. https://hdl.handle.net/10945/72358