Back to search

Brock University

Think or Step-by-Step? UnZIPping the Black Box in Zero-Shot Prompts

Abstract

dc:description.abstract

Zero-shot instructional prompts like “Let’s think step-by-step” have dramatically improved Large Language Model (LLM) performance, yet we lack systematic understanding of which words in these prompts drive their effectiveness. Is think or step-by-step more crucial? How much do seemingly minor word choices affect model outputs? We introduce the ZIP score (Zero-shot Importance of Perturbation score), a metric that quantifies individual word importance through systematic perturbations including synonym replacement, co-hyponym substitution, and word removal. Our experiments reveal individual word choices can have unexpected and counterintuitive effects on model performance. Across four flagship models, seven widely-used prompts, and several tasks, we find that: (1) word importance varies significantly by task type, with mathematical tasks prioritizing structured instruction words like “step-by-step” while reasoning tasks favor “think”; (2) proprietary models align more closely with human judgments than open-source ones; (3) nouns consistently show the highest importance (47.4%–65.9%); and (4) ZIP scores inversely correlate with model performance (|r| > 0.9), indicating stronger word-level effects on challenging tasks. These findings advance prompt science, the systematic study of how prompts elicit model behavior, contributing to both more effective prompt design and improved understanding of word-level effects in LLMs.

Degree

thesis:*
Name thesis:degree_name
M.Sc. Computer Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Faculty of Mathematics and Science
Department dc:contributor.department
Department of Computer Science
Grantor dc:publisher
Brock University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Gohari Sadr, Nikta
Advisor dc:contributor.advisor
  • Emami, Ali

Subjects

dc:subject × 1

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10464/19513

Chain of custody

source
Harvested from
Brock University
Base URL
brocku.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Gohari Sadr, Nikta. Think or Step-by-Step? UnZIPping the Black Box in Zero-Shot Prompts. Masters thesis, Brock University, 2025. https://hdl.handle.net/10464/19513