"<!DOCTYPE html>\n<html lang=\"zh\" data-theme=\"light\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>fulltext.txt — Vercel Design System</title>\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap\" rel=\"stylesheet\">\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css\">\n<style>\n\n:root {\n  /* Vercel Palette */\n  --geist-foreground: #171717;\n  --geist-background: #ffffff;\n  --geist-secondary: #4d4d4d;\n  --geist-tertiary: #666666;\n  --geist-quaternary: #808080;\n  --geist-border: #ebebeb;\n  --geist-surface-tint: #fafafa;\n  \n  /* Workflow Accents */\n  --develop-blue: #0a72ef;\n  --preview-pink: #de1d8d;\n  --ship-red: #ff5b4f;\n  \n  /* Interactive & Status */\n  --link-blue: #0072f5;\n  --ds-focus-color: hsla(212, 100%, 48%, 1);\n  --badge-blue-bg: #ebf5ff;\n  --badge-blue-text: #0068d6;\n  \n  /* Shadow-as-Border Philosophy */\n  --shadow-border: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(0, 0, 0, 0.16) 0px 0px 0px 1px;\n  --shadow-card: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(0, 0, 0, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.06) 0px 4px 6px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-full: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px;\n  --shadow-ring: rgb(235, 235, 235) 0px 0px 0px 1px;\n  \n  /* Radius Scale */\n  --radius-xs: 2px;\n  --radius-sm: 4px;\n  --radius-md: 6px;\n  --radius-lg: 8px;\n  --radius-xl: 12px;\n  --radius-pill: 9999px;\n}\n\n[data-theme=\"dark\"] {\n  --geist-foreground: #ededed;\n  --geist-background: #000000;\n  --geist-secondary: #a1a1a1;\n  --geist-tertiary: #888888;\n  --geist-quaternary: #666666;\n  --geist-border: #222222;\n  --geist-surface-tint: #0a0a0a;\n  \n  --shadow-border: rgba(255, 255, 255, 0.14) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(255, 255, 255, 0.28) 0px 0px 0px 1px;\n  --shadow-card: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.4) 0px 2px 4px, #111111 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 6px 12px, #111111 0px 0px 0px 1px;\n  --shadow-card-full: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 8px 16px -4px, #111111 0px 0px 0px 1px;\n  --shadow-ring: rgb(40, 40, 40) 0px 0px 0px 1px;\n  \n  --badge-blue-bg: rgba(10, 114, 239, 0.15);\n  --badge-blue-text: #70b5ff;\n}\n\n* { box-sizing: border-box; }\nhtml { scroll-behavior: smooth; }\nbody {\n  margin: 0;\n  font-family: \"Geist\", Arial, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n  background-color: var(--geist-background);\n  color: var(--geist-foreground);\n  font-feature-settings: \"liga\" 1;\n  -webkit-font-smoothing: antialiased;\n  min-height: 100vh;\n}\n\na {\n  color: inherit;\n  text-decoration: none;\n  transition: color 0.15s ease;\n}\n\n/* 导航栏 (Vercel Clean Sticky Nav) */\n.vercel-nav {\n  position: sticky;\n  top: 0;\n  background-color: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  z-index: 100;\n  padding: 0 24px;\n  height: 64px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n.nav-brand {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n.vercel-triangle {\n  width: 22px;\n  height: 19px;\n  fill: var(--geist-foreground);\n}\n.nav-title {\n  font-size: 16px;\n  font-weight: 600;\n  letter-spacing: -0.32px;\n  color: var(--geist-foreground);\n}\n.nav-badge-pill {\n  font-family: \"Geist Mono\", ui-monospace, monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  background: var(--badge-blue-bg);\n  color: var(--badge-blue-text);\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n}\n\n.nav-links {\n  display: flex;\n  align-items: center;\n  gap: 24px;\n}\n.nav-link {\n  font-size: 14px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.nav-link:hover, .nav-link.active {\n  color: var(--geist-foreground);\n}\n.nav-link.active {\n  font-weight: 600;\n}\n\n.nav-actions {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n\n/* 按钮规范 */\n.btn-primary-dark {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: opacity 0.15s;\n}\n.btn-primary-dark:hover {\n  opacity: 0.9;\n}\n.btn-secondary-white {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: background 0.15s, box-shadow 0.15s;\n}\n.btn-secondary-white:hover {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border-hover);\n}\n.theme-toggle-btn {\n  background: transparent;\n  border: none;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  width: 36px;\n  height: 36px;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: var(--geist-foreground);\n}\n\n/* 核心容器 */\n.vercel-container {\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 56px 24px 100px;\n}\n\n/* Hero Section (Gallery Emptiness + Negative Letter-spacing) */\n.vercel-hero {\n  text-align: center;\n  max-width: 860px;\n  margin: 0 auto 56px;\n}\n.hero-stage-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 4px 14px;\n  border-radius: var(--radius-pill);\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  margin-bottom: 24px;\n}\n.stage-dot {\n  width: 7px;\n  height: 7px;\n  border-radius: 50%;\n}\n.vercel-hero h1 {\n  font-size: 48px;\n  font-weight: 600;\n  line-height: 1.05;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 16px;\n}\n.vercel-hero p {\n  font-size: 20px;\n  font-weight: 400;\n  line-height: 1.80;\n  color: var(--geist-secondary);\n  margin: 0 auto 28px;\n}\n\n/* Workflow Pipeline (Develop -> Preview -> Ship) */\n.workflow-pipeline {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 768px) {\n  .workflow-pipeline { grid-template-columns: 1fr; }\n}\n.workflow-step {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px 22px;\n  transition: box-shadow 0.2s;\n}\n.workflow-step:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n.step-mono-label {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  margin-bottom: 8px;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n}\n.step-title {\n  font-size: 20px;\n  font-weight: 600;\n  letter-spacing: -0.96px;\n  color: var(--geist-foreground);\n  margin-bottom: 6px;\n}\n.step-desc {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n\n/* Metric Cards (Section 4 Spec) */\n.metric-grid {\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 900px) {\n  .metric-grid { grid-template-columns: repeat(2, 1fr); }\n}\n.metric-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n}\n.metric-number {\n  font-size: 40px;\n  font-weight: 600;\n  line-height: 1.0;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin-bottom: 8px;\n  font-feature-settings: \"tnum\" 1;\n}\n.metric-label {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.4;\n}\n\n/* VAD 专栏 Banner (Ship Red & Vercel Clean) */\n.vad-showcase {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-xl);\n  padding: 32px;\n  margin-bottom: 48px;\n  position: relative;\n}\n.vad-header-row {\n  display: flex;\n  align-items: baseline;\n  justify-content: space-between;\n  flex-wrap: wrap;\n  gap: 12px;\n  margin-bottom: 12px;\n}\n.vad-header-row h2 {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  color: var(--geist-foreground);\n  margin: 0;\n}\n.vad-pillars-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n  gap: 14px;\n  margin-top: 24px;\n}\n.vad-pillar-item {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 14px 16px;\n}\n.vad-pillar-title {\n  font-size: 14px;\n  font-weight: 600;\n  color: var(--ship-red);\n  margin-bottom: 4px;\n}\n.vad-pillar-text {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n.vad-filter-bar {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px;\n  margin: 24px 0 16px;\n  padding: 12px 16px;\n  background: var(--geist-surface-tint);\n  border-radius: var(--radius-md);\n  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);\n}\n.vad-filter-btn {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  font-weight: 500;\n  padding: 6px 14px;\n  border-radius: 9999px;\n  border: none;\n  background: transparent;\n  color: var(--geist-secondary);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.vad-filter-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0,0,0,0.05);\n}\n.vad-filter-btn.active {\n  background: #171717;\n  color: #ffffff;\n}\n.vad-search-input {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  padding: 7px 12px;\n  border-radius: 6px;\n  border: 1px solid var(--geist-border);\n  background: #ffffff;\n  color: var(--geist-foreground);\n  width: 280px;\n  outline: none;\n  transition: border-color 0.15s, box-shadow 0.15s;\n}\n.vad-search-input:focus {\n  border-color: #0a72ef;\n  box-shadow: 0 0 0 2px rgba(10, 114, 239, 0.2);\n}\n\n/* 控制栏：搜索、视图、筛选 */\n.control-bar {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  margin-bottom: 24px;\n  flex-wrap: wrap;\n}\n.search-input-wrap {\n  position: relative;\n  flex: 1;\n  max-width: 480px;\n}\n.search-input {\n  width: 100%;\n  height: 40px;\n  padding: 0 38px 0 14px;\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  color: var(--geist-foreground);\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  outline: none;\n  transition: box-shadow 0.15s;\n}\n.search-input:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n.search-kbd {\n  position: absolute;\n  right: 12px;\n  top: 50%;\n  transform: translateY(-50%);\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  color: var(--geist-quaternary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n\n.view-switcher {\n  display: flex;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  background: var(--geist-background);\n  padding: 2px;\n}\n.view-btn {\n  background: transparent;\n  border: none;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-tertiary);\n  padding: 6px 12px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n  transition: color 0.15s, background 0.15s;\n}\n.view-btn.active {\n  background: var(--geist-surface-tint);\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 筛选芯片行 (Filter Pill Strip) */\n.filter-group-strip {\n  display: flex;\n  flex-direction: column;\n  gap: 12px;\n  margin-bottom: 28px;\n  padding: 16px 20px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-lg);\n}\n.filter-row {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  flex-wrap: wrap;\n}\n.filter-label-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  min-width: 68px;\n}\n.pill-badge {\n  background: var(--geist-background);\n  color: var(--geist-secondary);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 3px 12px;\n  border-radius: var(--radius-pill);\n  font-size: 12px;\n  font-weight: 500;\n  cursor: pointer;\n  transition: all 0.15s;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n}\n.pill-badge:hover {\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border-hover);\n}\n.pill-badge.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  font-weight: 600;\n  box-shadow: none;\n}\n.pill-badge.active-blue {\n  background: var(--develop-blue);\n  color: #ffffff;\n  box-shadow: none;\n}\n.pill-badge.active-red {\n  background: var(--ship-red);\n  color: #ffffff;\n  box-shadow: none;\n}\n\n/* Bento Grid Cards (Section 4 & 6 Spec) */\n.card-grid-bento {\n  display: grid;\n  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));\n  gap: 16px;\n}\n.vercel-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  transition: box-shadow 0.2s, transform 0.2s;\n  text-decoration: none;\n  color: inherit;\n  overflow: hidden;\n  min-width: 0;\n  word-break: break-word;\n}\n.vercel-card:hover {\n  box-shadow: var(--shadow-card-hover);\n  transform: translateY(-2px);\n}\n.card-top {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 12px;\n  gap: 8px;\n}\n.card-tag-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  letter-spacing: 0.5px;\n}\n.status-pill-badge {\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 500;\n  flex-shrink: 0;\n}\n.pub-accepted { background: #ebfdf2; color: #027a48; }\n.pub-workshop { background: #eff8ff; color: #175cd3; }\n.pub-submitted { background: #fff8e6; color: #b54708; }\n.pub-preprint { background: #f2f4f7; color: #475467; }\n.pub-other { background: #f9f5ff; color: #6941c6; }\n\n[data-theme=\"dark\"] .pub-accepted { background: rgba(2, 122, 72, 0.2); color: #32d583; }\n[data-theme=\"dark\"] .pub-workshop { background: rgba(23, 92, 211, 0.2); color: #84caff; }\n[data-theme=\"dark\"] .pub-submitted { background: rgba(181, 71, 8, 0.2); color: #fec84b; }\n[data-theme=\"dark\"] .pub-preprint { background: rgba(71, 84, 103, 0.2); color: #98a2b3; }\n[data-theme=\"dark\"] .pub-other { background: rgba(105, 65, 198, 0.2); color: #d6bbfb; }\n\n/* 必读标杆徽章 (Vercel Amber Accent) */\n.milestone-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 3px;\n  padding: 2px 7px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 600;\n  white-space: nowrap;\n  flex-shrink: 0;\n  transition: all 0.15s ease;\n}\n.milestone-badge.ms-idea, .milestone-badge:not([class*=\"ms-\"]) {\n  color: #b54708;\n  background: #fff8e6;\n  border: 1px solid rgba(247, 144, 9, 0.35);\n  box-shadow: 0 1px 2px rgba(181, 71, 8, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-idea, [data-theme=\"dark\"] .milestone-badge:not([class*=\"ms-\"]) {\n  color: #fec84b;\n  background: rgba(181, 71, 8, 0.22);\n  border-color: rgba(254, 200, 75, 0.35);\n}\n.milestone-badge.ms-writing {\n  color: #6941c6;\n  background: #f9f5ff;\n  border: 1px solid rgba(105, 65, 198, 0.3);\n  box-shadow: 0 1px 2px rgba(105, 65, 198, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-writing {\n  color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.22);\n  border-color: rgba(214, 187, 251, 0.35);\n}\n.milestone-badge.ms-value {\n  color: #027a48;\n  background: #ebfdf2;\n  border: 1px solid rgba(2, 122, 72, 0.3);\n  box-shadow: 0 1px 2px rgba(2, 122, 72, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-value {\n  color: #32d583;\n  background: rgba(2, 122, 72, 0.22);\n  border-color: rgba(50, 213, 131, 0.35);\n}\n\n/* 论文正文图表与插图卡片样式 (Geist Design) */\n.paper-figure, .article-body figure {\n  margin: 32px auto;\n  text-align: center;\n  max-width: 100%;\n}\n.paper-figure img, .article-body img {\n  max-width: 96%;\n  height: auto;\n  border-radius: var(--radius-md);\n  border: 1px solid var(--geist-border);\n  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);\n  background: #ffffff;\n  transition: transform 0.2s ease, box-shadow 0.2s ease;\n  display: block;\n  margin: 0 auto;\n}\n.paper-figure img:hover, .article-body img:hover {\n  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);\n}\n.paper-figure figcaption, .article-body figcaption {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  margin-top: 10px;\n  line-height: 1.6;\n  font-style: italic;\n  max-width: 850px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* VAD 视图切换器 View Switcher */\n.vad-view-switcher {\n  display: inline-flex;\n  padding: 3px;\n  background: var(--geist-secondary-bg);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  margin-bottom: 20px;\n  gap: 2px;\n}\n.view-switch-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  padding: 6px 14px;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  border-radius: 6px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.view-switch-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0, 0, 0, 0.04);\n}\n[data-theme=\"dark\"] .view-switch-btn:hover {\n  background: rgba(255, 255, 255, 0.06);\n}\n.view-switch-btn.active {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  font-weight: 600;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n/* 关系图谱 Graph View Styles */\n.graph-container {\n  position: relative;\n  width: 100%;\n  height: 720px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: var(--radius-lg);\n  overflow: hidden;\n  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);\n  margin-bottom: 40px;\n}\n.graph-toolbar {\n  position: absolute;\n  top: 14px;\n  left: 14px;\n  right: 14px;\n  z-index: 10;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  padding: 8px 14px;\n  border-radius: 8px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.graph-tool-title {\n  font-size: 13px;\n  font-weight: 700;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  color: var(--geist-foreground);\n}\n.graph-filter-group {\n  display: flex;\n  gap: 6px;\n  align-items: center;\n  flex-wrap: wrap;\n}\n.graph-chip {\n  font-size: 11px;\n  padding: 3px 8px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.graph-chip:hover { background: var(--geist-secondary-bg); }\n.graph-chip.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-color: var(--geist-foreground);\n}\n.graph-search-input {\n  padding: 3px 8px;\n  font-size: 11px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  outline: none;\n  width: 150px;\n}\n#vad-graph-svg {\n  width: 100%;\n  height: 100%;\n  cursor: grab;\n}\n#vad-graph-svg:active { cursor: grabbing; }\n.graph-legend {\n  position: absolute;\n  bottom: 14px;\n  left: 14px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  padding: 10px 14px;\n  font-size: 11px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  z-index: 10;\n  line-height: 1.6;\n  pointer-events: none;\n}\n.graph-legend-row { display: flex; align-items: center; gap: 8px; }\n.graph-legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }\n.graph-info-drawer {\n  position: absolute;\n  top: 66px;\n  right: 14px;\n  width: 310px;\n  max-height: 620px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  box-shadow: 0 8px 30px rgba(0,0,0,0.12);\n  z-index: 10;\n  padding: 16px;\n  overflow-y: auto;\n  display: none;\n  backdrop-filter: blur(10px);\n  transition: transform 0.2s ease, opacity 0.2s ease;\n}\n.graph-drawer-close {\n  position: absolute;\n  top: 10px;\n  right: 12px;\n  cursor: pointer;\n  font-size: 16px;\n  color: var(--geist-tertiary);\n}\n.graph-drawer-badge {\n  display: inline-block;\n  padding: 2px 6px;\n  border-radius: 4px;\n  font-size: 10px;\n  font-weight: 600;\n  margin-bottom: 6px;\n}\n.graph-drawer-title {\n  font-size: 13px;\n  font-weight: 700;\n  line-height: 1.4;\n  margin-bottom: 8px;\n  color: var(--geist-foreground);\n}\n.graph-drawer-meta {\n  font-size: 11px;\n  color: var(--geist-secondary);\n  margin-bottom: 12px;\n}\n.graph-drawer-core {\n  font-size: 12px;\n  line-height: 1.6;\n  color: var(--geist-foreground);\n  background: var(--geist-secondary-bg);\n  padding: 8px 10px;\n  border-radius: 6px;\n  margin-bottom: 12px;\n  border: 1px solid var(--geist-border);\n}\n.graph-drawer-link {\n  display: block;\n  text-align: center;\n  padding: 7px 12px;\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-radius: 6px;\n  font-size: 12px;\n  font-weight: 600;\n  text-decoration: none;\n  transition: opacity 0.15s ease;\n  margin-bottom: 6px;\n}\n.graph-drawer-link:hover { opacity: 0.85; }\n.graph-drawer-pdf-link {\n  display: block;\n  text-align: center;\n  padding: 6px 12px;\n  background: var(--geist-secondary-bg);\n  color: var(--geist-foreground);\n  border: 1px solid var(--geist-border);\n  border-radius: 6px;\n  font-size: 11px;\n  font-weight: 500;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.graph-drawer-pdf-link:hover { background: var(--geist-border); }\n.node-circle {\n  cursor: pointer;\n  transition: r 0.2s, stroke-width 0.2s;\n}\n.node-label {\n  font-size: 10px;\n  font-weight: 600;\n  fill: var(--geist-foreground);\n  pointer-events: none;\n  text-shadow: 0 1px 2px var(--geist-background);\n}\n.link-line {\n  stroke: var(--geist-border);\n  stroke-opacity: 0.6;\n  stroke-width: 1.2;\n  transition: stroke 0.2s, stroke-width 0.2s, stroke-opacity 0.2s;\n}\n.link-label {\n  font-size: 9px;\n  fill: var(--geist-tertiary);\n  pointer-events: none;\n  text-anchor: middle;\n}\n\n/* 引用框与警示框 Alerts */\n.callout-alert {\n  margin: 20px 0;\n  padding: 14px 18px;\n  border-radius: var(--radius-md);\n  transition: all 0.15s ease;\n}\n.callout-important, .callout-idea {\n  border-left: 4px solid #b54708;\n  background: rgba(181, 71, 8, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(247, 144, 9, 0.3);\n}\n[data-theme=\"dark\"] .callout-important, [data-theme=\"dark\"] .callout-idea {\n  border-left-color: #fec84b;\n  background: rgba(181, 71, 8, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(254, 200, 75, 0.25);\n}\n.callout-writing {\n  border-left: 4px solid #6941c6;\n  background: rgba(105, 65, 198, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(105, 65, 198, 0.3);\n}\n[data-theme=\"dark\"] .callout-writing {\n  border-left-color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(214, 187, 251, 0.25);\n}\n.callout-value {\n  border-left: 4px solid #027a48;\n  background: rgba(2, 122, 72, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(2, 122, 72, 0.3);\n}\n[data-theme=\"dark\"] .callout-value {\n  border-left-color: #32d583;\n  background: rgba(2, 122, 72, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(50, 213, 131, 0.25);\n}\n\n.card-title {\n  font-size: 16.5px;\n  font-weight: 600;\n  line-height: 1.42;\n  letter-spacing: -0.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 10px;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n  hyphens: auto;\n}\n.card-title a {\n  color: var(--geist-foreground);\n  text-decoration: none;\n  display: inline;\n  transition: color 0.15s ease;\n}\n.card-title a:hover {\n  color: var(--develop-blue);\n  text-decoration: none;\n}\n.card-id-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-quaternary);\n  margin-right: 5px;\n}\n.card-meta-row {\n  display: flex;\n  gap: 6px;\n  flex-wrap: wrap;\n  margin-bottom: 12px;\n}\n.meta-token {\n  font-size: 12px;\n  color: var(--geist-tertiary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-ring);\n  padding: 2px 7px;\n  border-radius: var(--radius-sm);\n  white-space: nowrap;\n}\n.card-body-text {\n  font-size: 13.5px;\n  color: var(--geist-secondary);\n  line-height: 1.6;\n  margin-bottom: 16px;\n  flex-grow: 1;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n}\n.card-body-text strong {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n.card-footer {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 14px;\n}\n.card-link-action {\n  font-size: 13.5px;\n  font-weight: 500;\n  color: var(--link-blue);\n  display: inline-flex;\n  align-items: center;\n  gap: 4px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.card-link-action:hover {\n  opacity: 0.85;\n  transform: translateX(2px);\n}\na.meta-token {\n  transition: all 0.15s ease;\n  cursor: pointer;\n  text-decoration: none;\n}\na.meta-token:hover {\n  background: var(--geist-selection);\n  color: var(--geist-foreground);\n  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);\n}\n\n/* 紧凑列表视图 (List View) */\n.card-list-view {\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n}\n.list-row-item {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-md);\n  padding: 12px 18px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  transition: box-shadow 0.15s;\n}\n.list-row-item:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n\n/* 阅读详情页 (Report Detail) */\n.reading-container {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 260px;\n  gap: 40px;\n  align-items: start;\n}\n@media (max-width: 960px) {\n  .reading-container { grid-template-columns: 1fr; }\n  .reading-sidebar { display: none; }\n}\n\n.report-header-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 28px 32px;\n  margin-bottom: 28px;\n}\n.crumb-bar {\n  font-size: 13px;\n  color: var(--geist-tertiary);\n  margin-bottom: 10px;\n}\n.report-title {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  margin: 0 0 16px;\n  color: var(--geist-foreground);\n}\n.report-action-buttons {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  flex-wrap: wrap;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 16px;\n  margin-top: 16px;\n}\n\n.article-body {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 36px 42px 80px;\n  font-size: 16px;\n  line-height: 1.75;\n  color: var(--geist-foreground);\n}\n.article-body h1, .article-body h2, .article-body h3 {\n  color: var(--geist-foreground);\n  scroll-margin-top: 80px;\n}\n.article-body h1 { font-size: 28px; font-weight: 600; letter-spacing: -1.28px; border-bottom: 1px solid var(--geist-border); padding-bottom: 8px; margin-top: 32px; }\n.article-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.96px; border-bottom: 1px solid var(--geist-border); padding-bottom: 6px; margin-top: 36px; }\n.article-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.32px; margin-top: 26px; }\n.article-body table {\n  width: 100%;\n  border-collapse: collapse;\n  margin: 24px 0;\n  font-size: 14px;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  overflow: hidden;\n}\n.article-body th, .article-body td {\n  padding: 10px 14px;\n  text-align: left;\n  border-bottom: 1px solid var(--geist-border);\n}\n.article-body th {\n  background: var(--geist-surface-tint);\n  font-weight: 600;\n  color: var(--geist-foreground);\n}\n.article-body blockquote {\n  border-left: 2px solid var(--geist-foreground);\n  margin: 20px 0;\n  padding: 8px 18px;\n  color: var(--geist-secondary);\n  font-style: normal;\n}\n.article-body code {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13.5px;\n  box-shadow: var(--shadow-ring);\n  background: var(--geist-surface-tint);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n.article-body pre {\n  position: relative;\n  background: #000000;\n  color: #ededed;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 18px;\n  margin: 24px 0;\n  overflow-x: auto;\n}\n.article-body pre code {\n  background: transparent;\n  box-shadow: none;\n  padding: 0;\n  color: inherit;\n  font-size: 13px;\n}\n.copy-code-btn {\n  position: absolute;\n  top: 8px;\n  right: 10px;\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  background: #171717;\n  color: #ffffff;\n  border: 1px solid #333333;\n  padding: 3px 8px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n}\n\n/* 侧边大纲 (TOC) */\n.reading-sidebar {\n  position: sticky;\n  top: 80px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  max-height: calc(100vh - 100px);\n  overflow-y: auto;\n}\n.sidebar-toc-title {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  color: var(--geist-quaternary);\n  margin-bottom: 12px;\n}\n.reading-sidebar ul {\n  list-style: none;\n  padding-left: 0;\n  margin: 0;\n  font-size: 13px;\n}\n.reading-sidebar li {\n  margin: 6px 0;\n}\n.reading-sidebar ul ul {\n  padding-left: 14px;\n}\n.reading-sidebar a {\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.reading-sidebar a:hover, .reading-sidebar a.active {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 后台管理 (/admin) */\n.admin-card-container {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 32px;\n  margin-bottom: 32px;\n}\n.form-row-2 {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 16px;\n  margin-bottom: 16px;\n}\n@media (max-width: 600px) {\n  .form-row-2 { grid-template-columns: 1fr; }\n}\n.form-field {\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n  margin-bottom: 16px;\n}\n.form-field label {\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-foreground);\n}\n.form-field input, .form-field select, .form-field textarea {\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  padding: 9px 12px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  color: var(--geist-foreground);\n  outline: none;\n}\n.form-field input:focus, .form-field select:focus, .form-field textarea:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n\n/* 语法高亮 (Console Blue / Purple / Pink) */\n.codehilite .k, .codehilite .kd, .codehilite .kn { color: #eb367f; font-weight: 500; }\n.codehilite .s, .codehilite .s1, .codehilite .s2 { color: #0070f3; }\n.codehilite .nf, .codehilite .na { color: #7928ca; font-weight: 500; }\n.codehilite .c, .codehilite .c1 { color: #666666; font-style: italic; }\n.codehilite .mi, .codehilite .mf { color: #ff5b4f; }\n\n</style>\n\n</head>\n<body>\n\n    <nav class=\"vercel-nav\">\n      <div class=\"nav-brand\">\n        <a href=\"/\" style=\"display:flex;align-items:center;gap:10px;text-decoration:none\">\n          <svg class=\"vercel-triangle\" viewBox=\"0 0 76 65\" fill=\"none\">\n            <path d=\"M37.5274 0L75.0548 65H0L37.5274 0Z\" fill=\"currentColor\"/>\n          </svg>\n          <span class=\"nav-title\">Agent Harness KB</span>\n        </a>\n        <span class=\"nav-badge-pill\">Geist 2.0</span>\n      </div>\n\n      <div class=\"nav-links\">\n        <a class=\"nav-link \" href=\"/\">全景总览</a>\n        <a class=\"nav-link \" href=\"/vad\" style=\"color:var(--ship-red)\">🎯 VAD 专栏 (144)</a>\n        <a class=\"nav-link\" href=\"https://m0rtzz.github.io/paper-notes/\" target=\"_blank\" rel=\"noopener\">顶会 669 篇 ↗</a>\n        <a class=\"nav-link\" href=\"/download/all\">整库打包</a>\n        \n      </div>\n\n      <div class=\"nav-actions\">\n        \n        <button class=\"theme-toggle-btn\" id=\"theme-toggle-btn\" onclick=\"toggleTheme()\" title=\"切换亮暗主题\">🌙</button>\n      </div>\n    </nav>\n    \n<main class=\"vercel-container\">\n\n        <div class=\"report-header-card\">\n          <div class=\"crumb-bar\"><a href=\"/\">Home</a> / <b>fulltext.txt</b></div>\n          <h1 class=\"report-title\">fulltext.txt</h1>\n          <div class=\"report-action-buttons\">\n            <a class=\"btn-primary-dark\" href=\"?dl=1\">Download Text</a>\n          </div>\n        </div>\n        <article class=\"article-body\"><pre><code>STaR: Self-Taught Reasoner\n\narXiv:2203.14465v2 [cs.LG] 20 May 2022\n\nBootstrapping Reasoning With Reasoning\n\nEric Zelikman∗1 , Yuhuai Wu∗12 , Jesse Mu1 , Noah D. Goodman1\n1\nDepartment of Computer Science, Stanford University\n2\nGoogle Research\n{ezelikman, yuhuai, muj, ngoodman}@stanford.edu\n\nAbstract\nGenerating step-by-step \"chain-of-thought\" rationales improves language model\nperformance on complex reasoning tasks like mathematics or commonsense\nquestion-answering. However, inducing language model rationale generation currently requires either constructing massive rationale datasets or sacrificing accuracy\nby using only few-shot inference. We propose a technique to iteratively leverage a\nsmall number of rationale examples and a large dataset without rationales, to bootstrap the ability to perform successively more complex reasoning. This technique,\nthe \"Self-Taught Reasoner\" (STaR), relies on a simple loop: generate rationales to\nanswer many questions, prompted with a few rationale examples; if the generated\nanswers are wrong, try again to generate a rationale given the correct answer; finetune on all the rationales that ultimately yielded correct answers; repeat. We show\nthat STaR significantly improves performance on multiple datasets compared to a\nmodel fine-tuned to directly predict final answers, and performs comparably to finetuning a 30× larger state-of-the-art language model on CommensenseQA. Thus,\nSTaR lets a model improve itself by learning from its own generated reasoning.\n\n1\n\nIntroduction\n\nHuman decision-making is often the result of extended chains of thought [1, 2]. Recent work has\nshown that explicit intermediate reasoning (“rationales”) can improve large language model (LLM)\nperformance as well [3–8]. For example, [5] demonstrated that LLMs explicitly trained to use\n“scratchpads” for intermediate steps can attain perfect in-distribution performance on arithmetic,\nand strong out-of-distribution generalization, while models trained to predict answers directly fail\nto do either. These works suggest that generating explicit rationales before giving a final answer\n(“rationale generation”) is valuable for LLMs across diverse tasks including mathematical reasoning,\ncommonsense reasoning, code evaluation, social bias inference, and natural language inference.\nHowever, the two primary methods for inducing rationale generation both have serious drawbacks.\nOne approach to rationale generation is the construction of a fine-tuning dataset of rationales, either\nmanually by human annotators or automatically with hand-crafted templates [3–5, 9]. Manual\nmethods are expensive, and it is infeasible to construct such a dataset for each interesting problem\n[3]. Meanwhile, template-based methods rely on automatically-generated rationales but only work\nwhen a general solution is already known [5] or reasonable hard-coded heuristics can be made [4].\nAn alternative is to leverage in-context learning by including only a few rationale examples in the\nlanguage model prompt. This has been shown to improve accuracy on mathematical and symbolic\nreasoning tasks relative to prompting without rationales (“direct” prompting) [5, 6]. Yet, while fewshot techniques with rationales tend to outperform their non-reasoning counterparts, they generally\nsubstantially underperform models fine-tuned to directly predict answers using larger datasets [5, 6].\n*\n\nThese authors contributed equally to this work\n\n\fQuestion, Rationale, Answer\n\nCorrect\nAnswer\n\nFinetune\n\nLanguage\nModel\n\nQuestion\n\nRationale\nGeneration\n\nRationale, Answer\n\nRationalize\nWrong\nAnswer\n\nRationale, Answer\n\nHint\n\nQ: What can be used\nto carry a small dog?\nAnswer Choices:\n(a) swimming pool\n(b) basket\n(c) dog show\n(d) backyard\n(e) own home\nA: The answer must be\nsomething that can be\nused to carry a small\ndog. Baskets are\ndesigned to hold things.\nTherefore, the answer\nis basket (b).\n\nFigure 1: An overview of STaR and a STaR-generated rationale on CommonsenseQA. We indicate\nthe fine-tuning outer loop with a dashed line. The questions and ground truth answers are expected to\nbe present in the dataset, while the rationales are generated using STaR.\nIn this paper, we adopt a different approach: by leveraging the LLM’s pre-existing reasoning ability,\nwe iteratively bootstrap the ability to generate high-quality rationales. Specifically, we few-shot\nprompt a large language model to self-generate rationales and refine the model’s ability further by\nfine-tuning on those rationales that lead to correct answers. We repeat this procedure, using the\nimproved model to generate the next training set each time. This is a synergistic process, where\nimprovements in rationale generation improve the training data, and improvements in training data\nfurther improve rationale generation.\nHowever, we find this loop eventually fails to solve any new problems in the training set because it\nreceives no direct training signal for problems it fails to solve. To overcome this issue, we propose\nrationalization: for each problem that the model fails to answer correctly, we generate a new rationale\nby providing the model with the correct answer. This lets the model reason backward—given the\ncorrect answer, the model can more easily generate a useful rationale. These rationales are then\ncollected as part of the training data, which often improves overall accuracy.\nWe thus develop the Self-Taught Reasoner (STaR, Fig. 1) method, a scalable bootstrapping method\nallowing models to learn to generate their own rationales, while also learning to solve increasingly\ndifficult problems. In our method, we repeat the following process: in each iteration, first construct a\nfinetuning dataset by attempting to solve the dataset using the current model’s rationale generation\nability; then, augment this dataset using rationalization, justifying ground-truth answers to problems\nthe model failed to solve; finally, finetune the large language model on the combined dataset.\nApplying STaR on arithmetic, math word problems, and commonsense reasoning, we observe it is\nable to effectively translate a small number of few-shot prompts into a large rationale dataset, yielding\ndramatic performance improvements. On CommonsenseQA [10], we find STaR improves over both\na few-shot baseline (+35.9%) and a baseline fine-tuned to directly predict answers (+12.5%) , and\nperforms comparably to a fine-tuned model that is 30× larger (72.5% vs. 73.0%).\nThus, we make the following contributions:\n1. We propose a bootstrapping mechanism to iteratively generate a rationale dataset from a few\ninitial examples with rationales—without needing to check new rationales’ correctness.\n2. We complement rationale generation with rationalization, where a model is tasked with\njustifying an answer and then fine-tuned as if it had come up with the rationale without any\nhint. We show rationalization accelerates and improves the bootstrapping process.\n3. We evaluate these techniques with a variety of ablations in both mathematical and commonsense reasoning domains.\n4. We propose what is, to our knowledge, the first technique to allow a pre-trained large\nlanguage model to iteratively use its language modeling capacity to improve itself.\n2\n\n\f2\n\nBackground and Related Work\n\nIn-context Learning Recently, a collection of works has emerged exploring the capacity for large\nlanguage models to perform in-context learning [11, 12]. In essence, in-context learning treats\nfew-shot learning as a language modeling problem, by showing a few examples in the context (i.e.\nprompt), and allowing the model to learn and identify the pattern to apply to new examples. Some\nhave studied in-context learning based on the language modeling objective in terms of Bayesian\ninference [13] while others have attempted to describe the process more mechanistically in terms\nof “induction heads” [14]. Moreover, differences in prompt configurations have been known to have\ndramatic effects on few-shot performance. Some have even found that replacing few-shot prompts\nwith a “soft prompt” which can be optimized in embedding space results in noticeable gains [15].\nInstead of emphasizing the representation of the question, we focus on the model output; in particular,\nwe focus on the model’s ability to reason through a problem before coming to a conclusion.\nRationales One of the initial works on the impact of rationales on language model performance was\n[3], showing that training a language model on a dataset with explicit rationales preceding the answer\ncould improve a model’s ability to generate the final answer. However, this required many thousands\nof training examples to be manually annotated with human reasoning. Recently, [5] demonstrated\nthat step-by-step “scratchpads” can improve fine-tuned LLM performance and generalization on\ntasks such as arithmetic, polynomial evaluation, and program evaluation. Similarly, [6] used a single\nfew-shot “chain-of-thought” reasoning prompt in order to improve model performance on a collection\nof tasks, without fine-tuning. Finally, [16] showed that a curriculum learning approach could help\nsolve formal math problems, as long as 1) they were translated into Lean (a theorem-proving language\n[17]), 2) one could directly evaluate the validity of the proofs, 3) one could sample numerous potential\nsolutions for each problem, 4) had trained a separate value function model, and 5) started with GPT-f\n(a model already fine-tuned on a large math dataset [18]). We note that there are many domains where\nthese conditions do not all apply. In addition, works have aimed to explain why rationales have this\nbeneficial effect: some have analyzed their impact from the perspective of latent variable models [19]\nwhile others have provided formal proofs of the benefit of intermediate task supervision [20].\nIterated Learning A variety of iterated learning algorithms have been proposed, where solutions\nor successful methods which are found are in turn used to find additional solutions [21, 22, 16]. [21]\nintroduced Expert Iteration (ExIt), a reinforcement learning technique serving as an inspiration for\nour approach. Essentially, it consists of a loop of self-play by an “apprentice,” followed by imitation\nlearning with feedback from a slower “expert” and then the replacement of the expert with the nowimproved apprentice. [16] builds off of ExIt for formal reasoning, while [22] applies iterated learning\nto visual question answering using modular networks which can be combined compositionally. There\nare further similarities between STaR and expert iteration methods [21]. For example, filtering\ngenerated examples based on whether their ultimate answer matches the target can be seen as expert\nfeedback. However, we have a fixed “expert” and do not train a separate value function.\nNatural Language Explanations Natural language explanations have also been discussed from the\nperspective of explainable machine learning, focusing on justification rather than reasoning [23, 24].\nThe motivation for this line of work is largely grounded in explainable decision making, and similarly\nto [3], generally does not find that requiring post-hoc explanations improves model performance.\n\n3\n\nMethod\n\n3.1\n\nRationale Generation Bootstrapping (STaR Without Rationalization)\n\nWe are given a pretrained LLM M and an initial dataset of problems x with answers y: D =\n{(xi , yi )}D\ni=1 . Our technique starts with a small prompt set P of examples with intermediate rationales r: P = {(xpi , rip , yip )}P\ni=1 , where P \u001c D (e.g. P = 10). Like standard few-shot prompting, we\nconcatenate this prompt set to each example in D, i.e. xi = (xp1 , r1p , y1p , . . . , xpP , rPp , yPp , xi ), which\nencourages the model to produce a rationale r̂i for xi followed by an answer ŷi . We assume that\nrationales that lead to correct answers are of better quality than those that lead to incorrect answers.\nTherefore, we filter the generated rationales to include only the ones which result in the correct\nanswer (ŷi = yi ). We fine-tune the base model M on this filtered dataset, and then restart this process\nby generating the new rationales with the newly fine-tuned model. We keep repeating this process\nuntil the performance plateaus. Note that during this process, once we collect a new dataset, we train\nfrom the original pre-trained model M instead of continually training one model to avoid overfitting.\nWe provide an outline of this algorithm in Algorithm 1.\n3\n\n\fSTaR can be seen as an approximation to an RL-style policy gradient objective.\nTo see this, note\nP\nthat M can be viewed as a discrete latent variable model pM (y | x) = r p(r | x)p(y | x, r); in\nother words, M first samples a latent rationale r before predicting y. Now, given the indicator reward\nfunction 1(ŷ = y), the total expected reward across the dataset is\nX\nJ(M, X, Y ) =\nEr̂i ,ŷi ∼pM (·|xi ) 1(ŷi = yi ),\n(1)\ni\n\n∇J(M, X, Y ) =\n\nX\n\nEr̂i ,ŷi ∼pM (·|xi ) [1(ŷi = yi ) · ∇ log pM (ŷi , r̂i | xi )] ,\n\n(2)\n\ni\n\nwhere the gradient is obtained via the standard log-derivative trick for policy gradients. Note that\nthe indicator function discards the gradient for all sampled rationales that do not lead to the correct\nanswer yi : this is the filtering process in STaR (Line 5). Thus, STaR approximates J by (1) greedily\ndecoding samples of (r̂i , ŷi ) to reduce variance of this estimate (at the cost of potentially biased\nexploration of rationales), and (2) taking multiple gradient steps on the same batch of data (similar\nto some policy gradient algorithms [25]). These approximations make STaR a simple and broadly\napplicable method that can be implemented with standard LLM training machinery; future work\nshould more closely investigate the link between STaR and the RL objective above.\n3.2\n\nRationalization\nQ: Where do you put your grapes just\n\nThe rationale generation bootstrapping algorithm car- before checking out?\nries a limitation. Since the model is only trained on Answer Choices:\nthe examples which it answers correctly, improve- (a) mouth\nment ends when the model fails to solve new prob- (b) grocery cart (CORRECT)\n(c) super market\nlems in the training set. This is fundamentally due (d) fruit basket\nto the fact that the algorithm cannot obtain any train- (e) fruit market\ning signal from failed examples. Inspired by [3], we A: The answer should be the place\npropose a technique we call “rationalization”. Specif- where grocery items are placed before\nically, we provide the answer as a hint to the model checking out. Of the above choices,\nand ask it to generate rationales in the same style grocery cart makes the most sense for\nas in the previous rationale generation step. Given holding grocery items. Therefore,\nthe answer, the model is able to reason backwards, the answer is grocery cart (b).\nand hence more easily generate a rationale that leads Figure 2: A few-shot prompt hint we use for\nto the correct answer. For example, in Figure 2, we rationalization (and not for rationale generprovide the hint that ”(b) grocery cart” is the cor- ation), using the rationale from [6], with its\nrect answer in the prompt to generate the rationale. hint included in green, followed by the ratioWe apply rationalization to the problems which the nale and the answer generated by the model.\nmodel failed to solve with rationale generation. When\nadding a rationalization-generated rationale to our dataset, we do not include the hint in its corresponding prompt, as if the model had come up with the rationale without the hint. After filtering, we\nfine-tune on the previously generated dataset combined with the rationalization-generated dataset.\nAlgorithm 1 STaR\nInput M : a pretrained LLM; dataset D = {(xi , yi )}D\ni=1 (w/ few-shot prompts)\n1: M0 ← M # Copy the original model\n2: for n in 1...N do # Outer loop\n3:\n(r̂i , ŷi ) ← Mn−1 (xi ) ∀i ∈ [1, D] # Perform rationale generation\n4:\n(r̂irat , ŷirat ) ← Mn−1 (add_hint(xi , yi )) ∀i ∈ [1, D] # Perform rationalization\n5:\nDn ← {(xi , r̂i , yi ) | i ∈ [1, D] ∧ ŷi = yi } # Filter rationales using ground truth answers\n6:\nDnrat ← {(xi , r̂irat , yi ) | i ∈ [1, D] ∧ ŷi 6= yi ∧ ŷirat = yi } # Filter rationalized rationales\n7:\nMn ← train(M, Dn ∪ Dnrat ) # Finetune the original model on correct solutions - inner loop\n8: end for\nAlgorithm 1 describes the full algorithm, with the parts in blue corresponding to rationalization.\nWithout those parts, Algorithm 1 corresponds to STaR without rationalization. Figure 1 provides an\noverview diagram. Fine-tuning on the dataset generated by rationalization has a crucial benefit of\nexposing the model to difficult problems which otherwise would not have appeared in its finetuning\ndataset. This can be understood as challenging the model to “think outside the box” about problems\non which it was unsuccessful. A secondary benefit of rationalization is an increase in dataset size.\n4\n\n\f4\n\nExperiments\n\nFor our experiments, we focus on arithmetic, commonsense reasoning, and grade school math to\ndemonstrate STaR’s breadth. In particular, for arithmetic, we follow a setup inspired by [5]. For\ncommonsense question-answering we follow [13, 6] and use CommonsenseQA (CQA), a widely\nused multiple-choice dataset for this domain [10]. For grade school math, we use GSM8K from [9].\n4.1\n\nExperimental Protocol\n\nWe used GPT-J as our base language model, and the fine-tuning script from the GPT-J repository\n[26]. We chose GPT-J, a 6B-parameter model, because the checkpoint and fine-tuning code are\npublicly available [26], and the model is large enough to generate rationales of non-trivial quality to\nbe bootstrapped from. More hyperparameter details about GPT-J and our fine-tuning are included\nin Appendix H. Following the default setting of [26], we perform a 100-step learning rate warmup,\nfrom which point we use a constant learning rate. Unless stated otherwise, we start with 40 training\nsteps at the first outer loop, and increase the number of fine-tuning training steps by 20% with each\nouter loop. In general, we found that training more slowly at the beginning ultimately benefits\nmodel performance. We expect that further improvement is possible via a thorough hyperparameter\nsearch—we leave this to future work due to computational constraints.\nFor arithmetic problems, we first generate a dataset of 50,000 randomly sampled questions (uniformly\nover the digit lengths) in the format introduced by [5]. For each outer loop iteration on arithmetic,\nwe sample 10,000 problems from the dataset. We use 10 random few-shot rationale examples for\neach digit for its corresponding few-shot prompt. For each of the 9, 741 questions in the training set\nof CommonsenseQA, we add the question to the few-shot rationale prompt, and prompt the model\nto generate the rationale and answer for that question. For few shot prompting on CQA, we start\nwith the same 10 questions as used in [6], with the rationales modified slightly to fix an incorrect\nanswer and to more explicitly reference relevant knowledge. We include these modified prompts in\nAppendix B1 . These prompts serve as our complete set of explanations. We run STaR until we see\nperformance saturate, and we report the best results.\nWhen performing rationalization, we find that the choice to include or omit few-shot prompts on\nouter-loop iterations after the first iteration does not have a substantial impact on the method’s ultimate\nperformance. However, there are some nuances which we discuss further in Section 5, leading us to\nuse few-shot prompts unless stated otherwise.\n4.2 Datasets\nArithmetic The arithmetic task is to calculate the sum of two ndigit integers. We generate the dataset based on the descriptions\nin [5] and visualize an example scratchpad in Figure 3. Everything\nup to and including “Target:” is given as part of a prompt, and\nthe model is asked to generate the scratchpad (start/end indicated\nby “&lt;scratch&gt;”) and the final answer, as in [5]. Each line of the\nscratchpad corresponds to the summation of each pair of digits from\nthe final digit to the first digit, the accumulating final digits of the\nanswer, and a carry digit corresponding to whether the previous pair\nsummed to at least 10. We include few-shot prompts for 1 to 5 digits.\nWhen performing rationalization, we include the correct answer after\n“Target” and query the model to produce the scratchpad and then\nreproduce the correct answer following the scratchpad.\n\nInput:\n6 2 4 + 2 5 9\nTarget:\n&lt;scratch&gt;\n6 2 4 + 2 5 9 , C: 0\n2 + 5 , 3 C: 1\n6 + 2 , 8 3 C: 0\n, 8 8 3 C: 0\n0 8 8 3\n&lt;/scratch&gt;\n8 8 3\n\nFigure 3: A visualization of\na 3-digit arithmetic problem\nwith a scratchpad. C corresponds to the carry from the\nprevious digit’s summation.\n\nCommonsenseQA The multiple-choice commonsense reasoning\ntask, CommonsenseQA [10] (CQA), is constructed from ConceptNet, a semantic graph of concepts\nand their relationships with over a million nodes [28]. [10] identified a set of “target” concepts in\nConceptNet for each question, where the target concepts share a semantic relationship to one “source”\nconcept. Then each question is crowdsourced to allow a reader to identify one target concept, while\nmentioning the source concept. In addition, two distractor answers are added. The dataset has 12,247\nquestions, each with five choices, with 9,741 in the train set, 1,221 in the dev set, and 1,285 in the\n(withheld) test set.\n1\n\nBased on [27], this is unlikely to meaningfully affect [6]’s few-shot performance.\n\n5\n\n\fAccuracy (%)\n\n100\n\n1\n2\n\n80\n\n100\n\n1\n2\n\n80\n\n3\n60\n\n4\n\n3\n60\n\n4\n\n5\n\n5\n\n40\n\n40\n\n20\n\n20\n\n0\n\n0\n0\n\n4\n\n8\n\n12\n\n16\n\n20\n\n24\n\n28\n\n0\n\nIterations\n(a) Without rationalization\n\n4\n\n8\n\n12\n\n16\n\nIterations\n(b) With rationalization\n\nFigure 4: A visualization of the accuracy of n-digit summation with each iteration of STaR with\nand without rationalization for arithmetic. Each series corresponds to the accuracy of summing two\nn-digit numbers.\nCorresponding to the broad variety of ConceptNet, CQA contains a diverse set of questions which\nrequire commonsense reasoning ability building off of standard world knowledge, where human\nperformance is 89% [10]. Many have pointed out that CQA contains a number of biases, along\nseveral dimensions including gender [3]. We discuss how this may impact our method in Appendix G.\nThere are also many typos and questions which are fundamentally ambiguous2 . We use it despite\nthese issues as it is a general question-answering dataset relying on both common world knowledge\nand simple reasoning, which serves as a good test-bed for our method.\nGrade School Math (GSM8K) We also evaluate on the Grade School Math (GSM8K) dataset,\nwhich contains 7,473 train and 1,319 test examples of grade-school-level word problems [9]. These\nmath problems are posed in natural language and require two to eight calculation steps to arrive at a\nfinal answer. This dataset combines the skills needed for arithmetic and commonsense reasoning.\n4.3\n\nSymbolic Reasoning: Results on Arithmetic\n\nThe accuracies of the model across digits 1-5 over each iteration of the outer loop are plotted in\nFigure 4. After running STaR for 16 iterations, the overall accuracy is 89.5%. For reference, a\nbaseline trained on 10,000 examples without rationales for 5,000 steps attains 76.3% accuracy.\nNotably, few-shot accuracy on arithmetic problems is very low, even with rationales: accuracy on\n2-digit addition is less than 1%, and accuracy on more digits close to zero.\n\nAccuracy (%)\n\nWith rationalization, the accuracy is able to improve\n100\n1\nespecially quickly. After one fine-tuning iteration on\n2\n80\nthe model’s generated scratchpads, 2-digit addition\n3\nimproves to 32% from less than 1%. Without ratio60\n4\nnalization, the performance improvement is stage5\nwise: the model generally has poor performance\n40\n6\non the n-digit sum until it has good performance\n7\n20\non the (n − 1)-digit sum. With rationalization, the\n8\nmodel can learn many lengths at once, though not\n9\n0\nwith equal accuracy. Rationalization allows many\n0 4 8 12 16 20 24 28 32 36\n10\nIterations\nproblems to be solved few-shot, so we start STaR\ntraining with 300 steps (note, doing so without ra- Figure 5: We introduce additional digits to\ntionalization causes overfitting on 1-digit addition), STaR with rationalization at the 20th iteration.\nand increase training by 20 steps per iteration.\nWe also perform an experiment where we continue pre-training STaR with rationalization with\nadditional digits, starting before the 20th iteration, while keeping the total number of training examples\nfixed at each iteration. We find that not only does this appear to quickly improve performance on the\ninitial set of digits, but when evaluated on 9 and 10 digit examples, never seen during training, the\nmodel successfully solves many of these out-of-distribution problems. As visualized in Figure 5, the\nintroduction of these digits appears to make the training less stable, but the exact cause is unclear.\n2\n\nFor example, “Billy bought coffee and waited for his wife to arrive from France. Where might he have\nbeen?” includes airport and train station as options. The correct answer, perhaps surprisingly, is train station.\n\n6\n\n\fTable 1: We evaluate several baselines, including a few-shot GPT-J evaluation both with and without\nscratchpads, a GPT-J baseline finetuned to directly predict the answer, and STaR with and without\nrationalization applied to GPT-J. We use CoT to denote non-STaR models outputting rationales, and\nDirect to indicate those directly predicting the final answer. Note the final STaR model is trained on\n78.2% of the training dataset with rationale generation, and an additional 8.5% from rationalization.\nGPT-3 Direct Finetuned [29]\nFew-shot Direct GPT-J\nFew-shot CoT GPT-J 3\nFew-shot CoT LaMDA 137B [6]\nGPT-J Direct Finetuned\nSTaR without rationalization\nSTaR with rationalization\n\n4.4\n\nCQA Dev Set Accuracy (%)\n73.0\n20.9\n36.6\n55.6\n60.0\n68.8\n72.5\n\nTrain Data Used (%)\n100\n∼0\n∼0\n∼0\n100\n69.7\n86.7\n\nNatural Language Reasoning: Commonsense Question Answering\n\nThe CommonsesenseQA (CQA) setting introduces several new challenges. In the arithmetic task,\nan incorrect scratchpad in the reasoning step, and to a lesser degree in the rationalization step, was\nextremely likely to result in an incorrect answer. On the other hand, CQA problems are 5-way\nmultiple choice questions. Thus, one will get the right answer at random approximately 20% of\nthe time, regardless of the quality of reasoning. Moreover, some simple heuristics (e.g. semantic\nsimilarity) can meaningfully improve this to ≈30% without any reasoning, as shown by [10].\nWe evaluate this dataset as described in the experimental protocol and compare to several baselines.\nThe first baseline is to finetune GPT-J to directly output the final answer, which we call “GPT-J\nFinetuned”. We also compare to GPT-3 finetuned to directly predict the final answer from [29], and a\n137B parameter Lambda model few-shot prompted with chain-of-thought (CoT) rationales from [6].\nWe found that, as shown in Table 1, STaR without rationalization outperformed GPT-J fine-tuned\ndirectly on the final answer for the entire dataset, despite training on less of the data. The inclusion of\nrationalization improved this performance to 72.5%, far closer to the 73% of the 30× larger GPT-3.\nAs expected, we also see STaR surpassed the few-shot baselines, including the much-larger 137B\nLaMDA model [30, 6]. We expect accuracy would be further improved if we applied STaR to a\nmodel with higher few-shot performance.\nCase Study Note that it is harder to judge the rationale quality: for arithmetic, one can compare\nthem to the ground truth rationales, but for CQA the evaluation is necessarily qualitative. For this\nreason, we include a case study in Figure 7. We observe that the rationales provided are generally\ncoherent and of a similar structure to the few-shot rationales. We make the following two observations:\n1. After training with STaR, we see the model was able to generate reasonable rationales that\nsolve new problems, which explains part of the observed performance gain.\n2. We also see that there were many instances in which STaR improved the quality of rationales\nover those generated in a few-shot manner.\nHuman Evaluation Based on the observation that STaR may improve reasoning quality for problems even when they were initially answered correctly via few-shot prompting, we performed a\npreliminary qualitative analysis. We randomly selected 50 rationales generated from few-shot CoT\nand STaR-generated rationales on questions which they both answered correctly, as well as humangenerated rationales for these problems from [3]. We then presented a random subset of 10 questions\nand rationales to each of 20 crowdworkers on Prolific [31] with the rationales in a randomized order,\nasking them to rank the rationales based on which they felt best justified the answer. The participants\nwere 30% more likely to rank the STaR-generated rationales higher than the few-shot rationales\n(p = .039). This indicates that, as mentioned in the case study, STaR can improve the quality of\nrationale generation.\nWe also found that the participants were 74% more likely to prefer the STaR-generated rationales\nover the human-generated rationales (p &lt; .001). To be clear, we do not believe that this indicates\nhuman-level rationale-generation performance. Instead, we feel that it speaks to the difficulty of\neliciting high-quality rationales. We reproduce the test prompts in Appendix C and elaborate on the\nlimitations of the crowdsourced explanations dataset.\n3\n\nWe use the same few-shot rationales as described in Section 4.1 - namely fixing typos and improving clarity.\n\n7\n\n\fTable 2: We find that STaR substantially improves GSM8K performance over the baselines, despite\ntraining on only 25.0% of the data for the model without rationalization, and 28.7% of the dataset\n(with 0.5% from rationalization) for the model with rationalization.\nFew-shot Direct GPT-J\nFew-shot CoT GPT-J\nGPT-J Direct Finetuned\nSTaR without rationalization\nSTaR with rationalization\n\nGSM8K Test Accuracy (%)\n3.0\n3.1\n5.8\n10.1\n10.7\n\nTrain Data Used (%)\n∼0\n∼0\n100\n25.0\n28.7\n\nFailure Cases Finally, we found a variety of interesting failure cases, many of which corresponded\nto standard logical fallacies. For example, the model often made statements related to the topic of the\nquestion but which were not actually arguments for why the answer should be true. Sometimes, the\nmodel claimed the question implied the answer as an argument, without explaining why. Other times,\nespecially early in training, the model answered as if it has knowledge about a particular individual,\ninstead of making a general statement - e.g. “the king’s castle is a place where he feels safe” instead\nof “castles are places where kings feel safe.” We provide examples and analyze errors in Appendix A.\nFew-shot Prompt Training Including few-shot prompts during fine-tuning [12] appears to have\na meaningful performance benefit (60.9% to 68.8% without rationalization, 69.9% to 72.5% with\nrationalization). Thus, we generally suggest its use for at least some portion of the training, though\nwe discuss some caveats in Section 5.\n\n0\n\n1\n\n2\n3\n4\n5\n6\n7\nHuman-produced calculator steps\n\n8\n\n6\n5\n4\n\nLog frequency\n\nMathematical Reasoning in Language: Grade School Math\nGenerated vs human-produced # of calculator steps\nWe again find on GSM8K that STaR substantially\n8\nimproves performance beyond few-shot with ra7\ntionales or training to directly predict the answers\n(without rationales), shown in Table 2 and include\n6\nthe few-shot prompt in Appendix I. We observe\n5\nthat on this task, the use of rationalization does not\n4\nsubstantially improve performance. Note that, in\ntraining, it was necessary to cap the number of train3\ning steps at the 30th iterations (after 7912 steps),\n2\nto prevent the training process from becoming prohibitively long. The results were reached after 36\n1\niterations for STaR without rationalization and an\n0\nadditional 10 iterations with rationalization.\nGenerated calculator steps\n\n4.5\n\n3\n2\n1\n0\n\nMost often, the number of calculation steps generated by the model matches the number of steps\nFigure 6: A comparison of the number of calcutaken by humans (generally between 53% and 57%\nlator steps generated by the model in order to\nagreement across all iterations). We visualize this\nsolve examples in the training set relative to the\nexplicitly in Figure 6. We see that when the ground\nnumber of steps used in the ground truth.\ntruth and model disagree on the number of calculation steps, the model typically uses fewer. Sometimes this is because the model skips steps, but\noccasionally it finds different solutions. We show an example in Appendix J, where the model\ndisregards redundant information and solves a 7-step problem in a single step.\n\n5\n\nDiscussion and Challenges\n\nThe Impact of Rationalization An essential question is exactly what role rationalization plays.\nIntuitively, rationalization allows a model to reverse-engineer a solution, or provides a heuristic for\nidentifying whether each step makes the conclusion more likely. This parallels real-world problems\nwhere the final result is known, but challenging to derive a good justification. From a mathematical\nperspective, while rationale generation samples rationales from the distribution p(r | x) provided by\nour model M , rationalization conditions on the answer, letting us access an alternative distribution\np(r | x, y) which may be a better search space for rationales. Then rationalization could be framed as\nan off-policy estimate of the objective in Equation 1, sampling from the hint-augmented model as a\nproposal distribution. Future work should establish more connections between rationalization and\nthese RL objectives, and examine more generally when and why rationalization improves learning.\n8\n\n\fIn addition, due to the low sampling temperature, the outputs without rationalization correspond\nto the examples where the model is most confident in its answer. This results in these examples\nproviding a weaker gradient signal than the rationalization examples, at least in the first iteration.\nSince we retrain from the initial pre-trained model every time we run a fine-tuning iteration, the\ndegree of this effect is also difficult to measure directly. Finally, we must point out that the method\nto add the “hint” does not follow immediately from the question and answer and in some contexts\nproviding it may be nontrivial. An exploration of the various impacts of different hinting techniques\nand their generality is an avenue for future work.\nTemperature One intuitive alternative to rationalization, if one seeks to expand the training dataset,\nis more and higher-temperature sampling. However, in practice, we found that this is counterproductive. In general, it substantially increases the likelihood of a correct answer despite incorrect\nreasoning, and training on bad or irrelevant reasoning prevents generalization. This is particularly\nclear in more structured tasks, like arithmetic, where the scratchpads that the model learns to produce\nwith a higher-temperature sampling approach diverge into meaninglessness and cause the model to\nstagnate. Overall, we found that higher temperatures as an alternative to rationalization (e.g. 0.5\nor 0.7) consistently led to models worse than models with reasoning alone. In addition, as text\ngeneration by large language models is sequential (i.e. one cannot produce a token without producing\nthe preceding token), generating text is a bottleneck and this is computationally far less efficient\nthan rationalization. For example, generating 10 sample outputs is approximately 10 times slower\nthan generating one sample output. However, one potentially valuable way to leverage multiple\nsamples would be to use the method proposed in [32], using the majority-vote result of multiple hightemperature scratchpads as a ground truth against which we compare a low-temperature scratchpad.\nThis may allow one to apply STaR to a dataset of only questions, without answers.\nFew-shot Prompting A noteworthy phenomenon is that the inclusion of few-shot prompting during\nsampling seems to dramatically reduce “drift” where later rationales become increasingly dissimilar\nfrom the initial few-shot set of rationales. One benefit of this is that the model may be less constrained\nby the quality and difficulty of the initial rationales, theoretically allowing it to generalize more. One\npotentially negative consequence is that the style of the rationales may less-closely match the original\nprompting style. Another benefit is in terms of computational resources - a shorter prompt length\nallows for a shorter sequence length when sampling. Technically, the point in training at which we\n“disable” few-shot prompts is another hyperparameter which we could tune, but we leave this to future\nwork. In addition, by leaving prompts out after the initial outer-loop iteration, the model tends to\nperform gradually worse at rationalization as it trains for longer periods of time. As a result, it may\nbe necessary to include some hints during training for long periods of time with this approach.\nUltimately, the choice to include few-shot prompts in later iterations of training appears to depend on\nthe use-case: when the goal is consistent adherence to a particular prompt style, which may benefit\nexplainability, include few-shot prompts in sampling; when the goal is a faster training loop, one may\nremove them. Moreover, it is possible that with other datasets or larger models there is an impact on\nperformance, so we encourage this to be generally treated as a hyperparameter.\n\n6\n\nConclusion\n\nWe present the Self-Taught Reasoner (STaR), which iteratively improves a model’s ability to generate\nrationales to solve problems. We few-shot prompt a model to solve many problems in a step-by-step\nmanner by generating rationales, and then prompt it to rationalize the correct answer for problems\nit gets wrong. We finetune on both the initially correct solutions and rationalized correct solutions,\nand repeat the process. We find that this technique significantly improves the model’s generalization\nperformance on both symbolic reasoning and natural language reasoning.\nThere are several important limitations on STaR as presented. In order for the first iteration of STaR\nto succeed, few-shot performance must be above chance, implying that the initial model must be\nbig enough to have some reasoning capabilities. For instance we found that GPT-2 was not able\nto bootstrap from few-shot reasoning in even the arithmetic domain. A further limitation is that\nsettings with a high level of chance performance (e.g. binary decisions) yield many poor rationales,\nconfounding the STaR approach. An open problem is how to filter bad reasoning in these settings.\nNonetheless, we believe using examples without reasoning to bootstrap reasoning is a very general\napproach, and that STaR can serve as the basis of more sophisticated techniques across many domains.\n9\n\n\fAcknowledgements\nWe thank Imanol Schlag for his detailed feedback about this work, as well as Rose E Wang, Markus\nRabe, Aitor Lewkowycz, Rishi Bommasani, Allen Nie, Alex Tamkin, and Qian Huang. We thank\nCem Anil for his very helpful insight that rationale finetuning performance can be improved if the\ntraining includes the few-shot rationales. We also thank Ben Prystawski for his suggestions on survey\ncreation. We thank Google TPU Research Cloud for TPU access.\n\nReferences\n[1] William James, Frederick Burkhardt, Fredson Bowers, and Ignas K Skrupskelis. The principles\nof psychology, volume 1. Macmillan London, 1890.\n[2] K Anders Ericsson and Herbert A Simon. Protocol analysis: Verbal reports as data. the MIT\nPress, 1984.\n[3] Nazneen Fatema Rajani, Bryan McCann, Caiming Xiong, and Richard Socher. Explain yourself!\nleveraging language models for commonsense reasoning. ACL, 2019.\n[4] Vered Shwartz, Peter West, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Unsupervised\ncommonsense question answering with self-talk. EMNLP 2020, 2020.\n[5] Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin,\nDavid Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, et al. Show\nyour work: Scratchpads for intermediate computation with language models. arXiv preprint\narXiv:2112.00114, 2021.\n[6] Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny\nZhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint\narXiv:2201.11903, 2022.\n[7] Ana Marasović, Iz Beltagy, Doug Downey, and Matthew E Peters. Few-shot self-rationalization\nwith natural language prompts. arXiv preprint arXiv:2111.08284, 2021.\n[8] Andrew K Lampinen, Ishita Dasgupta, Stephanie CY Chan, Kory Matthewson, Michael Henry\nTessler, Antonia Creswell, James L McClelland, Jane X Wang, and Felix Hill. Can language\nmodels learn from explanations in context? arXiv preprint arXiv:2204.02329, 2022.\n[9] Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint\narXiv:2110.14168, 2021.\n[10] Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. Commonsenseqa: A\nquestion answering challenge targeting commonsense knowledge. In Proceedings of the 2019\nConference of the North American Chapter of the Association for Computational Linguistics:\nHuman Language Technologies, Volume 1 (Long and Short Papers), pages 4149–4158, 2019.\n[11] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal,\nArvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are\nfew-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.\n[12] Jason Wei, Maarten Bosma, Vincent Y Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan\nDu, Andrew M Dai, and Quoc V Le. Finetuned language models are zero-shot learners. ICLR\n2022, 2021.\n[13] Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. An explanation of\nin-context learning as implicit bayesian inference. arXiv preprint arXiv:2111.02080, 2021.\n[14] Catherine Olsson, Nelson Elhage, Neel Nanda, Nicholas Joseph, Nova DasSarma, Tom\nHenighan, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, and et al. In-context learning\nand induction heads. Transformer Circuits, Mar 2022.\n10\n\n\f[15] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient\nprompt tuning. EMNLP 2021, 2021.\n[16] Stanislas Polu, Jesse Michael Han, Kunhao Zheng, Mantas Baksys, Igor Babuschkin, and Ilya\nSutskever. Formal mathematics statement curriculum learning. arXiv preprint arXiv:2202.01344,\n2022.\n[17] Leonardo de Moura, Soonho Kong, Jeremy Avigad, Floris van Doorn, and Jakob von Raumer.\nThe lean theorem prover (system description). In International Conference on Automated\nDeduction, pages 378–388. Springer, 2015.\n[18] Stanislas Polu and Ilya Sutskever. Generative language modeling for automated theorem proving.\narXiv preprint arXiv:2009.03393, 2020.\n[19] Wangchunshu Zhou, Jinyi Hu, Hanlin Zhang, Xiaodan Liang, Maosong Sun, Chenyan Xiong,\nand Jian Tang. Towards interpretable natural language understanding with explanations as latent\nvariables. Advances in Neural Information Processing Systems, 33:6803–6814, 2020.\n[20] Noam Wies, Yoav Levine, and Amnon Shashua. Sub-task decomposition enables learning in\nsequence to sequence tasks. arXiv preprint arXiv:2204.02892, 2022.\n[21] Thomas Anthony, Zheng Tian, and David Barber. Thinking fast and slow with deep learning\nand tree search. Advances in Neural Information Processing Systems, 30, 2017.\n[22] Ankit Vani, Max Schwarzer, Yuchen Lu, Eeshan Dhekane, and Aaron Courville. Iterated\nlearning for emergent systematicity in vqa. ICLR 2021, 2021.\n[23] Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. e-snli:\nNatural language inference with natural language explanations. Advances in Neural Information\nProcessing Systems, 31, 2018.\n[24] Hanxiong Chen, Xu Chen, Shaoyun Shi, and Yongfeng Zhang. Generate natural language\nexplanations for recommendation. arXiv preprint arXiv:2101.03392, 2021.\n[25] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal\npolicy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.\n[26] Ben Wang. Mesh-Transformer-JAX: Model-Parallel Implementation of Transformer Language Model with JAX. https://github.com/kingoflolz/mesh-transformer-jax,\nMay 2021.\n[27] Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and\nLuke Zettlemoyer. Rethinking the role of demonstrations: What makes in-context learning\nwork? arXiv preprint arXiv:2202.12837, 2022.\n[28] Robyn Speer, Joshua Chin, and Catherine Havasi. Conceptnet 5.5: An open multilingual graph\nof general knowledge. singh 2002 (2016). arXiv preprint arxiv:1612.03975, 2016.\n[29] Yichong Xu, Chenguang Zhu, Shuohang Wang, Siqi Sun, Hao Cheng, Xiaodong Liu, Jianfeng\nGao, Pengcheng He, Michael Zeng, and Xuedong Huang. Human parity on commonsenseqa:\nAugmenting self-attention with external attention. arXiv:2112.03254, December 2021. human\nparity result on CommonsenseQA.\n[30] Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, HengTze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. Lamda: Language models for\ndialog applications. arXiv preprint arXiv:2201.08239, 2022.\n[31] Stefan Palan and Christian Schitter. Prolific. ac—a subject pool for online experiments. Journal\nof Behavioral and Experimental Finance, 17:22–27, 2018.\n[32] Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Selfconsistency improves chain of thought reasoning in language models, 2022.\n[33] Bernease Herman. The promise and peril of human evaluation for model interpretability. arXiv\npreprint arXiv:1711.07414, 2017.\n11\n\n\f[34] Alon Jacovi and Yoav Goldberg. Towards faithfully interpretable nlp systems: How should we\ndefine and evaluate faithfulness? ACL 2020, 2020.\n[35] Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason\nPhang, Horace He, Anish Thite, Noa Nabeshima, et al. The pile: An 800gb dataset of diverse\ntext for language modeling. arXiv preprint arXiv:2101.00027, 2020.\n[36] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint\narXiv:1412.6980, 2014.\n\n12\n\n\fAppendix\nA\n\nCommonsenseQA Error Patterns\n\nThroughout our experiments, we came across a variety of interesting failure cases for commonsense\nreasoning. Note that all the final answers are correct – however, we take issue with the reasoning\nused in order to arrive at those answers.\nA.1\n\nQuestion Implies Answer\n\nOne key failure case was answers in the form of “the answer must be something that is &lt;question\nproperty&gt;. &lt;answer&gt; is &lt;question property&gt;. Therefore, the correct answer is &lt;answer&gt;.” In these\ncases, the model fails to explain why the answer that it has chosen satisfies the question property.\nQ: What might someone get from learning about science?\nAnswer Choices:\n(a) headache\n(b) see things differently\n(c) increased knowledge\n(d) accidents\n(e) appreciation of nature\nA: The answer must be something that someone would get from learning about\nscience. Learning about science would increase knowledge. Therefore, the\nanswer is increased knowledge (c).\nThese rationales, while perhaps useful to the model, read to us as opaque and unexplanatory.\nA.2\n\nBegging the Question\n\nA related but stronger version of the previous failure case, while less common, is particularly\nuninsightful. Sometimes the model will imply the answer that it has chosen in its question.\nQ: The christian rock band was on a large stage, the singer’s foot got caught\non a wire and he had a small what?\nAnswer Choices:\n(a) commit sin\n(b) fail\n(c) disobey\n(d) stumble\n(e) boo boo\nA: The answer must be something that would cause the singer to stumble. The\nsinger’s foot got caught on a wire, so he would stumble. Therefore, the\nanswer is stumble (d).\nA.3\n\nExercise to the Reader\n\nA rare failure case is when the model finds it unnecessary to justify its answer. For example:\nQ: Other than school or from text where can one gain knowledge?\nAnswer Choices:\n(a) book\n(b) class\n(c) thinking\n(d) head\n(e) meeting\nA: The answer must be a place where someone can gain knowledge other than\nschool or from text. The answer is meeting (e).\n13\n\n\fA.4\n\nWorld State Assertions\n\nSometimes, the model will assume that it knows something about a subject or a person whose name\nwas used as a variable. This leads to somewhat comical examples of reasoning. Part of the reason\nfor this is that generally, there is an expectation that good rationales will leverage understanding of\nmore general classes of objects and appeal to the relationship between those general classes and the\nparticular instance. For example, the argument that “a person would typically feel exhilaration from\nheights” is generally more compelling than the argument that “James would feel exhilaration from\nheights.”\nQ: A person’s hand hurts after hitting the bottle. What might happen to\nthe bottle?\nAnswer Choices:\n(a) alcoholism\n(b) breaking\n(c) fly\n(d) nausea\n(e) ticket\nA: The answer must be something that happens to the bottle. The bottle is\nbroken. Therefore, the answer is breaking (b).\nQ: James loved climbing. What emotion might he feel from heights?\nAnswer Choices:\n(a) exhaustion\n(b) exhilaration\n(c) falling down\n(d) nervousness\n(e) vertigo\nA: The answer must be a feeling that would cause someone to climb a mountain.\nJames would feel exhilaration from heights. Therefore, the answer is\nexhilaration (b).\nA.5\n\nRed Herrings\n\nSome errors in reasoning corresponded to the model making a statement which, while technically\ntrue, is not useful in demonstrating the claim.\nQ: A squirrel ran up to it’s home, where is the small dog likely to be\nbarking up?\nAnswer Choices:\n(a) manhattan apartment\n(b) wood\n(c) neighbor’s yard\n(d) tree\n(e) basket\nA: The answer must be a place where a small dog would be likely to be\nbarking. Squirrels are not small dogs. Therefore, the answer is tree (d).\nQ: John ran very fast, his feet touched the ground in what way?\nAnswer Choices:\n(a) behind\n(b) loose\n(c) feverishly\n(d) slowly\n(e) lightly\nA: The answer must be a way of running that is different from the way John\nran. Running is a fast, light-footed activity. Therefore, the answer is\nlightly (e).\n14\n\n\fA.6\n\nHint Short-cutting\n\nIn the experiments where the model was shown some examples of “hints” during training, in order to\nprevent it from losing the ability to perform rationalization over time, the model appeared to pick up\non the fact that the final answer would always correspond to the hinted answer. This led to answers\nsuch as\nQ: Billy bought coffee and waited for his wife to arrive from France.\nWhere might he have been?\nAnswer Choices:\n(a) airport\n(b) grocery store\n(c) internet cafe\n(d) supermarket\n(e) train station\nA: The answer must be a place where Billy could have been waiting for his\nwife to arrive from France. The airport is a place where people can wait\nfor flights. Therefore, the answer is train station (e).\n\n15\n\n\fB\n\nModified CQA Prompts\n\nFor reference, we include our modified prompts based closely on those in [6].\nQ: What do people use to absorb extra ink from a fountain pen?\nAnswer Choices:\n(a) shirt pocket\n(b) calligrapher’s hand\n(c) inkwell\n(d) desk drawer\n(e) blotter\nA: The answer must be used to absorb extra ink. Blotters are designed to absorb\nliquids. Therefore, the answer is blotter (e).\nQ: What home entertainment equipment requires cable?\nAnswer Choices:\n(a) radio shack\n(b) substation\n(c) television\n(d) cabinet\n(e) desk\nA: The answer must require cable. Cable is used to provide satellite channels to\ntelevisions. Therefore, the answer is television (c).\nQ: The fox walked from the city into the forest, what was it looking for?\nAnswer Choices:\n(a) pretty flowers\n(b) hen house\n(c) natural habitat\n(d) storybook\n(e) dense forest\nA: The answer must be a reason for a fox to go into the forest. The forest is a fox’\ns natural habitat. Therefore, the answer is natural habitat (c).\nQ: Sammy wanted to go to where the people were. Where might he go?\nAnswer Choices:\n(a) populated areas\n(b) race track\n(c) desert\n(d) apartment\n(e) roadblock\nA: The answer must be a place with many people. Populated areas, by definition, have\na lot of people. Therefore, the answer is populated areas (a).\nQ: Where do you put your grapes just before checking out?\nAnswer Choices:\n(a) mouth\n(b) grocery cart\n(c) super market\n(d) fruit basket\n(e) fruit market\nA: The answer should be the place where grocery items are placed before checking out\n. Of the above choices, grocery cart makes the most sense for holding grocery items.\nTherefore, the answer is grocery cart (b).\nQ: Google Maps and other highway and street GPS services have replaced what?\nAnswer Choices:\n(a) united states\n(b) mexico\n(c) countryside\n(d) atlas\n(e) oceans\nA: The answer must be something that used to do what Google Maps and GPS services do\n, which is give directions. Atlases were also used to give directions. Therefore,\nthe answer is atlas (d).\n\n16\n\n\fQ: Before getting a divorce, what did the wife feel who was doing all the work?\nAnswer Choices:\n(a) harder\n(b) anguish\n(c) bitterness\n(d) tears\n(e) sadness\nA: The answer should be a feeling which would cause someone who was doing all the\nwork to get divorced. If someone feels bitter towards their spouse, they are likely\nto want a divorce. Therefore, the answer is bitterness (c).\n\n17\n\n\fC\n\nHuman-evaluated Test Prompts\n\nWe also selected a random sampling of 50 questions which were correctly answered both few-shot\nand by a STaR-trained model (without rationalization), as discussed in 4.4. Presented in a random\norder, twenty crowdworkers preferred the STaR-generated answers. We reproduce the examples here\nwith the few-shot rationale first, the STaR-trained rationale second, and the human rationale third,\nthough these were shuffled when presented to participants. We selected human answers from [3]’s\noriginal split rationales where possible, finding that duplicate rationales were much more common in\nthe new split rationales. For example, the explanation “Rivers flow trough valleys,” appeared over\n400 times verbatim in the new split dataset, and “This word was most relevant” appeared over 150\ntimes. [3]’s dataset also includes explanations like “The only answer that makes sense” or “BOB\nWILL NOT POKEMON CARDS WERE COMMON AND WORTHLESS BUT WRONG ABOUT\nTHEM SO FEEL REALLY RARE TO DELAY” or restatements of the answer. We append the phrase\n“Therefore, the answer is ANSWERTEXT (ANSWERLETTER)” with ANSWERTEXT replaced\nby the correct answer’s text and ANSWERLETTER replaced by the correct answer letter. This is\ndone 1) to make it less obvious that one of the answers is generated by a different source and 2) to\nprioritize differences in rationales, not the answer format.\nBefore the questions and after the consent form, we presented the following directions:\nEach question will have three explanations for one answer, which is a pre-determined correct (\"best\") answer.\nPlease rank the explanations for each question from best to worst (with 1 as the best and 3 as the worst) based on how well\nthey justify the correct answer.\nNote there are some typos and grammatical errors in the examples, in the questions, answers, and the explanation. Please\ntreat the answer letter (a / b / c / d / e) at the end of the explanations as the correct answer letter, even if another\nanswer is valid (and perhaps more reasonable), and even if it does not match with the answer text preceding it.\n\nThe examples were subsampled and presented to the crowdworkers:\nQ: Who is likely yo have a caring heart?\nAnswer Choices:\n(a) person\n(b) species\n(c) artichoke\n(d) all mammals\n(e) live animal\nA: The answer must be a person. All mammals have a caring\nheart. Therefore, the answer is person (a).\nA: The answer must be someone who is likely to have a\ncaring heart. Humans are the most likely to have a caring\nheart. Therefore, the answer is person (a).\nA: A person is the only human being capable of having a\ncaring heart. Therefore, the answer is person (a).\nQ: If a person wanted to become a good writer what should\nthey do in college?\nAnswer Choices:\n(a) word sentence\n(b) own animal\n(c) read the newspaper\n(d) catch cold\n(e) study literature\nA: The answer must be something that would help a person\nbecome a good writer. The answer is study literature (e).\nA: The answer must be something that would help a person\nbecome a good writer. Literature is a form of study.\nTherefore, the answer is study literature (e).\nA: studying literature will give one skills of writing.\nTherefore, the answer is study literature (e).\nQ: The human always would have fun making up questions for\nthe A.I. overlords, he found the task quite what?\nAnswer Choices:\n(a) do enjoy\n(b) eat cake\n(c) enjoy living\n(d) get laid\n(e) enjoyable\nA: The answer must be something that the human would enjoy\ndoing. The human enjoys making up questions for the A.I.\noverlords. Therefore, the answer is enjoyable (e).\nA: The answer must be something that the human found\nenjoyable. The human found the task of making up questions\nfor the A.I. overlords enjoyable. Therefore, the answer is\nenjoyable (e).\n\nA: Having fun is enjoyable. Therefore, the answer is\nenjoyable (e).\n\nQ: What happens when I make a pig of myself eating breakfast\n?\nAnswer Choices:\n(a) full stomach\n(b) gain energy\n(c) dieting\n(d) have energy\n(e) feeling satisfied\nA: The answer must be a feeling which would cause someone\nto feel full after eating breakfast. The answer is full\nstomach (a).\nA: The answer must be a feeling which would cause someone\nto make a pig of themselves eating breakfast. If someone\nfeels full, they are likely to stop eating. Therefore, the\nanswer is full stomach (a).\nA: A colloquial phrase for over indulging in food.\nTherefore, the answer is full stomach (a).\nQ: In order to see a story on the big screen what must you\ndo?\nAnswer Choices:\n(a) go to movies\n(b) visualize\n(c) reading\n(d) open book\n(e) sketching a picture\nA: The answer must be something that you do to see a story\non the big screen. Movies are a way to see a story on the\nbig screen. Therefore, the answer is movies (a).\nA: The answer must be something that is required to see a\nstory on the big screen. Movies are a form of storytelling.\nTherefore, the answer is go to movies (a).\nA: The big screen is a colloquial term meaning a movie\ntheater. Therefore, the answer is go to movies (a).\nQ: What is the opposite of remembering?\nAnswer Choices:\n(a) answering question\n(b) stopping to think\n(c) knowing\n(d) closing eyes\n\n18\n\n\f(e) forgetting\nA: The answer must be something that is the opposite of\nremembering. The answer is forgetting (e).\nA: The answer must be a feeling which would cause someone\nto not remember something. If someone forgets something,\nthey are likely to not remember it. Therefore, the answer\nis forgetting (e).\nA: Health complications. Therefore, the answer is\nforgetting (e).\n\nA: A machine part is the only thing listed that would fix\nthe car. Therefore, the answer is machine part (d).\nQ: He always traveled up the mountain when winter arrived,\nhe had a passion and desire to do what?\nAnswer Choices:\n(a) play volleyball\n(b) play hockey\n(c) ski\n(d) knit\n(e) skate\nA: The answer must be something that the person does when\nwinter arrives. The answer is skiing (c).\nA: The answer must be something that the person did when\nwinter arrived. The answer is ski (c).\nA: Skiing is the only option that is done on a mountain.\nTherefore, the answer is ski (c).\n\nQ: If you aren’t experiencing curiosity and want to ensure\nviewing enjoyment, what may you watch?\nAnswer Choices:\n(a) examine thing\n(b) stare into a mirror\n(c) go somewhere\n(d) hear news\n(e) see favorite show\nA: The answer must be something that will make you want to\nwatch. If you are not experiencing curiosity, you may want\nto watch something that will make you want to watch.\nTherefore, the answer is watch (e).\nA: The answer must be something that will not cause you to\nwant to watch. If you are not experiencing curiosity, you\nare likely to want to watch something that is entertaining.\nTherefore, the answer is favorite show (e).\nA: see favorite show can you do in front of a tv if you\nhave curiosity about what is being displayed on the tv.\nTherefore, the answer is favorite show (e).\n\nQ: Bob thought that his Pokemon cards were common and\nworthless, but he was wrong about them. They were really\nwhat?\nAnswer Choices:\n(a) personal\n(b) special\n(c) shiny\n(d) rare\n(e) irregular\nA: The answer must be something that is not common and\nworthless. Pokemon cards are not common and worthless.\nTherefore, the answer is rare (d).\nA: The answer must be something that are rare. Pokemon\ncards are rare. Therefore, the answer is rare (d).\nA: BOB WILL NOT POKEMON CARDS WERE COMMON AND WORTHLESS BUT\nWRONG ABOUT THEM SO FEEL REALLY RARE TO DELAY. Therefore,\nthe answer is rare (d).\n\nQ: The carotid is a main artery susceptible to damage where?\nAnswer Choices:\n(a) neck\n(b) face\n(c) busy city\n(d) torso\n(e) human body\nA: The answer must be a place where the carotid artery is\nsusceptible to damage. The carotid artery is located in the\nneck. Therefore, the answer is neck (a).\nA: The answer must be a place where the carotid is\nsusceptible to damage. The carotid is susceptible to damage\nin the neck. Therefore, the answer is neck (a).\nA: The carotid artery is located in the neck. Therefore,\nthe answer is neck (a).\nQ: The king needed to feel safe, where did he go?\nAnswer Choices:\n(a) castle\n(b) throne room\n(c) deck of cards\n(d) fort\n(e) court\nA: The answer must be a place where the king feels safe.\nThe king’s castle is a place where he feels safe. Therefore,\nthe answer is castle (a).\nA: The answer must be a place where the king can feel safe.\nCastles are places where kings feel safe. Therefore, the\nanswer is castle (a).\nA: In general, King live in castle. Therefore, the answer\nis castle (a).\nQ: What is the result of instituting civil action?\nAnswer Choices:\n(a) bad feelings\n(b) confusion\n(c) going to court\n(d) hurt feelings\n(e) sandwiches\nA: The answer must be a result of instituting civil action.\nThe result of instituting civil action is a lawsuit.\nTherefore, the answer is going to court (c).\nA: The answer must be a result of instituting civil action.\nIf someone goes to court, they are likely to feel hurt\nfeelings. Therefore, the answer is going to court (c).\nA: Anger and Trial will not institute a court case.\nTherefore, the answer is going to court (c).\n\nQ: If you’re lighting a candle to see what are you in?\nAnswer Choices:\n(a) dimly lit room\n(b) synagogue\n(c) sunlight\n(d) birthday cake\n(e) bedroom\nA: The answer must be a place where you can see what you\nare in. The answer is a room with dim lighting. Therefore,\nthe answer is dimly lit room (a).\nA: The answer must be a place where you can see a candle.\nCandles are used to see things in the dark. Therefore, the\nanswer is dimly lit room (a).\nA: Lighting or illumination is the deliberate use of light\nto achieve a practical or aesthetic effect. Lighting\nincludes the use of both artificial light sources like\nlamps ... Therefore, the answer is dimly lit room (a).\nQ: The person was thirsty, what should he have done?\nAnswer Choices:\n(a) eat\n(b) sunny days\n(c) compliments\n(d) drink water\n(e) all kinds of things\nA: The answer must be something that would make the person\nfeel better. If the person is thirsty, he should drink\nwater. Therefore, the answer is drink water (d).\nA: The answer must be something that would make someone\nfeel better if they were thirsty. If someone is thirsty,\nthey are likely to want to drink water. Therefore, the\nanswer is drink water (d).\nA: The person was thirsty, so drink water. Therefore, the\nanswer is drink water (d).\nQ: Where would you find many products for sale?\nAnswer Choices:\n(a) market\n(b) cost one dollar\n(c) shelf\n(d) salon\n(e) demonstration\nA: The answer must be a place where many products are sold.\nA market is a place where many products are sold.\nTherefore, the answer is market (a).\nA: The answer must be a place with a lot of products for\nsale. Markets are the most common place to buy products.\nTherefore, the answer is market (a).\nA: The only place products are for sale are in markets and\nstores. Therefore, the answer is market (a).\n\nQ: The person wanted to fix his car, what did he order?\nAnswer Choices:\n(a) selling things\n(b) gas\n(c) feel resentful\n(d) machine part\n(e) cross street\nA: The answer must be something that would help the person\nfix his car. The person would not want to sell things,\nbecause he would not want to give up his car. Therefore,\nthe answer is machine part (d).\nA: The answer must be something that would be used to fix a\ncar. Machine parts are used to fix cars. Therefore, the\nanswer is machine part (d).\n\nQ: If man and mammoth wanted to meet, they would probably\nhave to do it during when?\nAnswer Choices:\n(a) a baby shower\n(b) ancient history\n\n19\n\n\f(c) storybook\n(d) stone age\n(e) forest\nA: The answer must be a time when man and mammoth would\nmeet. Stone age is the time when man and mammoth lived.\nTherefore, the answer is stone age (d).\nA: The answer must be a time when man and mammoth would be\nable to meet. The stone age was a time when man and mammoth\nwould be able to meet. Therefore, the answer is stone age\n(d).\nA: During the stone age is the only time mammoths lived.\nTherefore, the answer is stone age (d).\n\nA: The answer must be a physical gesture that is used to\ngreet someone. The answer is handshake (c).\nA: The answer must be a gesture used to meet people. If\nsomeone wants to meet people, they are likely to want to\nshake hands. Therefore, the answer is shaking hands (c).\nA: A handshake is a globally widespread. Therefore, the\nanswer is shaking hands (c).\n\nQ: They prided themselves on being a wealth of knowledge,\nand that’s why many chose to attend their what?\nAnswer Choices:\n(a) book store\n(b) university\n(c) meeting\n(d) class\n(e) encyclopedia\nA: The answer must be a place where people go to learn\nabout things. The answer is university (b).\nA: The answer must be a place where people go to learn\nabout things. Universities are places where people go to\nlearn about things. Therefore, the answer is university (b).\nA: because in the university you get more knowledge.\nTherefore, the answer is university (b).\nQ: what happens when visiting museum that have narrow halls?\nAnswer Choices:\n(a) sore feet\n(b) amazement\n(c) retrospection\n(d) boredom\n(e) crowding\nA: The answer must be something that happens when visiting\na museum that has narrow halls. Crowding is a common\nproblem in museums. Therefore, the answer is crowding (e).\nA: The answer must be something that would cause someone to\nhave sore feet if they are walking in narrow halls. If\nsomeone feels cramped, they are likely to want to go\nsomewhere else. Therefore, the answer is crowding (e).\nA: museum is one of the crowdest place. Therefore, the\nanswer is crowding (e).\nQ: On their hike they brought a filtering straw, they were\nworried about germs in the what?\nAnswer Choices:\n(a) make sick\n(b) doctor\n(c) water\n(d) stream\n(e) mouth\nA: The answer must be something that can filter out germs.\nFiltering straws are used to filter out germs. Therefore,\nthe answer is filtering straw (c).\nA: The answer must be something that would cause someone to\nbring a filtering straw on a hike. Filtering straws are\nused to filter water. Therefore, the answer is water (c).\nA: straw it something used to drink water. Therefore, the\nanswer is water (c).\nQ: If I am not good at playing poker, I will begin what if I\nplay?\nAnswer Choices:\n(a) discord\n(b) social event\n(c) losing money\n(d) competition\n(e) heightened awareness\nA: The answer must be something that will happen if you are\nnot good at playing poker. If you are not good at playing\npoker, you will begin to lose money. Therefore, the answer\nis losing money (c).\nA: The answer must be something that will help you if you\nare not good at playing poker. If you are losing money, you\nare likely to want to stop playing. Therefore, the answer\nis losing money (c).\nA: Poker is a game in which people lose their money.\nTherefore, the answer is losing money (c).\nQ: People are meeting people, what is the likely physical\ngesture?\nAnswer Choices:\n(a) introducing yourself\n(b) smiling\n(c) shake hands\n(d) share a hug\n(e) talking\n\nQ: What do dogs get that make them itch?\nAnswer Choices:\n(a) bones\n(b) fleas\n(c) bad breath\n(d) wagging tails\n(e) four legs\nA: The answer must be something that makes dogs itch. Dogs\nget fleas, which make them itch. Therefore, the answer is\nfleas (b).\nA: The answer must be something that dogs get that make\nthem itch. Fleas are a common cause of dog itch. Therefore,\nthe answer is fleas (b).\nA: fleas makes you itch. Therefore, the answer is fleas (b).\n\nQ: What is ignorance often equated with?\nAnswer Choices:\n(a) bliss\n(b) hostility\n(c) peace\n(d) accidents\n(e) find truth\nA: The answer must be something that is often equated with\nignorance. Bliss is often equated with ignorance. Therefore,\nthe answer is bliss (a).\nA: The answer must be a feeling which would cause someone\nto be ignorant. If someone feels bliss, they are likely to\nbe ignorant. Therefore, the answer is bliss (a).\nA: bliss comes from ignorance. Therefore, the answer is\nbliss (a).\nQ: The two teams were competing all the time, what likely\ndeveloped between them?\nAnswer Choices:\n(a) accomplishment\n(b) enemies\n(c) rivalry\n(d) friendship\n(e) bad blood\nA: The answer must be something that developed between the\ntwo teams. The teams were competing all the time. Therefore,\nthe answer is rivalry (c).\nA: The answer must be a feeling which would cause two teams\nto compete all the time. Rivalry is a common feeling which\nwould cause two teams to compete all the time. Therefore,\nthe answer is rivalry (c).\nA: likely developed between them of rivalry. Therefore, the\nanswer is rivalry (c).\nQ: James doesn’t want a relationship. He thinks that loving\nanother will only create what?\nAnswer Choices:\n(a) satisfaction\n(b) jealousy\n(c) happiness\n(d) wonderful\n(e) quiet\nA: The answer must be something that would make James feel\nbad about not having a relationship. If someone feels\njealous, they are likely to want a relationship. Therefore,\nthe answer is jealousy (b).\nA: The answer must be a feeling which would cause someone\nwho doesn’t want a relationship to not want one. If someone\nfeels jealous of another, they are likely to not want a\nrelationship. Therefore, the answer is jealousy (b).\nA: Jealousy is a negative emotion. Therefore, the answer is\njealousy (b).\nQ: The had a reputation for celebrating in a debaucherous\nmanner, what often happened as a result?\nAnswer Choices:\n(a) drunkenness\n(b) enjoyment\n(c) have fun\n(d) hang over\n(e) fighting\nA: The answer must be a result of a celebration. The answer\nis drunkenness (a).\nA: The answer must be something that would cause someone to\nhave a reputation for celebrating in a debaucherous manner.\nAlcohol is a depressant. Therefore, the answer is\ndrunkenness (a).\n\n20\n\n\fA: it is normal not a good idea to get drunk. Therefore,\nthe answer is drunkenness (a).\nQ: The paper towels are usually in plain sight in the\nkitchen, where did the dad go next to find them?\nAnswer Choices:\n(a) pantry\n(b) cabinet\n(c) grocery store\n(d) waste bin\n(e) market\nA: The answer must be a place where the dad would go to\nfind the paper towels. The pantry is a place where food is\nstored. Therefore, the answer is pantry (a).\nA: The answer must be a place where paper towels are stored.\nPantries are the most likely place to store paper towels.\nTherefore, the answer is pantry (a).\nA: The pantry is in the kitchen and stores things.\nTherefore, the answer is pantry (a).\nQ: My house is very dry, with little water in the air. What\ntool should I use to fix this?\nAnswer Choices:\n(a) humidifier\n(b) surface of earth\n(c) skating rink\n(d) ice cube\n(e) burn it to the ground\nA: The answer must be a tool that will make the air in your\nhouse moist. A humidifier is a tool that will make the air\nin your house moist. Therefore, the answer is humidifier (\na).\nA: The answer must be something that would make the air in\nmy house more humid. A humidifier is used to make the air\nin a room more humid. Therefore, the answer is humidifier (\na).\nA: This word was most relevant. Therefore, the answer is\nhumidifier (a).\nQ: A motorcycle is quicker because it isn’t as what as a car\n?\nAnswer Choices:\n(a) heavy\n(b) shiny\n(c) red\n(d) obesity\n(e) expensive\nA: The answer must be something that is not as heavy as a\ncar. A motorcycle is lighter than a car. Therefore, the\nanswer is not heavy (a).\nA: The answer must be something that is not as quick as a\nmotorcycle. Motorcycles are not as heavy as cars. Therefore,\nthe answer is heavy (a).\nA: Because it is much smaller. Therefore, the answer is\nheavy (a).\nQ: The baseball team was playing ball. It was time for the\npitcher to act. How did the pitcher get the ball to the\nbatter?\nAnswer Choices:\n(a) lose\n(b) injury\n(c) competition\n(d) throwing\n(e) rolled\nA: The answer must be a way to get the ball to the batter.\nThe pitcher is the one who throws the ball. Therefore, the\nanswer is throwing (d).\nA: The answer must be a way for the pitcher to get the ball\nto the batter. The pitcher is the person who is\nresponsible for getting the ball to the batter. Therefore,\nthe answer is throwing (d).\nA: The pitcher threw the ball to the batter so that he\ncould hit it. Therefore, the answer is throwing (d).\nQ: In what sort of container should you keep your ficus?\nAnswer Choices:\n(a) refigerator\n(b) screened porch\n(c) clay pot\n(d) shady places\n(e) arboretum\nA: The answer must be a container that keeps the ficus in a\nshady place. Clay pots are used to keep plants in shady\nplaces. Therefore, the answer is clay pot (c).\nA: The answer must be a container in which ficus can be\nkept. Ficus are tropical plants. Therefore, the answer is\nclay pot (c).\nA: Clay pot is the only type of container listed. Therefore,\nthe answer is clay pot (c).\n\nQ: James was cooking s stew in his apartment kitchen. Where\nmight he look for a potato.\nAnswer Choices:\n(a) restaurants\n(b) casserole\n(c) root cellar\n(d) pockets\n(e) pantry\nA: The answer must be a place where potatoes are stored.\nThe answer is pantry (e).\nA: The answer must be a place where potatoes are stored.\nPantries are the most likely place to store potatoes.\nTherefore, the answer is pantry (e).\nA: apartments do not often have root cellars, and are not\nrestaurants. a pantry is closest to James inside his\napartment. Therefore, the answer is pantry (e).\nQ: If ships are in a storm and the sun comes out, what has\nhappened?\nAnswer Choices:\n(a) sinks\n(b) cross river\n(c) collide\n(d) bottom out\n(e) carry people\nA: The answer must be a thing that happens when ships are\nin a storm and the sun comes out. Ships are in a storm when\nthey are in the middle of the ocean. Therefore, the answer\nis bottom out (d).\nA: The answer must be something that happens when the sun\ncomes out. The sun is a source of energy. Therefore, the\nanswer is bottom out (d).\nA: the sun comes out so its not a storm any more. Therefore,\nthe answer is bottom out (d).\nQ: Where do all marmot live before they are captured?\nAnswer Choices:\n(a) switzerland\n(b) spain\n(c) vancouver island\n(d) wilderness\n(e) australia\nA: The answer must be a place where marmots live. Marmots\nlive in the wilderness. Therefore, the answer is wilderness\n(d).\nA: The answer must be a place where marmots are found. The\nwilderness is the most likely place to find marmots.\nTherefore, the answer is wilderness (d).\nA: Marmots don’t live in Australia or Switzerland.\nTherefore, the answer is wilderness (d).\nQ: Where does one wait on a bench for something on tracks?\nAnswer Choices:\n(a) train station\n(b) state park\n(c) crosswalk\n(d) bus stop\n(e) bus depot\nA: The answer must be a place where one waits for a train,\nbus, or other vehicle. The answer is train station (a).\nA: The answer must be a place where one can wait for a\ntrain. Train stations are places where trains stop.\nTherefore, the answer is train station (a).\nA: Only trains are on tracks. Therefore, the answer is\ntrain station (a).\nQ: What can planning vacation lead to between a couple when\nthey disagree?\nAnswer Choices:\n(a) relaxation\n(b) enjoying\n(c) arguments\n(d) going abroad\n(e) spending money\nA: The answer must be something that can happen when a\ncouple disagrees. Arguments are a common result of\ndisagreements. Therefore, the answer is arguments (c).\nA: The answer must be a result of planning vacation.\nArguments are a common result of planning vacation.\nTherefore, the answer is arguments (c).\nA: Arguments are the direct result of disagreements.\nTherefore, the answer is arguments (c).\nQ: A sloth climbs slow, but it can eventually reach all the\nway up where?\nAnswer Choices:\n(a) forest canopy\n(b) universe\n(c) tropical rainforest\n(d) large trees\n(e) nature preserve\n\n21\n\n\fA: The answer must be a place where a sloth can climb. The\nforest canopy is the highest point in the forest. Therefore,\nthe answer is forest canopy (a).\nA: The answer must be a place where a sloth can climb. The\ncanopy of a forest is the highest point in a forest.\nTherefore, the answer is canopy of a forest (a).\nA: The sloth is a mammal that lives in the trees of South\nAmerica. They have a slow and peculiar way of moving about.\nIn fact, they are the slowest land mammals and travel very\nsluggishly on the ground (0.025 m/s-0.050 m/s). Therefore,\nthe answer is canopy of a forest (a).\nQ: Where in America is known for theaters?\nAnswer Choices:\n(a) new york city\n(b) shopping mall\n(c) downtown area\n(d) skating rink\n(e) military base\nA: The answer must be a place where people go to see movies.\nTheaters are places where people go to see movies.\nTherefore, the answer is theater (a).\nA: The answer must be a place with a lot of theaters. New\nYork City is known for its many theaters. Therefore, the\nanswer is New York City (a).\nA: New York City is the main region in US known for\ntheaters. Therefore, the answer is New York City (a).\nQ: What does hearing someone play violin beautifully make\nyou?\nAnswer Choices:\n(a) buy earplugs\n(b) inspiring\n(c) guitar\n(d) make music\n(e) like music\nA: The answer must be something that makes you feel\ninspired. Hearing someone play violin beautifully makes you\nfeel inspired. Therefore, the answer is inspiring (b).\nA: The answer must be a feeling which would cause someone\nto want to hear someone play violin beautifully. Music is a\nform of art. Therefore, the answer is inspiring (b).\nA: Hearing someone play a violin beautifully makes me\ninspired. Therefore, the answer is inspiring (b).\n\nA: The answer must be something that would protect legs\nfrom getting dirty on the farm. Jeans are used to protect\nlegs from getting dirty. Therefore, the answer is wear\njeans (a).\nA: Jeans cover over legs. Therefore, the answer is wear\njeans (a).\nQ: What types of stoves are there?\nAnswer Choices:\n(a) these twos are irrelevent to the questions\n(b) warm pot of beans\n(c) brown meat\n(d) warm room\n(e) gas or electric\nA: The answer must be a type of stove. The stove is used to\nheat food. Therefore, the answer is gas or electric (e).\nA: The answer must be a type of stove. Stoves are used to\nwarm rooms. Therefore, the answer is electric (e).\nA: stoves are gas or electric. Therefore, the answer is gas\nor electric (e).\nQ: In what geological feature will you find fungus growing?\nAnswer Choices:\n(a) shower stall\n(b) toenails\n(c) basement\n(d) forrest\n(e) cave\nA: The answer must be a place where fungus grows. The\nanswer is cave (e).\nA: The answer must be a place where fungus grows. Fungus\ngrows in caves. Therefore, the answer is cave (e).\nA: Rivers flow trough valleys. Therefore, the answer is\ncave (e).\nQ: What is our sun considered to be the center of?\nAnswer Choices:\n(a) universe\n(b) solar system\n(c) outer space\n(d) star\n(e) beans\nA: The answer must be something that is considered to be\nthe center of the universe. The sun is the center of the\nsolar system. Therefore, the answer is solar system (b).\nA: The answer must be a place where the sun is the center\nof. The sun is the center of the solar system. Therefore,\nthe answer is solar system (b).\nA: It is the best option because it is the closest.\nTherefore, the answer is solar system (b).\n\nQ: What emotion does committing murder induce?\nAnswer Choices:\n(a) fear\n(b) go to jail\n(c) problems\n(d) cruel\n(e) dead\nA: The answer must be a feeling that would cause someone to\ncommit murder. Murder is a crime. Therefore, the answer is\nfear (a).\nA: The answer must be a feeling which would cause someone\nto commit murder. If someone feels fear, they are likely to\nwant to avoid committing murder. Therefore, the answer is\nfear (a).\nA: The only feeling. Therefore, the answer is fear (a).\n\nQ: What are people in a library likely doing?\nAnswer Choices:\n(a) talk to each other\n(b) board ships\n(c) study books\n(d) suffer hunger\n(e) playing games\nA: The answer must be something that people in a library\nare likely to be doing. People in a library are likely to\nbe studying books. Therefore, the answer is study books (c).\n\nQ: Sitting to close while watching TV can cause what sort of\npain?\nAnswer Choices:\n(a) brain problems\n(b) laziness\n(c) get fat\n(d) headache\n(e) laughter\nA: The answer must be a pain that comes from sitting too\nclose to the TV. Sitting too close to the TV can cause\nheadaches. Therefore, the answer is headache (d).\nA: The answer must be a type of pain which can occur if you\nare sitting too close to the TV. Headaches are a common\nside effect of sitting too close to the TV. Therefore, the\nanswer is headache (d).\nA: the process of aging in humans. Therefore, the answer is\nheadache (d).\n\nA: The answer must be something that is likely to happen in\na library. Libraries are places where people study books.\nTherefore, the answer is studying books (c).\nA: Books shelved as study-skills: How to Become a StraightA Student by Cal Newport, The Study Skills Handbook by\nStella Cottrell, Make It Stick: The Scienc... Therefore,\nthe answer is study books (c).\nQ: A shark isn’t something you have to worry about at the\nlake in the woods, but there are plenty of dangers in the\nwhat?\nAnswer Choices:\n(a) great oceans\n(b) great outdoors\n(c) tropical waters\n(d) pacific ocean\n(e) gulf of mexico\nA: The answer must be something that is dangerous in the\ngreat outdoors. The great outdoors is a place where there\nare many dangers. Therefore, the answer is great outdoors (\nb).\nA: The answer must be a place where sharks are a danger.\nLakes in the woods are not a place where sharks are a\ndanger. Therefore, the answer is great outdoors (b).\nA: The great outdoors is the only choice where you would\nfind a lake in the woods. Therefore, the answer is great\noutdoors (b).\n\nQ: What might people do to protect their legs from getting\ndirty on the farm?\nAnswer Choices:\n(a) wear jeans\n(b) milk cow\n(c) believe in god\n(d) avoid mud\n(e) plant flowers\nA: The answer must be something that people do to protect\ntheir legs from getting dirty. Of the above choices,\nwearing jeans is the most logical. Therefore, the answer is\njeans (a).\n\nQ: You can share files with someone if you have a connection\nto a what?\n\n22\n\n\fAnswer Choices:\n(a) freeway\n(b) radio\n(c) wires\n(d) computer network\n(e) electrical circuit\nA: The answer must be a way to share files. The answer is\ncomputer network (d).\nA: The answer must be a connection which allows you to\nshare files. A computer network is a collection of\ncomputers which are connected to each other. Therefore, the\nanswer is computer network (d).\nA: Files can be transmitted over a computer network, and\nnot a freeway. \"wires\" doesnt make any sense. Therefore,\nthe answer is computer network (d).\n\nQ: What can an injury happen to?\nAnswer Choices:\n(a) emergency room\n(b) doctor’s office\n(c) living thing\n(d) bones\n(e) accident\nA: The answer must be something that can happen to a living\nthing. The answer is living thing (c).\nA: The answer must be something that can happen to a living\nthing. If someone is injured, they are likely to want to\ngo to the emergency room. Therefore, the answer is living\nthing (c).\nA: Living things feel pain, and therefore can be injured.\nTherefore, the answer is living thing (c).\n\n23\n\n\fD\n\nExample Rationalizations on CQA\n\nWe include a randomly sampled set of rationalizations which the model is able to produce before\nfine-tuning. We observe that sometimes, the model constructs an argument roughly of the form “the\nanswer must have a set of properties. correct answer has those properties. therefore, the answer is\ncorrect answer.” This structure of argument is fairly standard, but given that the model originally\nanswered those questions incorrectly, it resembles template-matching more than reasoning. The\ntechnique of rephrasing the question in a simpler way before answering it directly is also often\neffective. In general, the rationales from the pretrained model’s rationalization appears to be of\nsimilar quality to the pretrained model’s rationale generation. We reference the pretrained model here\nrather than the STaR-trained model, as the final iteration’s rationales are the ones which the model\nstruggled to learn from – that is, if the rationales were good, then we might expect that the model\nwould have already incorporated them into its rationale generation.\nQ: Why do I eat just enough when eating breakfast?\nAnswer Choices:\n(a) gas\n(b) full stomach\n(c) feeling satisfied (CORRECT)\n(d) have energy\n(e) bloated\nA: The answer must be a reason for eating just enough when eating breakfast. Eating\njust enough is a way to feel satisfied. Therefore, the answer is feeling satisfied (\nc).\nQ: How is a dog likely to communicate with another dog?\nAnswer Choices:\n(a) reproduce\n(b) bark (CORRECT)\n(c) do many things\n(d) clone\n(e) jump up\nA: The answer must be a way for a dog to communicate with another dog. Dogs bark to\ncommunicate with each other. Therefore, the answer is bark (b).\nQ: If a person is trying to weasel out of punishment for a crime, where are they\nlikely to be?\nAnswer Choices:\n(a) court room (CORRECT)\n(b) cherry tree\n(c) chicken coop\n(d) natural history museum\n(e) jail\nA: The answer must be a place where a person would be trying to get out of\npunishment for a crime. The answer is court room (a).\nQ: What would easily hide a snake?\nAnswer Choices:\n(a) living room of a house\n(b) kew gardens\n(c) terrarium\n(d) thick forest (CORRECT)\n(e) tropical forest\nA: The answer must be something that would hide a snake. The answer is thick forest\n(d).\nQ: The person didn’t like the varying size of the cake slices handed out, she demand\nmore what?\nAnswer Choices:\n(a) fairness (CORRECT)\n(b) candies\n(c) compliments\n(d) well fed\n(e) arguements\n\n24\n\n\fA: The answer must be a reason for the person to demand more cake. The person is not\nhappy with the size of the cake slices. Therefore, the answer is fairness (a).\nQ: In America, the courthouse of any given town has a likely location, where is it?\nAnswer Choices:\n(a) electrical circuit\n(b) getting married\n(c) capital city\n(d) center of town (CORRECT)\n(e) michigan\nA: The answer must be a location where a courthouse is located. The capital city is\nthe location of the capital of a state. Therefore, the answer is center of town (d).\nQ: Where might I find a bowl nestled among other bowls in the kitchen?\nAnswer Choices:\n(a) refrigerator\n(b) kitchen top\n(c) cupboard (CORRECT)\n(d) dishwasher\n(e) apartment\nA: The answer must be a place where a bowl is found. The kitchen is a place where\nbowls are found. Therefore, the answer is cupboard (c).\nQ: Which state has blue ridge mountains that are called Blue Mountain?\nAnswer Choices:\n(a) appalachians\n(b) virginia\n(c) pennsylvania (CORRECT)\n(d) north carolina\n(e) montana\nA: The answer must be a state with mountains. The answer is Pennsylvania (c).\nQ: Where could you find many radio studio?\nAnswer Choices:\n(a) radio station\n(b) country\n(c) clear area\n(d) office building\n(e) large city (CORRECT)\nA: The answer must be a place where many radio studios are located. Radio studios\nare used to broadcast radio programs. Therefore, the answer is large city (e).\nQ: Where would someone bring you a cup?\nAnswer Choices:\n(a) apartment\n(b) closet\n(c) restaurant (CORRECT)\n(d) table\n(e) party\nA: The answer must be a place where someone would bring you a cup. A restaurant is a\nplace where people bring cups. Therefore, the answer is restaurant (c).\n\n25\n\n\fE\n\nSTaR Without Rationalization (Rationale Generation Bootstrapping)\n\nFor convenience, we include the rationale generation bootstrapping algorithm alone here. However, it\nis simply Algorithm 1, with the blue components removed.\nAlgorithm 2 Rationale Generation Bootstrapping (STaR without rationalization)\nInput M : a pretrained LLM; dataset D = {(xi , yi )}D\ni=1 (w/ few-shot prompts)\n1: M0 ← M # Copy the original model\n2: for n in 1...N do # Outer loop\n3:\n(r̂i , ŷi ) ← Mn−1 (xi ) ∀i ∈ [1, D] # Perform rationale generation\n4:\nDn ← {(xi , r̂i , yi ) | i ∈ [1, D] ∧ ŷi = yi } # Filter rationales using ground truth answers\n5:\nMn ← train(M, Dn ) # Finetune the original model on the correct solutions - inner loop\n6: end for\n\nF\n\nCase Study\nQ: They prided themselves on being a\nwealth of knowledge, and that’s why many\nchose to attend their what?\nAnswer Choices:\n(a) book store (b) university (c) meeting\n(d) class (e) encyclopedia\nA: The answer must be a place where people\ngo to learn about things. The answer is\nuniversity (b).\nA: The answer must be a place where people\ngo to learn about things. Universities are\nplaces where people go to learn about\nthings. Therefore, the answer is\nuniversity (b).\n\nQ: John wants to eat at an Indian\nrestaurant in on top of the space\nneedle, where would he have to go?\nAnswer Choices:\n(a) reservation (b) curry\n(c) britsh town (d) seattle\n(e) large city\nA: The answer must be a place with\na space needle. The space needle is\na landmark in Seattle. Therefore,\nthe answer is Seattle (d).\nQ: I put a towel in a cardboard box for\nthe kitten, I wanted it to have what?\nAnswer Choices:\n(a) farmhouse (b) zoos (c) cold place\n(d) floor (e) warm place\nA: The answer must be a place where the\nkitten would be comfortable. The kitten\nwould be comfortable in a warm place.\nTherefore, the answer is warm place (e).\n\nQ: You want a real estate agent that is\nstraight forward with you, the last\nthing you want is for them to what a\nhouse’s quality?\nAnswer Choices:\n(a) cover up (b) offer price\n(c) misrepresent (d) lie (e) falsify\nA: The answer must be a way to determine\nthe quality of a house. The answer is\nmisrepresent (c).\nA: The answer must be something that\nwould be a bad thing for the real estate\nagent to do. The real estate agent would\nbe misrepresenting the house’s quality\nif they were to lie about it. Therefore,\nthe answer is misrepresent (c).\n\nQ: Needlepoint requires many\naccessories, what holds the work taut?\nAnswer Choices:\n(a) sewing (b) collection of folk art\n(c) livingroom (d) frame (e) bathroom\nA: The answer must be something that\nholds the work taut. The work is taut\nbecause it is held in place. Therefore,\nthe answer is frame (d).\n\n(b) Problems where the model was already able to answer them with few-shot reasoning, but was able to\nanswer better after more iterations.\n\n(a) Problems where the model was able to solve questions which it had previously answered incorrectly.\n\nFigure 7: Case study on STaR. We highlight some problems which the model is not initially able\nto solve, as well as rationales which are initially correct but improve. We note that for CQA, one is\ntasked with selecting the “best” answer, where multiple answers may be technically correct.\n\n26\n\n\fG\n\nBias and Faithfulness\n\nIt is important to note that STaR is designed to amplify the reasoning that leads to correct solutions\non a given dataset. The implication of this with a dataset like CommonsenseQA is that if biases are\n“useful” in solving the dataset then they will be amplified. This is made worse by rationalization, as\nbiased answers that the model may not naturally arrive at are, in a sense, pulled out of the model.\nThe exact interaction between the bias in a dataset and the pre-existing bias learned by the model\nis unclear, and something to consider before real-world deployment of all large language models in\ngeneral, but STaR-trained models in particular.\nWe find some encouraging initial results on this however: for questions where gender is not relevant,\nthe model appears to disregard it in its explanation. For example: “Q: Where is a good place for\na woman to store her sunglasses? → A: The answer must be a place where sunglasses are stored.\nSunglasses are stored in purses. Therefore, the answer is purse (e).” or “Q: The only baggage the\nwoman checked was a drawstring bag, where was she heading with it? → A: The answer must be\na place where a drawstring bag is checked. The answer is airport (e).” We believe this question\nwarrants a much more comprehensive study.\nOne important challenge with models which seek to be interpretable or provide explanations for\ntheir reasoning is that of faithfulness. While our primary emphasis is not on the explainability\nbenefits that STaR may bring, there is a fundamental challenge around evaluating explanations\nand rationales: namely, faithfulness [33, 34]. [34] describe faithful explanations as those which\n“accurately [represent] the reasoning process behind the model’s prediction.” While STaR encourages\nthe use of reasoning in rationales which leads the model to correct answers, it is difficult, if not\nimpossible, to ensure that the rationales reflect the model’s internal processing. For example, it is\nstraightforward to imagine the model implicitly selecting a particular answer immediately and then\ngenerating a rationale to justify that selected answer. This would allow a model to generate unbiased\nrationales while selecting answers in a biased way.\nThe fact that our model outperforms one fine-tuned to directly predict the answers, and ablation\nstudies from papers such as [6] make it clear that the generation of a rationale before producing an\nanswer non-trivially improves the model’s answer quality. However, it is difficult to evaluate the\ndegree to which any particular answer’s rationale is faithful. However, we note that there problems\nare not unique to STaR, but are symptomatic of the difficulty of understanding large language models\nand in particular the rationales generated by large language models.\n\nH\n\nHyperparameters\n\nGPT-J is a 28-layer decoder-only transformer, with an embedding size of 1024, 16 attention heads of\ndimension 256, and an FFN hidden layer of size 16384. It was pre-trained on the Pile [35], with a\nvocabulary size of 50.4K\nIn general, unless otherwise stated, we use a batch size of 8 sequences, each of length 1024. We also\nuse packing, namely, packing the shorter examples to form longer sequences (up to length 1024) to\nimprove TPU utilization. We do not use weight decay, and we train and sample on a single TPU-v3\nnode. We performed a hyperparameter search over learning rates from 10−7 to 10−4 using the Adam\noptimizer [36]. We found that 10−6 was consistently the best-performing learning rate.\n\n27\n\n\fI\n\nGSM8K Few-shot Prompt\n\nWe include the following few-shot prompts for GSM8K, based on the examples in [9].\nQ: Natalia sold clips to 48 of her friends in April, and then she sold half as many\nclips in May. How many clips did Natalia sell altogether in April and May?\nA: Natalia sold 48/2 = &lt;&lt;48/2=24&gt;&gt;24 clips in May.\nNatalia sold 48+24 = &lt;&lt;48+24=72&gt;&gt;72 clips altogether in April and May.\n#### 72\nQ: Betty is saving money for a new wallet which costs $100. Betty has only half of\nthe money she needs. Her parents decided to give her $15 for that purpose, and her\ngrandparents twice as much as her parents. How much more money does Betty need to\nbuy the wallet?\nA: In the beginning, Betty has only 100 / 2 = $&lt;&lt;100/2=50&gt;&gt;50.\nBetty’s grandparents gave her 15 * 2 = $&lt;&lt;15*2=30&gt;&gt;30.\nThis means, Betty needs 100 - 50 - 30 - 15 = $&lt;&lt;100-50-30-15=5&gt;&gt;5 more.\n#### 5\nQ: Julie is reading a 120-page book. Yesterday, she was able to read 12 pages and\ntoday, she read twice as many pages as yesterday. If she wants to read half of the\nremaining pages tomorrow, how many pages should she read?\nA: Maila read 12 x 2 = &lt;&lt;12*2=24&gt;&gt;24 pages today.\nSo she was able to read a total of 12 + 24 = &lt;&lt;12+24=36&gt;&gt;36 pages since yesterday.\nThere are 120 - 36 = &lt;&lt;120-36=84&gt;&gt;84 pages left to be read.\nSince she wants to read half of the remaining pages tomorrow, then she should read\n84/2 = &lt;&lt;84/2=42&gt;&gt;42 pages.\n#### 42\nQ: Mark has a garden with flowers. He planted plants of three different colors in it\n. Ten of them are yellow, and there are 80% more of those in purple. There are only\n25% as many green flowers as there are yellow and purple flowers. How many flowers\ndoes Mark have in his garden?\nA: There are 80/100 * 10 = &lt;&lt;80/100*10=8&gt;&gt;8 more purple flowers than yellow flowers.\nSo in Mark’s garden, there are 10 + 8 = &lt;&lt;10+8=18&gt;&gt;18 purple flowers.\nPurple and yellow flowers sum up to 10 + 18 = &lt;&lt;10+18=28&gt;&gt;28 flowers.\nThat means in Mark’s garden there are 25/100 * 28 = &lt;&lt;25/100*28=7&gt;&gt;7 green flowers.\nSo in total Mark has 28 + 7 = &lt;&lt;28+7=35&gt;&gt;35 plants in his garden.\n#### 35\nQ: Alexis is applying for a new job and bought a new set of business clothes to wear\nto the interview. She went to a department store with a budget of $200 and spent\n$30 on a button-up shirt, $46 on suit pants, $38 on a suit coat, $11 on socks, and\n$18 on a belt. She also purchased a pair of shoes, but lost the receipt for them.\nShe has $16 left from her budget. How much did Alexis pay for the shoes?\nA: Let S be the amount Alexis paid for the shoes.\nShe spent S + 30 + 46 + 38 + 11 + 18 = S + &lt;&lt;+30+46+38+11+18=143&gt;&gt;143.\nShe used all but $16 of her budget, so S + 143 = 200 - 16 = 184.\nThus, Alexis paid S = 184 - 143 = $&lt;&lt;184-143=41&gt;&gt;41 for the shoes.\n#### 41\nQ: Tina makes $18.00 an hour. If she works more than 8 hours per shift, she is\neligible for overtime, which is paid by your hourly wage + 1/2 your hourly wage. If\nshe works 10 hours every day for 5 days, how much money does she make?\nA: She works 8 hours a day for $18 per hour so she makes 8*18 = $\n&lt;&lt;8*18=144.00&gt;&gt;144.00 per 8-hour shift\nShe works 10 hours a day and anything over 8 hours is eligible for overtime, so she\ngets 10-8 = &lt;&lt;10-8=2&gt;&gt;2 hours of overtime\nOvertime is calculated as time and a half so and she makes $18/hour so her overtime\npay is 18*.5 = $&lt;&lt;18*.5=9.00&gt;&gt;9.00\nHer overtime pay is 18+9 = $&lt;&lt;18+9=27.00&gt;&gt;27.00\nHer base pay is $144.00 per 8-hour shift and she works 5 days and makes 5 * $144 = $\n&lt;&lt;144*5=720.00&gt;&gt;720.00\nHer overtime pay is $27.00 per hour and she works 2 hours of overtime per day and\nmakes 27*2 = $&lt;&lt;27*2=54.00&gt;&gt;54.00 in overtime pay\n\n28\n\n\f2 hours of overtime pay for 5 days means she makes 54*5 = $270.00\nIn 5 days her base pay is $720.00 and she makes $270.00 in overtime pay so she makes\n$720 + $270 = $&lt;&lt;720+270=990.00&gt;&gt;990.00\n#### 990\n\n29\n\n\fJ\n\nSTaR GSM8K Solutions\n\nWe observe some interesting patterns with the GSM8K solutions proposed by the STaR-trained\nmodel. Typically, when the solution takes substantially fewer calculation steps than the ground truth,\nit corresponds to an instance where the model accidentally answered the question correctly despite\nmistakes in its reasoning. In some cases, however, the model produces simpler solutions than those in\nthe ground truth. One example is shown in Figure 8.\nQ: A van is delivering 180 bottles of drinks to a neighborhood, and each bottle contains\neither cider or beer or a mixture of two. Out of the 180 bottles, 40 contain only cider, 80\ncontain only beer, and the rest are a mixture of the two drinks. If the delivery man gives\nhalf the number of each bottle of drink to the first house, how many bottles does the first\nhouse get?\nHuman (Ground truth from GSM8K dataset):\n\nSTaR (on GPT-J):\n\nThe total number of bottles containing\ncider or beer is 40+80 = &lt;&lt;40+80=120&gt;&gt;120\nIf the number of bottles in the van was\n180, then 180-120 =&lt;&lt;180-120=60&gt;&gt;60\ncontains a mixture of the two drinks.\nAt the first house, the delivery man\ndropped 1/2*40 = &lt;&lt;1/2*40=20&gt;&gt;20 bottles.\nThere were also 1/2*80 = &lt;&lt;1/2*80=40&gt;&gt;40\nbottles of beer that the delivery man gave\nto the first house.\nTogether, the first house received 40+20 =\n&lt;&lt;40+20=60&gt;&gt;60 bottles of cider and beer\nThe total number of bottles that had a\nmixture of the two drinks that were dropped\nat the first house is 1/2*60 =\n&lt;&lt;1/2*60=30&gt;&gt;30\nThe first house got 60+30 = &lt;&lt;60+30=90&gt;&gt;90\nbottles of all types of drinks.\n\nThe delivery man gives half the number of\neach bottle of drink to the first house.\nSo he gives 180/2 = &lt;&lt;180/2=90&gt;&gt;90 bottles\nof drink to the first house.\n#### 90\n\n#### 90\n\nFigure 8: An example problem in the training set where STaR derives a significantly simpler solution\nthan the ground truth.\n\n30\n\n\f</code></pre></article>\n        \n</main>\n\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js\"></script>\n<script>\n\nfunction initTheme() {\n  const saved = localStorage.getItem('kb-theme') || 'light';\n  document.documentElement.setAttribute('data-theme', saved);\n  updateThemeIcon(saved);\n}\nfunction toggleTheme() {\n  const cur = document.documentElement.getAttribute('data-theme') || 'light';\n  const next = cur === 'light' ? 'dark' : 'light';\n  document.documentElement.setAttribute('data-theme', next);\n  localStorage.setItem('kb-theme', next);\n  updateThemeIcon(next);\n}\nfunction updateThemeIcon(t) {\n  const btn = document.getElementById('theme-toggle-btn');\n  if (btn) btn.innerHTML = t === 'dark' ? '☀️' : '🌙';\n}\ndocument.addEventListener('DOMContentLoaded', initTheme);\n\nfunction setViewMode(m) {\n  const grid = document.getElementById('bento-grid-view');\n  const list = document.getElementById('list-table-view');\n  const bGrid = document.getElementById('view-grid-btn');\n  const bList = document.getElementById('view-list-btn');\n  if (m === 'list') {\n    if (grid) grid.style.display = 'none';\n    if (list) list.style.display = 'flex';\n    if (bGrid) bGrid.classList.remove('active');\n    if (bList) bList.classList.add('active');\n  } else {\n    if (grid) grid.style.display = 'grid';\n    if (list) list.style.display = 'none';\n    if (bGrid) bGrid.classList.add('active');\n    if (bList) bList.classList.remove('active');\n  }\n  localStorage.setItem('kb-view', m);\n}\ndocument.addEventListener('DOMContentLoaded', () => {\n  const s = localStorage.getItem('kb-view') || 'grid';\n  setViewMode(s);\n});\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  document.querySelectorAll('pre').forEach(pre => {\n    const b = document.createElement('button');\n    b.className = 'copy-code-btn';\n    b.innerText = 'Copy';\n    b.onclick = () => {\n      const c = pre.querySelector('code') ? pre.querySelector('code').innerText : pre.innerText;\n      navigator.clipboard.writeText(c).then(() => {\n        b.innerText = 'Copied!';\n        setTimeout(() => { b.innerText = 'Copy'; }, 2000);\n      });\n    };\n    pre.appendChild(b);\n  });\n});\n\nwindow.addEventListener('keydown', (e) => {\n  if ((e.key === '/' || (e.metaKey && e.key === 'k')) && document.activeElement.tagName !== 'INPUT' && document.activeElement.tagName !== 'TEXTAREA') {\n    e.preventDefault();\n    const q = document.getElementById('global-search-input');\n    if (q) q.focus();\n  }\n});\n\n// Scrollspy for TOC\nwindow.addEventListener('scroll', () => {\n  const headers = document.querySelectorAll('.article-body h1, .article-body h2, .article-body h3');\n  const scrollPos = window.scrollY + 100;\n  headers.forEach(h => {\n    if (h.offsetTop <= scrollPos) {\n      const id = h.getAttribute('id');\n      if (id) {\n        document.querySelectorAll('.reading-sidebar a').forEach(a => {\n          a.classList.toggle('active', a.getAttribute('href') === '#' + id);\n        });\n      }\n    }\n  });\n});\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  if (window.renderMathInElement) {\n    renderMathInElement(document.body, {\n      delimiters: [\n        {left: '$$', right: '$$', display: true},\n        {left: '$', right: '$', display: false},\n      ],\n      throwOnError : false\n    });\n  }\n});\n</script>\n\n</body>\n</html>\n"