"<!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>L ARGE L ANGUAGE M ODELS C ANNOT S ELF -C ORRECT\nR EASONING Y ET\nJie Huang1,2∗ Xinyun Chen1∗ Swaroop Mishra1 Huaixiu Steven Zheng1 Adams Wei Yu1\nXinying Song1 Denny Zhou1\n1\n\nGoogle DeepMind\n\n2\n\nUniversity of Illinois at Urbana-Champaign\n\narXiv:2310.01798v2 [cs.CL] 14 Mar 2024\n\njeffhj@illinois.edu, {xinyunchen, dennyzhou}@google.com\n\nA BSTRACT\nLarge Language Models (LLMs) have emerged as a groundbreaking technology\nwith their unparalleled text generation capabilities across various applications.\nNevertheless, concerns persist regarding the accuracy and appropriateness of their\ngenerated content. A contemporary methodology, self-correction, has been proposed as a remedy to these issues. Building upon this premise, this paper critically\nexamines the role and efficacy of self-correction within LLMs, shedding light on\nits true potential and limitations. Central to our investigation is the notion of intrinsic self-correction, whereby an LLM attempts to correct its initial responses\nbased solely on its inherent capabilities, without the crutch of external feedback.\nIn the context of reasoning, our research indicates that LLMs struggle to selfcorrect their responses without external feedback, and at times, their performance\neven degrades after self-correction. Drawing from these insights, we offer suggestions for future research and practical applications in this field.\n\n1\n\nI NTRODUCTION\n\nThe rapid advancements in the domain of artificial intelligence have ushered in the era of Large\nLanguage Models (LLMs). These models, characterized by their expansive parameter counts and\nunparalleled capabilities in text generation, have showcased promising results across a multitude\nof applications (Chowdhery et al., 2023; Anil et al., 2023; OpenAI, 2023, inter alia). However,\nconcerns about their accuracy, reasoning capabilities, and the safety of their generated content have\ndrawn significant attention from the community (Bang et al., 2023; Alkaissi &amp; McFarlane, 2023;\nZheng et al., 2023; Shi et al., 2023; Carlini et al., 2021; Huang et al., 2022; Shao et al., 2023; Li\net al., 2023; Wei et al., 2023; Zhou et al., 2023b; Zou et al., 2023, inter alia).\nAmidst this backdrop, the concept of “self-correction” has emerged as a promising solution, where\nLLMs refine their responses based on feedback to their previous outputs (Madaan et al., 2023;\nWelleck et al., 2023; Shinn et al., 2023; Kim et al., 2023; Bai et al., 2022; Ganguli et al., 2023;\nGao et al., 2023; Paul et al., 2023; Chen et al., 2023b; Pan et al., 2023, inter alia). However, the\nunderlying mechanics and efficacy of self-correction in LLMs remain underexplored. A fundamental question arises: If an LLM possesses the ability to self-correct, why doesn’t it simply offer the\ncorrect answer in its initial attempt? This paper delves deeply into this paradox, critically examining\nthe self-correction capabilities of LLMs, with a particular emphasis on reasoning (Wei et al., 2022;\nZhou et al., 2023b; Huang &amp; Chang, 2023).\nTo study this, we first define the concept of intrinsic self-correction, a scenario wherein the model\nendeavors to rectify its initial responses based solely on its inherent capabilities, without the crutch\nof external feedback. Such a setting is crucial because high-quality external feedback is often unavailable in many real-world applications. Moreover, it is vital to understand the intrinsic capabilities\nof LLMs. Contrary to the optimism surrounding self-correction (Madaan et al., 2023; Kim et al.,\n2023; Shinn et al., 2023; Pan et al., 2023, inter alia), our findings indicate that LLMs struggle to\nself-correct their reasoning in this setting. In most instances, the performance after self-correction\n∗\n\nEqual contribution.\n\n1\n\n\fPublished as a conference paper at ICLR 2024\n\neven deteriorates. This observation is in contrast to prior research such as Kim et al. (2023); Shinn\net al. (2023). Upon closer examination, we observe that the improvements in these studies result\nfrom using oracle labels to guide the self-correction process, and the improvements vanish when\noracle labels are not available.\nBesides the reliance on oracle labels, we also identify other issues in the literature regarding measuring the improvement achieved by self-correction. First, we note that self-correction, by design,\nutilizes multiple LLM responses, thus making it crucial to compare it to baselines with equivalent\ninference costs. From this perspective, we investigate multi-agent debate (Du et al., 2023; Liang\net al., 2023) as a means to improve reasoning, where multiple LLM instances (can be multiple\ncopies of the same LLM) critique each other’s responses. However, our results reveal that its efficacy is no better than self-consistency (Wang et al., 2022) when considering an equivalent number\nof responses, highlighting the limitations of such an approach.\nAnother important consideration for self-correction involves prompt design. Specifically, each selfcorrection process involves designing prompts for both the initial response generation and the selfcorrection steps. Our evaluation reveals that the self-correction improvement claimed by some existing work stems from the sub-optimal prompt for generating initial responses, where self-correction\ncorrects these responses with more informative instructions about the initial task in the feedback\nprompt. In such cases, simply integrating the feedback into the initial instruction can yield better\nresults, and self-correction again decreases performance.\nIn light of our findings, we provide insights into the nuances of LLMs’ self-correction capabilities\nand initiate discussions to encourage future research focused on exploring methods that can genuinely correct reasoning.\n\n2\n\nBACKGROUND AND R ELATED W ORK\n\nWith the LLM evolution, the notion of self-correction gained prominence. The discourse on selfcorrection pivots around whether these advanced models can recognize the correctness of their outputs and provide refined answers (Bai et al., 2022; Madaan et al., 2023; Welleck et al., 2023, inter\nalia). For example, in the context of mathematical reasoning, an LLM might initially solve a complex problem but make an error in one of the calculation steps. In an ideal self-correction scenario,\nthe model is expected to recognize the potential mistake, revisit the problem, correct the error, and\nconsequently produce a more accurate solution.\nYet, the definition of “self-correction” varies across the literature, leading to ambiguity. A pivotal\ndistinction lies in the source of feedback (Pan et al., 2023), which can purely come from the LLM, or\ncan be drawn from external inputs. Internal feedback relies on the model’s inherent knowledge and\nparameters to reassess its outputs. In contrast, external feedback incorporates inputs from humans,\nother models (Wang et al., 2023b; Paul et al., 2023, inter alia), or external tools and knowledge\nsources (Gou et al., 2023; Chen et al., 2023b; Olausson et al., 2023; Gao et al., 2023, inter alia).\nIn this work, we focus on examining the self-correction capability of LLMs for reasoning. Reasoning\nis a fundamental aspect of human cognition, enabling us to understand the world, draw inferences,\nmake decisions, and solve problems. To enhance the reasoning performance of LLMs, Kim et al.\n(2023); Shinn et al. (2023) use oracle labels about the answer correctness to guide the self-correction\nprocess. However, in practice, high-quality external feedback such as answer correctness is often\nunavailable. For effective self-correction, the ability to judge the correctness of an answer is crucial\nand should ideally be performed by the LLM itself. Consequently, our focus shifts to self-correction\nwithout any external or human feedback. We term this setting intrinsic self-correction. For brevity,\nunless explicitly stated otherwise (e.g., self-correction with oracle feedback), all references to “selfcorrection” in the remainder of this paper pertain to intrinsic self-correction.\nIn the following sections, we will evaluate a variety of existing self-correction techniques. We\ndemonstrate that existing techniques actually decrease reasoning performance when oracle labels\nare not used (Section 3), perform worse than methods without self-correction when utilizing the\nsame number of model responses (Section 4), and lead to less effective outcomes when using informative prompts for generating initial responses (Section 5). We present an overview of issues in the\nevaluation setups of previous LLM self-correction works in Table 1, with detailed discussions in the\ncorresponding sections.\n2\n\n\fPublished as a conference paper at ICLR 2024\n\nTable 1: Summary of issues in previous LLM self-correction evaluation.\nMethod\n\nIssue\n\nRCI (Kim et al., 2023); Reflexion (Shinn et al., 2023)\nMulti-Agent Debate (Du et al., 2023)\nSelf-Refine (Madaan et al., 2023)\n\nUse of oracle labels (Section 3)\nUnfair comparison to self-consistency (Section 4)\nSub-optimal prompt design (Section 5)\n\n3\n\nLLM S C ANNOT S ELF -C ORRECT R EASONING I NTRINSICALLY\n\nIn this section, we evaluate existing self-correction methods and compare their performance with\nand without oracle labels regarding the answer correctness.\n3.1\n\nE XPERIMENTAL S ETUP\n\nBenchmarks. We use datasets where existing self-correction methods with oracle labels have\ndemonstrated significant performance improvement, including\n• GSM8K (Cobbe et al., 2021): GSM8K comprises a test set of 1,319 linguistically diverse grade\nschool math word problems, curated by human problem writers. There is a notable improvement\nof approximately 7% as evidenced by Kim et al. (2023) after self-correction.\n• CommonSenseQA (Talmor et al., 2019): This dataset offers a collection of multi-choice questions\nthat test commonsense reasoning. An impressive increase of around 15% is showcased through\nthe self-correction process, as demonstrated by Kim et al. (2023). Following Kojima et al. (2022);\nKim et al. (2023), we utilize the dev set for our evaluation, which encompasses 1,221 questions.\n• HotpotQA (Yang et al., 2018): HotpotQA is an open-domain multi-hop question answering\ndataset. Shinn et al. (2023) demonstrate significant performance improvement through selfcorrection. We test models’ performance in a closed-book setting and evaluate them using the\nsame set as Shinn et al. (2023). This set contains 100 questions, with exact match serving as the\nevaluation metric.\nTest Models and Setup. We first follow Kim et al. (2023); Shinn et al. (2023) to evaluate the performance of self-correction with oracle labels, using GPT-3.5-Turbo (gpt-3.5-turbo-0613)\nand GPT-4 accessed on 2023/08/29.\nFor intrinsic self-correction, to provide a more\nthorough analysis, we also evaluate GPT-4-Turbo (gpt-4-1106-preview) and Llama-2\n(Llama-2-70b-chat) (Touvron et al., 2023). For GPT-3.5-Turbo, we employ the full evaluation set. For other models, to reduce the cost, we randomly sample 200 questions for each dataset\n(100 for HotpotQA) for testing. We prompt the models to undergo a maximum of two rounds of\nself-correction. We use a temperature of 1 for GPT-3.5-Turbo and GPT-4, and a temperature of 0 for\nGPT-4-Turbo and Llama-2, to provide evaluation across different decoding algorithms.\nPrompts. Following Kim et al. (2023); Shinn et al. (2023), we apply a three-step prompting strategy\nfor self-correction: 1) prompt the model to perform an initial generation (which also serves as the\nresults for Standard Prompting); 2) prompt the model to review its previous generation and produce\nfeedback; 3) prompt the model to answer the original question again with the feedback.\nFor our experiments, we mostly adhere to the prompts from the source papers. For GSM8K and\nCommonSenseQA, we integrate format instructions into the prompts of Kim et al. (2023) to facilitate\na more precise automatic evaluation (detailed prompts can be found in Appendix A). For HotpotQA,\nwe use the same prompt as Shinn et al. (2023). We also assess the performance of various selfcorrection prompts for intrinsic self-correction. For example, we use “Assume that this answer\ncould be either correct or incorrect. Review the answer carefully and report any serious problems\nyou find.” as the default feedback prompt for the evaluation on GPT-4-Turbo and Llama-2.\n3.2\n\nR ESULTS\n\nSelf-Correction with Oracle Labels. Following previous works (Kim et al., 2023; Shinn et al.,\n2023), we use the correct label to determine when to stop the self-correction loop. This means we\n3\n\n\fPublished as a conference paper at ICLR 2024\n\nTable 2: Results of GPT-3.5 and GPT-4 on reasoning benchmarks with oracle labels.\nGSM8K\n\nCommonSenseQA\n\nHotpotQA\n\nGPT-3.5\n\nStandard Prompting\nSelf-Correct (Oracle)\n\n75.9\n84.3\n\n75.8\n89.7\n\n26.0\n29.0\n\nGPT-4\n\nStandard Prompting\nSelf-Correct (Oracle)\n\n95.5\n97.5\n\n82.0\n85.5\n\n49.0\n59.0\n\nTable 3: Results of GPT-3.5 and GPT-4 on reasoning benchmarks with intrinsic self-correction.\n# calls\n\nGSM8K\n\nCommonSenseQA\n\nHotpotQA\n\nGPT-3.5\n\nStandard Prompting\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n1\n3\n5\n\n75.9\n75.1\n74.7\n\n75.8\n38.1\n41.8\n\n26.0\n25.0\n25.0\n\nGPT-4\n\nStandard Prompting\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n1\n3\n5\n\n95.5\n91.5\n89.0\n\n82.0\n79.5\n80.0\n\n49.0\n49.0\n43.0\n\nutilize the ground-truth label to verify whether each step’s generated answer is correct. If the answer\nis already correct, no (further) self-correction will be performed. Table 2 summarizes the results\nof self-correction under this setting, showcasing significant performance improvements, consistent\nwith the findings presented in Kim et al. (2023); Shinn et al. (2023).\nHowever, these results require careful consideration. For reasoning tasks, like solving mathematical\nproblems, the availability of oracle labels seems counter-intuitive. If we are already in possession\nof the ground truth, there seems to be little reason to deploy LLMs for problem-solving. Therefore,\nthe results can only be regarded as indicative of an oracle’s performance.\nIntrinsic Self-Correction. Per the above discussion, performance improvements achieved using\noracle labels do not necessarily reflect true self-correction ability. Therefore, we turn our focus to\nthe results in the intrinsic self-correction setting as defined in Section 2. To achieve this, we eliminate the use of labels, requiring LLMs to independently determine when to stop the self-correction\nprocess, i.e., whether to retain their previous answers.\nTables 3 and 4 report the accuracies and the number of model calls. We observe that, after selfcorrection, the accuracies of all models drop across all benchmarks.\nTo provide a more comprehensive assessment, we also design several different self-correction\nprompts to determine if there are better prompts that could enhance reasoning performance.\nNonetheless, as shown in Tables 5 and 6, without the use of oracle labels, self-correction consistently results in a decrease in performance.\n3.3\n\nW HY DOES THE PERFORMANCE NOT INCREASE , BUT INSTEAD DECREASE ?\n\nEmpirical Analysis. Figure 1 summarizes the results of changes in answers after two rounds of\nself-correction, with two examples of GPT-3.5 illustrated in Figure 2. For GSM8K, 74.7% of the\ntime, GPT-3.5 retains its initial answer. Among the remaining instances, the model is more likely to\nmodify a correct answer to an incorrect one than to revise an incorrect answer to a correct one. The\nfundamental issue is that LLMs cannot properly judge the correctness of their reasoning. For\nCommonSenseQA, there is a higher chance that GPT-3.5 alters its answer. The primary reason for\nthis is that false answer options in CommonSenseQA often appear somewhat relevant to the question, and using the self-correction prompt might bias the model to choose another option, leading to\na high “correct ⇒ incorrect” ratio. Similarly, Llama-2 also frequently converts a correct answer into\nan incorrect one. Compared to GPT-3.5 and Llama-2, both GPT-4 and GPT-4-Turbo are more likely\nto retain their initial answers. This may be because GPT-4 and GPT-4-Turbo have higher confidence\n4\n\n\fPublished as a conference paper at ICLR 2024\n\nTable 4: Results of GPT-4-Turbo and Llama-2 with intrinsic self-correction.\n# calls GSM8K\n\nCommonSenseQA\n\nStandard Prompting\nGPT-4-Turbo Self-Correct (round 1)\nSelf-Correct (round 2)\n\n1\n3\n5\n\n91.5\n88.0\n90.0\n\n84.0\n81.5\n83.0\n\nStandard Prompting\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n1\n3\n5\n\n62.0\n43.5\n36.5\n\n64.0\n37.5\n36.5\n\nLlama-2\n\nTable 5: Results of GPT-4-Turbo with different feedback prompts.\n\nStandard Prompting\n\n# calls\n\nGSM8K\n\nCommonSenseQA\n\n1\n\n91.5\n\n84.0\n\nFeedback Prompt: Assume that this answer could be either correct or incorrect.\nReview the answer carefully and report any serious problems you find.\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n3\n5\n\n88.0\n90.0\n\n81.5\n83.0\n\nFeedback Prompt: Review your previous answer and determine whether it’s correct.\nIf wrong, find the problems with your answer.\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n3\n5\n\n90.0\n90.0\n\n74.5\n81.0\n\nFeedback Prompt: Verify whether your answer is correct, and provide an explanation.\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n3\n5\n\n91.0\n91.0\n\n81.5\n83.5\n\nTable 6: Results of Llama-2 with different feedback prompts.\n\nStandard Prompting\n\n# calls\n\nGSM8K\n\nCommonSenseQA\n\n1\n\n62.0\n\n64.0\n\nFeedback Prompt: Assume that this answer could be either correct or incorrect.\nReview the answer carefully and report any serious problems you find.\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n3\n5\n\n43.5\n36.5\n\n37.5\n36.5\n\nFeedback Prompt: Review your previous answer and determine whether it’s correct.\nIf wrong, find the problems with your answer.\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n3\n5\n\n46.5\n30.5\n\n26.0\n37.0\n\nFeedback Prompt: Verify whether your answer is correct, and provide an explanation.\nSelf-Correct (round 1)\nSelf-Correct (round 2)\n\n3\n5\n\n58.0\n41.5\n\n24.0\n43.0\n\nin their initial answers, or because they are more robust and thus less prone to being biased by the\nself-correction prompt.1\n1\nWe omit the analysis on HotpotQA because the sample size used in the source paper is quite small, which\nmay not produce meaningful statistics.\n\n5\n\n\fPublished as a conference paper at ICLR 2024\n\nIncorrect Incorrect\nIncorrect Correct\n8.9%\n7.6%\nCorrect Incorrect\n8.8%\n\n39.8%\n\n74.7%\nGSM8K (GPT-3.5)\n\n96.0%\n\n1.5%\n3.0%\n5.0%\n90.5%\n\nCommonSenseQA (GPT-3.5)\n\nGSM8K (GPT-4)\n\n31.0%\n\n1.0%\n5.0%\n6.0%\n\n5.5%\n\nCommonSenseQA (GPT-4)\n\n35.5%\n\n8.0%\n\n23.5%\n\n16.5%\n\n88.0%\n40.0%\n\nGSM8K (GPT-4-Turbo)\n\n90.5%\n\n42.8%\n\nNo Change\n\n0.5%\n1.0%\n2.5%\n\n1.5%\n8.0%\n\n5.8%\n11.6%\n\nCommonSenseQA (GPT-4-Turbo)\n\nGSM8K (Llama-2)\n\n40.0%\nCommonSenseQA (Llama-2)\n\nFigure 1: Analysis of the changes in answers after two rounds of self-correction. No Change: The\nanswer remains unchanged; Correct ⇒ Incorrect: A correct answer is changed to an incorrect one;\nIncorrect ⇒ Correct: An incorrect answer is revised to a correct one; Incorrect ⇒ Incorrect: An\nincorrect answer is altered but remains incorrect.\n\nChristina is planning a birthday party and needs .75 gift\nbags per invited guest, because 1/4 of attendees don't\nshow up. She invited 16 friends. Gift bags are $2 each.\nHow much will she spend?\n\nTerry eats 2 yogurts a day. They are currently on sale at\n4 yogurts for $5.00. How much does he spend on\nyogurt over 30 days?\n... So, Terry spends $\\boxed{75.00}$ on yogurt over 30\ndays. (Correct)\n\n... Therefore, Christina will spend $18 on gift bags.\nAnswer: \\boxed{18}. (Incorrect)\n\nReview your previous answer and find problems with\nyour answer.\n\nReview your previous answer and find problems with\nyour answer.\nUpon reviewing my previous answer, I recognize a\nmistake. I incorrectly stated that Christina needs 0.75\ngift bags per invited guest. The given information states\nthat 1/4 of the attendees won't show up…\n\nUpon reviewing my previous answer, I realized that I\nmade a mistake in calculating Terry's spending on\nyogurt over 30 days. I incorrectly stated that Terry\nspends $2.50 per day for 30 days, resulting in a total of\n$75.00…\n\nBased on the problems you found, improve your\nanswer.\n\nBased on the problems you found, improve your\nanswer.\n\n... Therefore, Christina will spend $24 on gift bags.\nAnswer: \\boxed{24}. (Correct)\n\n... Therefore, the final answer is Terry spends\n$\\boxed{37.50}$ on yogurt over 30 days. (Incorrect)\n\nFigure 2: Examples on GSM8K with GPT-3.5. Left: successful self-correction; Right: failed selfcorrection. Full prompts and responses can be viewed in Figures 3 and 4 of Appendix A.\nLet’s take another look at the results presented in Table 2. These results use ground-truth labels to\nprevent the model from altering a correct answer to an incorrect one. However, determining how to\nprevent such mischanges is, in fact, the key to ensuring the success of self-correction.\nIntuitive Explanation. If the model is well-aligned and paired with a thoughtfully designed initial prompt, the initial response should already be optimal relative to the prompt and the specific\ndecoding algorithm. Introducing feedback can be viewed as adding an additional prompt, potentially skewing the model towards generating a response that is tailored to this combined input. In\nan intrinsic self-correction setting, on the reasoning tasks, this supplementary prompt may not offer\nany extra advantage for answering the question. In fact, it might even bias the model away from\nproducing an optimal response to the initial prompt, resulting in a performance drop.\n6\n\n\fPublished as a conference paper at ICLR 2024\n\nTable 7: Results of multi-agent debate and self-consistency.\n# responses\n\nGSM8K\n\n1\n3\n6\n6\n9\n9\n\n76.7\n82.5\n83.2\n85.3\n83.0\n88.2\n\nStandard Prompting\nSelf-Consistency\nMulti-Agent Debate (round 1)\nSelf-Consistency\nMulti-Agent Debate (round 2)\nSelf-Consistency\n\nTable 8: Results of Constrained Generation.\n# calls\n\nCommonGen-Hard\n\n1\n7\n1\n7\n1\n7\n\n44.0*\n67.0*\n53.0\n61.1\n81.8\n75.1\n\nStandard Prompting*\nSelf-Correct*\nStandard Prompting*\nSelf-Correct*\nStandard Prompting (ours)\nSelf-Correct*\n\n* Prompts and results from Madaan et al. (2023).\n\n4\n\nM ULTI -AGENT D EBATE DOES NOT O UTPERFORM S ELF -C ONSISTENCY\n\nAnother potential approach for LLMs to self-correct their reasoning involves allowing the models\nto critique and debate through multiple model calls (Du et al., 2023; Liang et al., 2023; Chen et al.,\n2023a). Du et al. (2023) implement a multi-agent debate method by leveraging multiple instances of\na single ChatGPT model and demonstrate significant improvements on reasoning tasks. We adopt\ntheir method to test performance on GSM8K. For an unbiased implementation, we use the exact\nsame prompt as Du et al. (2023) and replicate their experiment with the gpt-3.5-turbo-0301\nmodel, incorporating 3 agents and 2 rounds of debate. The only distinction is that, to reduce result\nvariance, we test on the complete test set of GSM8K, compared to their usage of 100 examples. For\nreference, we also report the results of self-consistency (Wang et al., 2022), which prompts models\nto generate multiple responses and performs majority voting to select the final answer.\nTable 7 presents the results. The results indicate that both multi-agent debate and self-consistency\nachieve significant improvements over standard prompting. However, when comparing multi-agent\ndebate to self-consistency, we observe that the performance of multi-agent is only slightly better than\nthat of self-consistency with the same number of agents (3 responses, the baseline also compared\nin Du et al. (2023)). Furthermore, for self-consistency with an equivalent number of responses,\nmulti-agent debate significantly underperforms simple self-consistency using majority voting.\nIn fact, rather than labeling the multi-agent debate as a form of “debate” or “critique”, it is more\nappropriate to perceive it as a means to achieve “consistency” across multiple model generations.\nFundamentally, its concept mirrors that of self-consistency; the distinction lies in the voting mechanism, whether voting is model-driven or purely based on counts. The observed improvement is\nevidently not attributed to “self-correction”, but rather to “self-consistency”. If we aim to argue that\nLLMs can self-correct reasoning through multi-agent debate, it is preferable to exclude the effects\nof selection among multiple generations.\n\n5\n\nP ROMPT D ESIGN I SSUES IN S ELF -C ORRECTION E VALUATION\n\nIn Section 3, we observe that although self-correction decreases reasoning performance with all\ntypes of feedback prompts we have evaluated, performance varies with different feedback prompts.\nIn this section, we further emphasize the importance of proper prompt design in generating initial\nLLM responses to fairly measure the performance improvement achieved by self-correction. For\nexample, if a task requires that the model response should meet criteria that can be easily specified\n7\n\n\fPublished as a conference paper at ICLR 2024\n\nin the initial instruction (e.g., the output should contain certain words, the generated code should\nbe efficient, the sentiment should be positive, etc.), instead of including such requirements only\nin the feedback prompt, an appropriate comparison would be to directly and explicitly incorporate\nthese requirements into the prompt for generating initial responses. Otherwise, when the instruction\nfor generating initial predictions is not informative enough, even if the performance improves, it\nis unclear whether the improvement merely comes from more detailed instructions in the feedback\nprompt or from the self-correction step itself.\nTo illustrate such prompt design issues in the self-correction evaluation of some prior work, we\ntake the Constrained Generation task in Madaan et al. (2023) as an example, where the task requires models to generate coherent sentences using all 20-30 input concepts. The original prompt in\nMadaan et al. (2023) (Figure 7) does not clearly specify that the LLM needs to include all concepts\nin the prompt; thus, they show that self-correction improves task performance by asking the model\nto identify missing concepts and then guiding it to incorporate these concepts through feedback.\nBased on this observation, we add the following instruction “Write a reasonable paragraph that\nincludes *ALL* of the above concepts” to the prompt for initial response generation (refer to Figure 8\nfor the full prompt). Following Madaan et al. (2023), we use concept coverage as the metric. We\nreference their results and replicate their experiments using gpt-3.5-turbo-0613. Table 8\ndemonstrates that our new prompt, denoted as Standard Prompting (ours), significantly outperforms\nthe results after self-correction of Madaan et al. (2023), and applying their self-correction prompt\non top of model responses from our stronger version of the standard prompting again leads to a\ndecrease in performance.\n\n6\n\nC ONCLUSION AND D ISCUSSION\n\nOur work shows that current LLMs struggle to self-correct their reasoning without external feedback. This implies that expecting these models to inherently recognize and rectify their reasoning\nmistakes is overly optimistic so far. In light of these findings, it is imperative for the community to\napproach the concept of self-correction with a discerning perspective, acknowledging its potential\nand recognizing its boundaries. By doing so, we can better equip the self-correction technique to\naddress the limitations of LLMs and develop the next generation of LLMs with enhanced capabilities. In the following, we provide insights into scenarios where self-correction shows the potential\nstrengths and offer guidelines on the experimental design of future self-correction techniques to\nensure a fair comparison.\nLeveraging external feedback for correction. In this work, we demonstrate that current LLMs\ncannot improve their reasoning performance through intrinsic self-correction. Therefore, when valid\nexternal feedback is available, it is beneficial to leverage it properly to enhance model performance.\nFor example, Chen et al. (2023b) show that LLMs can significantly improve their code generation\nperformance through self-debugging by including code execution results in the feedback prompt to\nfix issues in the predicted code. In particular, when the problem description clearly specifies the intended code execution behavior, e.g., with unit tests, the code executor serves as the perfect verifier\nto judge the correctness of predicted programs, while the error messages also provide informative\nfeedback that guides the LLMs to improve their responses. Gou et al. (2023) demonstrate that LLMs\ncan more effectively verify and correct their responses when interacting with various external tools\nsuch as search engines and calculators. Cobbe et al. (2021); Lightman et al. (2023); Wang et al.\n(2023b) train a verifier or a critique model on a high-quality dataset to verify or refine LLM outputs,\nwhich can be used to provide feedback for correcting prediction errors. Besides automatically generated external feedback, we also often provide feedback ourselves when interacting with LLMs,\nguiding them to produce the content we desire. Designing techniques that enable LLMs to interact\nwith the external environment and learn from different kinds of available feedback is a promising\ndirection for future work.\nEvaluating self-correction against baselines with comparable inference costs. By design, selfcorrection requires additional LLM calls, thereby increasing the costs for encoding and generating\nextra tokens. Section 4 demonstrates that the performance of asking the LLM to produce a final\nresponse based on multiple previous responses, such as with the multi-agent debate approach, is inferior to that of self-consistency (Wang et al., 2022) with the same number of responses. Regarding\n8\n\n\fPublished as a conference paper at ICLR 2024\n\nthis, we encourage future work proposing new self-correction methods to always include an in-depth\ninference cost analysis to substantiate claims of performance improvement. Moreover, strong baselines that leverage multiple model responses, like self-consistency, should be used for comparison.\nAn implication for future work is to develop models with a higher probability of decoding the optimal solution in their answer distributions, possibly through some alignment techniques. This would\nenable the model to generate better responses without necessitating multiple generations.\nPutting equal efforts into prompt design. As discussed in Section 5, to gain a better understanding\nof the improvements achieved by self-correction, it is important to include a complete task description in the prompt for generating initial responses, rather than leaving part of the task description for\nthe feedback prompt. Broadly speaking, equal effort should be invested in designing the prompts\nfor initial response generation and for self-correction; otherwise, the results could be misleading.\n\n7\n\nL IMITATIONS AND B ROADER I MPACT\n\nAlthough we have conducted a comprehensive evaluation spanning a variety of self-correction strategies, prompts, and benchmarks, our work focuses on evaluating reasoning of LLMs. Thus, it is\nplausible that there exist self-correction strategies that could enhance LLM performance in other\ndomains. For example, prior works have demonstrated the successful usage of self-correction that\naligns model responses with specific preferences, such as altering the style of responses or enhancing their safety (Bai et al., 2022; Ganguli et al., 2023; Madaan et al., 2023). A key distinction arises\nin the capability of LLMs to accurately assess their responses in relation to the given tasks. For\nexample, LLMs can properly evaluate whether a response is inappropriate (Ganguli et al., 2023),\nbut they may struggle to identify errors in their reasoning.\nFurthermore, several prior works have already shown that LLM self-correction performance becomes significantly weaker without access to external feedback (Gou et al., 2023; Zhou et al., 2023a)\nand can be easily biased by misleading feedback (Wang et al., 2023a), which is consistent with our\nfindings in this work. However, we still identified prevailing ambiguity in the wider community.\nSome existing literature may inadvertently contribute to this confusion, either by relegating crucial\ndetails about label usage to less prominent sections or by failing to clarify that their designed selfcorrection strategies actually incorporate external feedback. Regarding this, our paper serves as a\ncall to action, urging researchers to approach this domain with a discerning and critical perspective.\nWe also encourage future research to explore approaches that can genuinely enhance reasoning.\n\nR EPRODUCIBILITY S TATEMENT\nOur experiments utilize GPT-3.5 and GPT-4, which are accessible via the public API at https:\n//platform.openai.com/docs/models, as well as Llama-2, an open-source model. To\nfacilitate reproducibility, we detail the specific kernels used, e.g., gpt-3.5-turbo-0613, or\nprovide the access times for each experiment. We use prompts from previous works when possible.\nFor our designed prompts, we include the exact prompts in Appendix A.\n\nACKNOWLEDGEMENT\nWe would like to thank Chen Liang, William Cohen, Uri Alon, and other colleagues at Google\nDeepMind for valuable discussion and feedback.\n\nR EFERENCES\nHussam Alkaissi and Samy I McFarlane. Artificial hallucinations in chatgpt: implications in scientific writing. Cureus, 15(2), 2023.\nRohan Anil, Andrew M Dai, Orhan Firat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos,\nSiamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, et al. Palm 2 technical report.\narXiv preprint arXiv:2305.10403, 2023.\n9\n\n\fPublished as a conference paper at ICLR 2024\n\nYuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones,\nAnna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional ai: Harmlessness from ai feedback. arXiv preprint arXiv:2212.08073, 2022.\nYejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wenliang Dai, Dan Su, Bryan Wilie, Holy Lovenia,\nZiwei Ji, Tiezheng Yu, Willy Chung, et al. A multitask, multilingual, multimodal evaluation of\nchatgpt on reasoning, hallucination, and interactivity. In Proceedings of the 13th International\nJoint Conference on Natural Language Processing and the 3rd Conference of the Asia-Pacific\nChapter of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 675–718,\n2023.\nNicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine\nLee, Adam Roberts, Tom B Brown, Dawn Song, Ulfar Erlingsson, et al. Extracting training data\nfrom large language models. In USENIX Security Symposium, volume 6, 2021.\nJustin Chih-Yao Chen, Swarnadeep Saha, and Mohit Bansal. Reconcile: Round-table conference\nimproves reasoning via consensus among diverse llms. arXiv preprint arXiv:2309.13007, 2023a.\nXinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching large language models\nto self-debug. arXiv preprint arXiv:2304.05128, 2023b.\nAakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam\nRoberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh,\nKensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam\nShazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James\nBradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin\nRobinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret\nZoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick,\nAndrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang,\nBrennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathy Meier-Hellstern,\nDouglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. Palm: Scaling language modeling\nwith pathways. Journal of Machine Learning Research, 24(240):1–113, 2023. URL http:\n//jmlr.org/papers/v24/22-1144.html.\nKarl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser,\nMatthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. Training verifiers to\nsolve math word problems. arXiv preprint arXiv:2110.14168, 2021.\nYilun Du, Shuang Li, Antonio Torralba, Joshua B Tenenbaum, and Igor Mordatch. Improving factuality and reasoning in language models through multiagent debate. arXiv preprint\narXiv:2305.14325, 2023.\nDeep Ganguli, Amanda Askell, Nicholas Schiefer, Thomas Liao, Kamilė Lukošiūtė, Anna Chen,\nAnna Goldie, Azalia Mirhoseini, Catherine Olsson, Danny Hernandez, et al. The capacity for\nmoral self-correction in large language models. arXiv preprint arXiv:2302.07459, 2023.\nLuyu Gao, Zhuyun Dai, Panupong Pasupat, Anthony Chen, Arun Tejasvi Chaganty, Yicheng Fan,\nVincent Zhao, Ni Lao, Hongrae Lee, Da-Cheng Juan, et al. Rarr: Researching and revising what\nlanguage models say, using language models. In Proceedings of the 61st Annual Meeting of the\nAssociation for Computational Linguistics (Volume 1: Long Papers), pp. 16477–16508, 2023.\nZhibin Gou, Zhihong Shao, Yeyun Gong, Yelong Shen, Yujiu Yang, Nan Duan, and Weizhu Chen.\nCritic: Large language models can self-correct with tool-interactive critiquing. arXiv preprint\narXiv:2305.11738, 2023.\nJie Huang and Kevin Chen-Chuan Chang. Towards reasoning in large language models: A survey. In Findings of the Association for Computational Linguistics: ACL 2023. Association for\nComputational Linguistics, 2023.\n10\n\n\fPublished as a conference paper at ICLR 2024\n\nJie Huang, Hanyin Shao, and Kevin Chen-Chuan Chang. Are large pre-trained language models\nleaking your personal information? In Findings of the Association for Computational Linguistics: EMNLP 2022, pp. 2038–2047, Abu Dhabi, United Arab Emirates, 2022. Association for\nComputational Linguistics.\nGeunwoo Kim, Pierre Baldi, and Stephen McAleer. Language models can solve computer tasks.\nAdvances in Neural Information Processing Systems, 2023.\nTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large\nlanguage models are zero-shot reasoners. Advances in neural information processing systems,\n35:22199–22213, 2022.\nHaoran Li, Dadi Guo, Wei Fan, Mingshi Xu, Jie Huang, Fanpu Meng, and Yangqiu Song. Multistep jailbreaking privacy attacks on chatgpt. In Findings of the Association for Computational\nLinguistics: EMNLP 2023, pp. 4138–4153, 2023.\nTian Liang, Zhiwei He, Wenxiang Jiao, Xing Wang, Yan Wang, Rui Wang, Yujiu Yang, Zhaopeng\nTu, and Shuming Shi. Encouraging divergent thinking in large language models through multiagent debate. arXiv preprint arXiv:2305.19118, 2023.\nHunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan\nLeike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step. arXiv preprint\narXiv:2305.20050, 2023.\nAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri\nAlon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, et al. Self-refine: Iterative refinement\nwith self-feedback. Advances in Neural Information Processing Systems, 2023.\nTheo X Olausson, Jeevana Priya Inala, Chenglong Wang, Jianfeng Gao, and Armando SolarLezama. Demystifying gpt self-repair for code generation. arXiv preprint arXiv:2306.09896,\n2023.\nOpenAI. Gpt-4 technical report, 2023.\nLiangming Pan, Michael Saxon, Wenda Xu, Deepak Nathani, Xinyi Wang, and William Yang\nWang. Automatically correcting large language models: Surveying the landscape of diverse selfcorrection strategies. arXiv preprint arXiv:2308.03188, 2023.\nDebjit Paul, Mete Ismayilzada, Maxime Peyrard, Beatriz Borges, Antoine Bosselut, Robert West,\nand Boi Faltings. Refiner: Reasoning feedback on intermediate representations. arXiv preprint\narXiv:2304.01904, 2023.\nHanyin Shao, Jie Huang, Shen Zheng, and Kevin Chen-Chuan Chang. Quantifying association\ncapabilities of large language models and its implications on privacy leakage. arXiv preprint\narXiv:2305.12707, 2023.\nFreda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales, David Dohan, Ed H Chi, Nathanael\nSchärli, and Denny Zhou. Large language models can be easily distracted by irrelevant context.\nIn International Conference on Machine Learning, pp. 31210–31227. PMLR, 2023.\nNoah Shinn, Federico Cassano, Beck Labash, Ashwin Gopinath, Karthik Narasimhan, and Shunyu\nYao. Reflexion: Language agents with verbal reinforcement learning. Advances in Neural Information Processing Systems, 2023.\nAlon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. Commonsenseqa: A question\nanswering challenge targeting commonsense knowledge. In Proceedings of the 2019 Conference\nof the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4149–4158, 2019.\nHugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.\n11\n\n\fPublished as a conference paper at ICLR 2024\n\nBoshi Wang, Xiang Yue, and Huan Sun. Can chatgpt defend its belief in truth? evaluating llm\nreasoning via debate. In Findings of the Association for Computational Linguistics: EMNLP\n2023, pp. 11865–11881, 2023a.\nTianlu Wang, Ping Yu, Xiaoqing Ellen Tan, Sean O’Brien, Ramakanth Pasunuru, Jane Dwivedi-Yu,\nOlga Golovneva, Luke Zettlemoyer, Maryam Fazel-Zarandi, and Asli Celikyilmaz. Shepherd: A\ncritic for language model generation. arXiv preprint arXiv:2308.04592, 2023b.\nXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V Le, Ed H Chi, Sharan Narang, Aakanksha\nChowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language\nmodels. In The Eleventh International Conference on Learning Representations, 2022.\nAlexander Wei, Nika Haghtalab, and Jacob Steinhardt. Jailbroken: How does llm safety training\nfail? arXiv preprint arXiv:2307.02483, 2023.\nJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny\nZhou, et al. Chain-of-thought prompting elicits reasoning in large language models. Advances in\nNeural Information Processing Systems, 35:24824–24837, 2022.\nSean Welleck, Ximing Lu, Peter West, Faeze Brahman, Tianxiao Shen, Daniel Khashabi, and Yejin\nChoi. Generating sequences by learning to self-correct. In The Eleventh International Conference\non Learning Representations, 2023.\nZhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov,\nand Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question\nanswering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language\nProcessing. Association for Computational Linguistics, 2018.\nShen Zheng, Jie Huang, and Kevin Chen-Chuan Chang. Why does chatgpt fall short in providing\ntruthful answers? ArXiv preprint, abs/2304.10513, 2023.\nAojun Zhou, Ke Wang, Zimu Lu, Weikang Shi, Sichun Luo, Zipeng Qin, Shaoqing Lu, Anya Jia,\nLinqi Song, Mingjie Zhan, et al. Solving challenging math word problems using gpt-4 code\ninterpreter with code-based self-verification. arXiv preprint arXiv:2308.07921, 2023a.\nDenny Zhou, Nathanael Schärli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Claire Cui, Olivier Bousquet, Quoc V Le, et al. Least-to-most prompting enables complex\nreasoning in large language models. In The Eleventh International Conference on Learning Representations, 2023b.\nAndy Zou, Zifan Wang, J Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial\nattacks on aligned language models. arXiv preprint arXiv:2307.15043, 2023.\n\n12\n\n\fPublished as a conference paper at ICLR 2024\n\nA\n\nP ROMPTS AND E XAMPLE O UTPUTS\n\nCan you solve the following math problem? Christina is planning a\nbirthday party and needs .75 gift bags per invited guest, because 1/4 of\nattendees don't show up. She invited 16 friends. Gift bags are $2 each.\nHow much will she spend? Explain your reasoning. Your final answer should\nbe a single numerical number, in the form \\boxed{answer}, at the end of\nyour response.\nIf Christina invited 16 friends, then 1/4 of them won't show up, which\nmeans there will be 16 * 1/4 = 4 friends who won't attend the party. To\ndetermine how many gift bags to buy, we need to subtract the number of\nfriends who won't show up from the total number of invited guests. The\nnumber of invited guests is 16 - 4 = 12. Since Christina needs 0.75 gift\nbags per invited guest, we can multiply this quantity by the number of\ninvited guests to find the total number of gift bags needed, which is\n0.75 * 12 = 9 gift bags. If each gift bag is $2, then Christina will\nspend a total of 2 * 9 = $&lt;&lt;2*9=18&gt;&gt;18 on gift bags. Therefore, Christina\nwill spend $18 on gift bags. Answer: \\boxed{18}. (Incorrect)\nReview your previous answer and find problems with your answer.\nUpon reviewing my previous answer, I recognize a mistake. I incorrectly\nstated that Christina needs 0.75 gift bags per invited guest. The given\ninformation states that 1/4 of the attendees won't show up, so the\ncorrect calculation should take this into account. To calculate the\nnumber of gift bags needed, we will multiply the number of invited guests\nby the ratio of attendees who will actually show up (75%). The number of\ninvited guests is 16, and if 1/4 of them won't show up, then the ratio of\nattendees who will show up is 1 - 1/4 = 3/4. Multiplying the number of\ninvited guests by the ratio of attendees who will show up gives us: 16 *\n(3/4) = 12 gift bags needed. Since each gift bag costs $2, the total\namount Christina will spend on gift bags is: 12 * $2 = $&lt;&lt;12*2=24&gt;&gt;24.\nBased on the problems you found, improve your answer. Please reiterate\nyour answer, with your final answer a single numerical number, in the\nform \\boxed{answer}.\nUpon reviewing my previous answer, I recognize a mistake. I incorrectly\nstated that Christina needs 0.75 gift bags per invited guest. The given\ninformation states that 1/4 of the attendees won't show up, so the\ncorrect calculation should take this into account. To calculate the\nnumber of gift bags needed, we will multiply the number of invited guests\nby the ratio of attendees who will actually show up (75%). The number of\ninvited guests is 16, and if 1/4 of them won't show up, then the ratio of\nattendees who will show up is 1 - 1/4 = 3/4. Multiplying the number of\ninvited guests by the ratio of attendees who will show up gives us: 16 *\n(3/4) = 12 gift bags needed. Since each gift bag costs $2, the total\namount Christina will spend on gift bags is: 12 * $2 = $&lt;&lt;12*2=24&gt;&gt;24.\nTherefore, Christina will spend $24 on gift bags. Answer: \\boxed{24}.\n(Correct)\n\nFigure 3: Example on GSM8K where self-correction changes an incorrect answer to a correct one.\nText in bold denotes user prompts.\n\n13\n\n\fPublished as a conference paper at ICLR 2024\n\nCan you solve the following math problem? Terry eats 2 yogurts a day.\nThey are currently on sale at 4 yogurts for $5.00. How much does he spend\non yogurt over 30 days? Explain your reasoning. Your final answer should\nbe a single numerical number, in the form \\boxed{answer}, at the end of\nyour response.\nFirst, we need to calculate how many sets of 4 yogurts Terry buys in 30\ndays. Since Terry eats 2 yogurts a day, he will need 2/4 = 0.5 sets of 4\nyogurts per day. Next, we multiply the number of sets by the price of\neach set to calculate how much Terry spends per day. Each set of 4\nyogurts costs $5.00, so Terry spends 0.5 * $5.00 = $&lt;&lt;0.5*5=2.50&gt;&gt;2.50 on\nyogurt per day. Finally, we multiply the amount Terry spends per day by\nthe number of days to find the total amount he spends on yogurt over 30\ndays. Terry spends $2.50 per day for 30 days, so he spends $2.50 * 30 =\n$&lt;&lt;2.5*30=75.00&gt;&gt;75.00 on yogurt over 30 days. So, Terry spends\n$\\boxed{75.00}$ on yogurt over 30 days. (Correct)\nReview your previous answer and find problems with your answer.\nUpon reviewing my previous answer, I realized that I made a mistake in\ncalculating Terry's spending on yogurt over 30 days. I incorrectly stated\nthat Terry spends $2.50 per day for 30 days, resulting in a total of\n$75.00. However, since Terry eats 2 yogurts a day and the yogurts are\nsold in sets of 4 for $5.00, Terry would actually need to buy 1 set of 4\nyogurts to last for 2 days. Therefore, his spending on yogurt per set\nwould be $5.00 for 2 days, or $5.00/2 = $2.50 per day. To calculate the\ntotal amount spent on yogurt over 30 days, we would multiply the amount\nspent per day ($2.50) by the number of sets needed in 30 days (which is\n30 divided by 2 days per set). Therefore, the correct calculation would\nbe $2.50 * (30/2) = $2.50 * 15 = $37.50. Apologies for the mistake. The\ncorrect answer is Terry spends $\\boxed{37.50}$ on yogurt over 30 days.\nBased on the problems you found, improve your answer. Please reiterate\nyour answer, with your final answer a single numerical number, in the\nform \\boxed{answer}.\nApologies for the error in my previous response. Upon reviewing the\nproblem, here is the correct answer: Since Terry eats 2 yogurts a day and\nthe yogurts are sold in sets of 4 for $5.00, Terry needs to buy 1 set of\n4 yogurts to last for 2 days. Therefore, Terry's spending on yogurt per\nset is $5.00 for 2 days, or $5.00/2 = $2.50 per day. To calculate the\ntotal amount spent on yogurt over 30 days, we multiply the amount spent\nper day ($2.50) by the number of sets needed in 30 days. In this case,\nTerry needs 30/2 = 15 sets of yogurts over 30 days. Multiplying $2.50 by\n15, we find that Terry spends a total of $2.50 * 15 = $37.50 on yogurt\nover 30 days. Therefore, the final answer is Terry spends $\\boxed{37.50}$\non yogurt over 30 days. (Incorrect)\n\nFigure 4: Example on GSM8K where self-correction changes a correct answer to an incorrect one.\n\n14\n\n\fPublished as a conference paper at ICLR 2024\n\nCan you solve the following math problem? Toulouse has twice as many\nsheep as Charleston. Charleston has 4 times as many sheep as Seattle. How\nmany sheep do Toulouse, Charleston, and Seattle have together if Seattle\nhas 20 sheep? Explain your reasoning. Your final answer should be a\nsingle numerical number, in the form \\boxed{answer}, at the end of your\nresponse.\nLet's start by figuring out how many sheep Charleston has. We are given\nthat Charleston has 4 times as many sheep as Seattle, so we can calculate\nthis by multiplying Seattle's number of sheep by 4: Charleston = 4 * 20 =\n80 sheep. Next, we are told that Toulouse has twice as many sheep as\nCharleston. Therefore, we can find Toulouse's number of sheep by\nmultiplying Charleston's number of sheep by 2: Toulouse = 2 * 80 = 160\nsheep. Finally, to find the total number of sheep, we add up the number\nof sheep for each city: Total = Seattle + Charleston + Toulouse = 20 + 80\n+ 160 = 260 sheep. Therefore, Toulouse, Charleston, and Seattle have a\ntotal of 260 sheep. Answer: \\boxed{260}. (Correct)\nReview your previous answer and find problems with your answer.\nI apologize for the mistake in my previous response. Let's go through the\nproblem again and find the correct answer. We are given that Charleston\nhas 4 times as many sheep as Seattle. If Seattle has 20 sheep, then\nCharleston would have: Charleston = 4 * 20 = 80 sheep. Next, we are told\nthat Toulouse has twice as many sheep as Charleston. Therefore, Toulouse\nwould have: Toulouse = 2 * 80 = 160 sheep. To find the total number of\nsheep, we add up the number of sheep for each city: Total = Seattle +\nCharleston + Toulouse = 20 + 80 + 160 = 260 sheep. After reviewing my\nprevious answer, I have determined that there are no problems with my\nupdated response. The correct answer is 260 sheep.\nBased on the problems you found, improve your answer. Please reiterate\nyour answer, with your final answer a single numerical number, in the\nform \\boxed{answer}.\nApologies for the confusion. Let me provide an improved answer. We are\ngiven that Charleston has 4 times as many sheep as Seattle, and Seattle\nhas 20 sheep. So, Charleston would have 4 * 20 = 80 sheep. According to\nthe information, Toulouse has twice as many sheep as Charleston.\nTherefore, Toulouse would have 2 * 80 = 160 sheep. To determine the total\nnumber of sheep, we add up the number of sheep for each city: Total =\nSeattle + Charleston + Toulouse = 20 + 80 + 160 = 260 sheep. After\nreviewing the previous answer, the correct final answer is \\boxed{260}.\n(Correct)\n\nFigure 5: Example on GSM8K where self-correction does not change the answer.\n\n15\n\n\fPublished as a conference paper at ICLR 2024\n\nQ: A fencing thrust with a sharp sword towards a person would result in\nwhat?\nAnswer Choices: (A) injury (B) small cuts (C) fever (D) competition (E)\npuncture wound.\nExplain your reasoning. You must choose only one option from A to E. Your\nfinal answer should be a single letter from A to E, in the form (answer),\nat the end of your response.\nA: A fencing thrust with a sharp sword towards a person would result in a\npuncture wound. This is because a fencing thrust involves forcefully\nstabbing with a sword, which can penetrate the skin and create a deep,\nnarrow wound. Puncture wounds can be very dangerous as they can damage\ninternal organs and cause bleeding. Therefore, the most appropriate\nanswer is (E) puncture wound. (Correct)\nReview your previous answer and find problems with your answer.\nUpon reviewing my previous answer, I realize that there are some problems\nwith it. While a fencing thrust with a sharp sword can potentially result\nin a puncture wound, it is important to note that in a controlled fencing\nmatch, the swords used are typically blunted or have safety tips,\ndesigned to minimize the risk of injury. Therefore, the likelihood of a\npuncture wound from a fencing thrust with a sharp sword in a regulated\nfencing context is quite low. A more appropriate and accurate answer\nwould be (D) competition, as a fencing thrust with a sharp sword is\ntypically performed in the context of a fencing match or competition,\nrather than with the intention to cause injury.\nBased on the problems you found, improve your answer. You must choose\nonly one option from A to E. Please reiterate your answer, with your\nfinal answer a single letter from A to E, in the form (answer).\nBased on the problems with my previous answer, I apologize for the\nincorrect response. In a controlled fencing match with a sharp sword, a\nfencing thrust is likely to result in (D) competition, rather than injury\nor a puncture wound. Therefore, the correct final answer is (D)\ncompetition. (Incorrect)\n\nFigure 6: Example on CommonSenseQA where self-correction changes a correct answer to an incorrect one.\n\n16\n\n\fPublished as a conference paper at ICLR 2024\n\nConcepts: ['footage', 'motion', 'ruin', 'tilt', 'window']\nSentence: time lapse footage with tilt up motion of the sun streaking\nthrough window of ruin\n###\nConcepts: ['cause', 'hate', 'hut', 'local', 'love']\nSentence: new beach huts on the island have caused some controversy some\nlocals love them others hate them\n[8 more in-context examples]\n###\nConcepts: ['vest', 'snow','remove', 'silhouette', 'dunk', 'step',\n'item', 'toddler', 'plaster', 'wall', 'piece', 'tool', 'circle',\n'pull','wrap', 'headphone', 'deck', 'suit', 'press', 'mother', 'pit',\n'cupcake', 'priest', 'rink', 'counter', 'rest','piano', 'wine', 'serve',\n'winter']\nSentence: A toddler wearing a vest and snow boots steps onto the icy\ndeck, removes a circle-shaped piece of plaster from the wall, and pulls\nout a tool from their winter suit to wrap their head around a headphone.\n\nFigure 7: Example output for Constrained Generation using the prompt from Madaan et al. (2023).\nThe constraint that the output needs to contain all the concepts is not explicitly mentioned in the\nprompt for initial response generation. However, in the feedback &amp; refine prompts, the constraint is\nimplied by “what concepts from the concept list are missing from the sentence?” (refer to Figures\n25 and 26 of Madaan et al. (2023) for the feedback &amp; refine prompts).\nConcepts: ['vest', 'snow','remove', 'silhouette', 'dunk', 'step',\n'item', 'toddler', 'plaster', 'wall', 'piece', 'tool', 'circle',\n'pull','wrap', 'headphone', 'deck', 'suit', 'press', 'mother', 'pit',\n'cupcake', 'priest', 'rink', 'counter', 'rest','piano', 'wine', 'serve',\n'winter']\nWrite a reasonable paragraph that includes *ALL* of the above concepts.\nIn the winter wonderland, a mother dressed in a warm vest watched her\ntoddler play in the snow. As the child attempted to remove the snow from\nthe ground, their silhouette created an enchanting image against the\nwhite backdrop. Nearby, a group of friends gathered around a basketball\nhoop, taking turns to dunk the ball with skillful steps. One of them,\nholding an item resembling a tool, used it to plaster a piece of the wall\nthat had been damaged. Meanwhile, on the other side of the park, a circle\nof children pulled their hats tightly to wrap around their heads,\nprotecting their ears from the cold wind as they listened to music\nthrough their colorful headphones. On the deck of a nearby house, a man\nin a sleek suit pressed a button, causing a hidden mechanism to reveal a\ngrand piano. As the music filled the air, the host served glasses of wine\nto the guests, creating a warm and inviting atmosphere in the winter\nevening. In the distance, a priest skated gracefully in an ice rink, his\nmovements mirroring the smoothness of his words during a sermon. At the\ncounter of a bakery, a customer ordered a cupcake and watched as the\nbaker skillfully decorated it with a winter-themed design. Not far away,\na group of friends gathered around a pit, roasting marshmallows and\nenjoying the warmth of the fire. The scene painted a picture of joy,\nfriendship, and the beauty of winter.\n\nFigure 8: Example output for Constrained Generation using a prompt casually written by the authors.\n\n17\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"