{"id":{"repo_id":"epfl","oai_identifier":"oai:infoscience.epfl.ch:20.500.14299/261885"},"canonical_url":"https://search.ndltd.org/etd/epfl/oai:infoscience.epfl.ch:20.500.14299/261885","repository":{"repo_id":"epfl","name":"EPFL","base_url":"https://infoscience.epfl.ch/server/oai/openaire4"},"display":{"title":"Character-level Adversarial Robustness in Natural Language Processing","abstract":"Neural networks have become increasingly popular tools for natural language processing, being able to perform as general chatbots through Large Language Models (LLMs), perform information retrieval or even generate images and video from text descriptions. Despite their incredible power, naive perturbations, such as replacing a word with a synonym or introducing a typo in the prompt, can lead to unexpectedly large variations in the output of the model. This can be exploited by adversaries to craft prompts (adversarial examples) that lead to malicious outputs from a model, e.g., fooling an LLM into providing instructions to commit a crime. This has fostered the development of automatic tools for obtaining adversarial examples (adversarial attacks), training models that are robust against adversarial examples (adversarial defenses) or certifying that no adversarial example exists (robustness certification). Before this thesis, it was believed that character-level perturbations could be easily avoided by preprocessing prompts with typo-correctors, deeming character-level attacks, defenses and certification methods underexplored. In this thesis, we show that character-level attacks can in fact bypass typo-corrector defenses, becoming an interesting area to study robustness. Additionally, we propose Charmer, an efficient character-level adversarial attack; LEAF, an efficient adversarial training method that we use to finetune large CLIP models and effectively robustify them; LipsLev, the first method to certify text models against character-level perturbations in a single forward pass, being able to handle insertions and deletions of characters. This thesis opens the path to study character-level adversarial robustness further, highlighting the remaining challenges and possible directions to follow.","abstract_html":"Neural networks have become increasingly popular tools for natural language processing, being able to perform as general chatbots through Large Language Models (LLMs), perform information retrieval or even generate images and video from text descriptions. Despite their incredible power, naive perturbations, such as replacing a word with a synonym or introducing a typo in the prompt, can lead to unexpectedly large variations in the output of the model. This can be exploited by adversaries to craft prompts (adversarial examples) that lead to malicious outputs from a model, e.g., fooling an LLM into providing instructions to commit a crime. This has fostered the development of automatic tools for obtaining adversarial examples (adversarial attacks), training models that are robust against adversarial examples (adversarial defenses) or certifying that no adversarial example exists (robustness certification). Before this thesis, it was believed that character-level perturbations could be easily avoided by preprocessing prompts with typo-correctors, deeming character-level attacks, defenses and certification methods underexplored. In this thesis, we show that character-level attacks can in fact bypass typo-corrector defenses, becoming an interesting area to study robustness. Additionally, we propose Charmer, an efficient character-level adversarial attack; LEAF, an efficient adversarial training method that we use to finetune large CLIP models and effectively robustify them; LipsLev, the first method to certify text models against character-level perturbations in a single forward pass, being able to handle insertions and deletions of characters. This thesis opens the path to study character-level adversarial robustness further, highlighting the remaining challenges and possible directions to follow.","abstract_has_math":false,"creators":["Abad Rocamora, Elias"],"institution":"EPFL","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":["Cevher, Volkan"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-03-23T14:50:25Z","date_published":"2026-03-23T14:50:25Z","updated_at":"2026-11-26T13:49:47Z","subjects":["adversarial robustness","natural language processing","adversarial attacks","adversarial defenses","robustness certification"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://infoscience.epfl.ch/handle/20.500.14299/261885"],"render_values":[{"text":"https://infoscience.epfl.ch/handle/20.500.14299/261885","href":"https://infoscience.epfl.ch/handle/20.500.14299/261885","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.5075/epfl-thesis-12359","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.5075/epfl-thesis-12359","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aepfl%3Aoai%3Ainfoscience.epfl.ch%3A20.500.14299%2F261885","prefix":"oai_dc"},"source_record":{"url":"https://infoscience.epfl.ch/server/oai/openaire4?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Ainfoscience.epfl.ch%3A20.500.14299%2F261885","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Cevher, Volkan"]},{"key":"dc:creator","label":"Author","values":["Abad Rocamora, Elias"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-03-23T14:50:25Z","2026-03-23","2026","2026-10-14T20:16:08.715259Z"]},{"key":"dc:publisher","label":"Institution","values":["EPFL","Lausanne"]},{"key":"dc:type","label":"Dc Type","values":["doctoral thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["adversarial robustness","natural language processing","adversarial attacks","adversarial defenses","robustness certification"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["10.5075/epfl-thesis-12359","https://infoscience.epfl.ch/handle/20.500.14299/261885"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Neural networks have become increasingly popular tools for natural language processing, being able to perform as general chatbots through Large Language Models (LLMs), perform information retrieval or even generate images and video from text descriptions. Despite their incredible power, naive perturbations, such as replacing a word with a synonym or introducing a typo in the prompt, can lead to unexpectedly large variations in the output of the model. This can be exploited by adversaries to craft prompts (adversarial examples) that lead to malicious outputs from a model, e.g., fooling an LLM into providing instructions to commit a crime. This has fostered the development of automatic tools for obtaining adversarial examples (adversarial attacks), training models that are robust against adversarial examples (adversarial defenses) or certifying that no adversarial example exists (robustness certification). Before this thesis, it was believed that character-level perturbations could be easily avoided by preprocessing prompts with typo-correctors, deeming character-level attacks, defenses and certification methods underexplored. In this thesis, we show that character-level attacks can in fact bypass typo-corrector defenses, becoming an interesting area to study robustness. Additionally, we propose Charmer, an efficient character-level adversarial attack; LEAF, an efficient adversarial training method that we use to finetune large CLIP models and effectively robustify them; LipsLev, the first method to certify text models against character-level perturbations in a single forward pass, being able to handle insertions and deletions of characters. This thesis opens the path to study character-level adversarial robustness further, highlighting the remaining challenges and possible directions to follow.","LIONS"]},{"key":"dc:source","label":"Dc Source","values":["THESIS"]},{"key":"dc:title","label":"Title","values":["Character-level Adversarial Robustness in Natural Language Processing"]}]}],"canonical_facts":{"dc:contributor":["Cevher, Volkan"],"dc:creator":["Abad Rocamora, Elias"],"dc:date":["2026-03-23T14:50:25Z","2026-03-23","2026","2026-10-14T20:16:08.715259Z"],"dc:description":["Neural networks have become increasingly popular tools for natural language processing, being able to perform as general chatbots through Large Language Models (LLMs), perform information retrieval or even generate images and video from text descriptions. Despite their incredible power, naive perturbations, such as replacing a word with a synonym or introducing a typo in the prompt, can lead to unexpectedly large variations in the output of the model. This can be exploited by adversaries to craft prompts (adversarial examples) that lead to malicious outputs from a model, e.g., fooling an LLM into providing instructions to commit a crime. This has fostered the development of automatic tools for obtaining adversarial examples (adversarial attacks), training models that are robust against adversarial examples (adversarial defenses) or certifying that no adversarial example exists (robustness certification). Before this thesis, it was believed that character-level perturbations could be easily avoided by preprocessing prompts with typo-correctors, deeming character-level attacks, defenses and certification methods underexplored. In this thesis, we show that character-level attacks can in fact bypass typo-corrector defenses, becoming an interesting area to study robustness. Additionally, we propose Charmer, an efficient character-level adversarial attack; LEAF, an efficient adversarial training method that we use to finetune large CLIP models and effectively robustify them; LipsLev, the first method to certify text models against character-level perturbations in a single forward pass, being able to handle insertions and deletions of characters. This thesis opens the path to study character-level adversarial robustness further, highlighting the remaining challenges and possible directions to follow.","LIONS"],"dc:identifier":["10.5075/epfl-thesis-12359","https://infoscience.epfl.ch/handle/20.500.14299/261885"],"dc:language":["eng"],"dc:publisher":["EPFL","Lausanne"],"dc:source":["THESIS"],"dc:subject":["adversarial robustness","natural language processing","adversarial attacks","adversarial defenses","robustness certification"],"dc:title":["Character-level Adversarial Robustness in Natural Language Processing"],"dc:type":["doctoral thesis"]},"updated_at":"2026-11-26T13:49:47Z"}