"<!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>MemT-1.0: Towards Memory-Native Evolution\nMemTensor Team\n\narXiv:2610.26825v1 [cs.CL] 19 Oct 2026\n\nAbstract\nMemory-native evolution requires making memory an intrinsic capability of foundation models,\nenabling them to continuously accumulate and utilize information. To this end, we introduce\nMemT-1.0, a new architecture of memory foundation models that internalize memory as part\nof model computation. Building on Metis, MemT-1.0 employs Gated DeltaNet-2 with a stable\ntoken-level memory update mechanism within each turn. We further introduce Mixture-of-Storage\nto scale native memory capacity. Following a deliberate backbone preparation, we develop a\ntwo-stage training pipeline consisting of continued pre-training and post-training, supported by 34B\ntokens of training data and efficient training and inference infrastructure. We release a model family\ncomprising MemT-1.0-Nano and MemT-1.0-Flash, and conduct a comprehensive evaluation of\nmemory and general capabilities. The results show that they outperform the parametric memory\nbaselines on average and remain competitive with retrieval-augmented methods, while largely\npreserving general capabilities. At a history length of 128K tokens, MemT-1.0-Nano achieves\napproximately 1.86× end-to-end inference speedup and a 66× reduction in persistent storage\nrelative to full context KV cache. By internalizing retrieved procedural experience, MemT-1.0\nimproves task success on agentic tasks, providing a practical step toward memory-native evolution.\nCode: https://github.com/MemTensor/MemT-1.0\nModel: https://huggingface.co/collections/MemTensor/memt-1\n\nMemOS\n\nDenseRAG\n\nLoCoMo (LCM)\nScore\n\nMemT-1.0-Flash\n\nScore\n\n85.7 83.4\n\nDoc-to-LoRA\n\n30.5\n\n66.7\n\n65.1\n50.6\n\n46.6\n\nδ-mem\n\nMemoryLLM\n\nScore\n\nParametric Memory\n\nTextual Memory\n\n80\n\n68.2\n\n28.2\n60\n\n21.8\n\n57.5\n\nSHINE\n\nImplicitMemBench (IM)\n\nParametric Memory\n\nTextual Memory\n\n30 27.8\n\n80\n\n58.3 61.1\n\nMemT-1.0-Nano\n\nMemoryAgentBench (MAB)\nParametric Memory\n\nTextual Memory\n\n100\n\n60\n\nGraphiti\n\n19.9\n\n20\n\n15.5\n\n17.4\n\n15.5\n\n61.1\n\n55.0\n\n52.2\n\n49.2\n39.4\n\n40\n\n43.1 42.4\n\n34.9\n\n29.9\n\n40\n\n24.5 26.7\n20\n\n10\n\n20.3\n\n0\n\nScore\n\n60\n\n40\n\n7.1\n\n6.3\n\nPerMemSafe (PMS)\nParametric Memory\n\nTextual Memory\n\nScore\n\n60\n\n78.4 79.9\n\n73.5 71.8\n\n69.3 67.1\n\n61.9\n49.6\n\n37.5\n\n67.1 67.6\n\n45.2\n33.5\n\n60\n\n38.7\n\n61.6\n53.7\n\n49.8\n\n20.1\n\n16.5\n\n20\n\n59.4 60.3\n\n40\n\n24.5\n4.4\n\n3.3\n\n0\n\nTextual Memory pairs:\n\nParametric Memory\n\nTextual Memory\n\n80\n\n30.8\n\n22.7\n\nScore\n\n54.7 55.5\n\n40\n\n40.7\n\n17.8\n\nPersonaMem (PM)\nParametric Memory\n\nTextual Memory\n\n45.9\n57.2\n\n20\n\n0\n\n20\n\n0\n\n6.2\n\n0\n\nMemBench (MB)\n80\n\n3.5\n\n20.2\n\n20\n\n0\n\nleft — DeepSeek-V4-Flash-0731;\n\nright — Qwen3.6-35B-A3B.\n\nFigure 1 Memory performance of MemT-1.0 on representative benchmarks.\n\n1\n\n52.3\n34.0\n\n39.9\n\n46.9\n\n41.1\n\n\fMemT-1.0-Flash\n\nGLM-5.3 Flash\n\nAutomationBench\n\nDeepSeek-V4 Pro (0813)\n\nKimi K3\n\nDeepSWE v1.1\n\n48.80\n\n46.70\n\n45.80\n\nClaude Opus 5\n\nτ³-Banking / Pass¹\n\n50.30\n63.40\n\nGPT-5.6 Sol\n\n67.50\n\n63.00\n\n72.70\n\n74.00\n\n49.23\n\n31.80\n\n80.31\n\n48.70\n\n37.10\n\nMCPMark-Verified\n85.04\n\n46.90\n\n45.36\n\nSWE-bench Multilingual\n96.06\n\n92.91\n\n82.68\n\nIFBench v2 / Strict\n89.50\n\n70.33\n\n71.67\n\n68.33\n\n81.67\n\n72.33\n\n69.67\n\n70.33\n\n58.67\n\n66.67\n55.00\n\nFigure 2 Agentic performance of MemT-1.0-Flash after backbone preparation without native memory.\n\nEnd-to-End Inference Latency (128K)\nFull Context\n\nEnd-to-End Inference Latency (256K)\nFull Context\n\n30.07\n\nTemp-LoRA\n\nTemp-LoRA\n\n700.82\n\nMemT-1.0-Nano\n\n30\n\n1400.88\n\nMemT-1.0-Nano\n\n16.19\n10\n\n94.47\n\n100 300 1,000 3,000\nTime (seconds, log scale)\n\n23.69\n10\n\nStorage Overhead\n\n30\n\n100 300 1,000 3,000\nTime (seconds, log scale)\n\n5.061 GiB (256K)\n\nFull Context\nTemp-LoRA\n\nToo Large (1M)\n\n172.5 MiB (256K &amp; 1M)\n\nMemT-1.0-Nano\n\n40.00 MiB (256K &amp; 1M)\n10\n\n100\n\nStorage (MiB, log scale)\n\n1,000\n\nFigure 3 Inference efficiency and storage overhead of MemT-1.0-Nano.\n\n2\n\n10,000\n\n\fContents\n1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n5\n\n2 Model Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n2.2 Native Memory Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n2.3 Scaling Native Memory Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n6\n6\n7\n9\n\n3 Training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n3.1 Backbone Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n3.2 Data Construction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n3.3 Training Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n3.4 Continued Pre-Training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n3.5 Post-Training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n3.6 Training Setups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n10\n10\n11\n12\n13\n13\n14\n\n4 System and Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n4.1 Distributed Training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n4.2 Efficient Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n4.3 Stateful Inference and Serving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n14\n14\n15\n16\n\n5 Memory Scaling Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n5.2 Scaling Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n5.3 Data and Training Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n5.4 Memory Capacity Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n16\n16\n17\n17\n18\n\n6 Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6.1 Overall Evaluation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6.2 Memory Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6.3 General Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6.4 Ablation Studies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6.5 End-to-End Inference Efficiency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6.6 Storage Overhead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6.7 Low-Rank Decomposition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n18\n18\n19\n20\n21\n22\n24\n25\n\n7 Application in Agentic Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n7.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n7.2 Experience-Guided Agentic Framework . . . . . . . . . . . . . . . . . . . . . . . . . . .\n7.3 Experience Construction and Model Training . . . . . . . . . . . . . . . . . . . . . . .\n7.4 Agentic Coding Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n7.5 Case Study and Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n25\n25\n26\n26\n28\n29\n\n8 Limitations and Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n30\n\n9 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n30\n\nReferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n31\n\n3\n\n\fA Author List and Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nA.1 Author List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nA.2 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n35\n35\n35\n\nB Adaptation to Specific Backbones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nB.1 Projection and Fusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nB.2 Gates and Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nB.3 Training Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n35\n35\n37\n37\n\nC Stable Mechanism on GDN-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nC.1 Problem Formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nC.2 Solution: Symmetrization Fix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n38\n38\n40\n\nD Details of Evaluation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nD.1 Details of Benchmarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nD.2 Details of Baselines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nD.3 Details of Pipelines and Prompts in Memory Evaluation . . . . . . . . . . . . . . . . .\nD.4 Details of Pipelines and Prompts in General Evaluation . . . . . . . . . . . . . . . . .\nD.5 Details of Storage Overhead Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n40\n40\n42\n43\n52\n53\n\nE Additional Details on Agentic Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nE.1 Experience Bank and Training Data Construction . . . . . . . . . . . . . . . . . . . .\nE.2 Training Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nE.3 Additional Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n53\n53\n56\n59\n\nF Memory Windowing Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nF.1 Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nF.2 Measurement Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nF.3 Full Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nF.4 Measurement Variability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n60\n61\n62\n62\n62\n\nG Case Studies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nG.1 Example 1: Factual Recall at 4K . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nG.2 Example 2: Abstention on Missing Information at 16K . . . . . . . . . . . . . . . . . .\nG.3 Example 3: Rule Application at 32K . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nG.4 Example 4: Tracking an Update at 64K . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n62\n63\n64\n64\n65\n\n4\n\n\f1\n\nIntroduction\n\nThe rapid evolution of foundation models is expanding the boundary of what can be natively learned and\nperformed within a single model. Many capabilities are progressively internalized from external systems into\nthe model itself, such as reasoning [1, 2] and multimodality [3, 4]. Memory represents another fundamental\ncapability, enabling models to accumulate experience and adapt over extended interactions [5, 6]. Our previous\nwork, Metis [7], first introduced memory foundation models to internalize memory as a native capability of\nfoundation models. This offers a path beyond external context and enables models to continuously accumulate\ninformation and experience, which marks a critical step towards memory-native evolution.\nTo improve memory capabilities, we introduce MemT-1.0, a new architecture with substantial upgrades over\nMetis, while retaining the structure of dynamic local memory and trainable hyper memory. It replaces token\nselection with a stable token-level update mechanism based on Gated DeltaNet-2 (GDN-2) [8]. To further\nscale native memory capability, we introduce Mixture-of-Storage (MoS) to expand the capacity of native\nmemory. We release a model family comprising MemT-1.0-Nano with 36B parameters (3B activated, 10M\ndynamic memory) and MemT-1.0-Flash with 288B parameters (17B activated, 336M dynamic memory).\nFollowing a deliberate backbone preparation, we develop a two-stage training pipeline for MemT-1.0. The\nfirst stage performs continued pre-training (CPT) to establish language modeling capabilities with native\nmemory [9]. The post-training stage further adapts the model to downstream memory tasks while preserving\nits general capabilities [10]. To support this training pipeline, we construct a large-scale dataset of 34B\ntokens. Across 11 memory benchmarks, our models outperform parametric memory baselines on average,\nshowing effective utilization of historical information without accessing the original context during inference.\nThey also largely preserve general capabilities under the noise setting. Our evaluation shows an increasing\nend-to-end inference latency and storage overhead advantage over full context on longer histories.\nTo support training and deployment, we develop a distributed infrastructure, which preserves memory isolation\nacross independent trajectories. We organize stateful inference around separate memory storage and utilization\nprocedures, with shared model parameters and trajectory-specific memory states. For a fixed memory\nconfiguration, the persistent state size remains constant as interactions accumulate. In addition, we explore the\nscaling behavior of MemT-1.0. Unlike general foundation models [11], memory foundation models introduce\nmemory capacity as a critical scaling dimension, so we conduct scaling studies over memory capacity and\ntraining data. These findings provide valuable guidance for building stronger memory foundation models.\nWe further apply MemT-1.0 to experience-guided coding agents, where retrieved procedural experience is\ninternalized into native memory to guide subsequent actions. On SWE-bench Verified [12] and SWE-bench\nMultilingual [13], our method improves average task success and consistency across repeated runs over agents\nwithout experience, while achieving performance comparable to explicit textual experience. These findings\nextend the role of native memory from information recall to procedural guidance in multi-step execution.\nOur main contributions are summarized as follows:\n• We introduce MemT-1.0, a memory foundation model architecture with improved memory storage and\nutilization mechanisms, together with MoS for scalable memory capacity.\n• Following a deliberate backbone preparation, we design a two-stage training pipeline including CPT and\npost-training stages, with a corresponding infrastructure design. We construct a training corpus of 34B tokens,\nand systematically evaluate MemT-1.0 on both memory and general benchmarks. The results show that\nMemT-1.0 achieves superior memory performance while largely preserving general capabilities.\n• We explore the scaling behavior of memory capabilities in MemT-1.0. We further deploy MemT-1.0\nin practical agentic coding tasks to demonstrate its effectiveness and potential in enabling memory-native\nevolution. We also discuss its current limitations and promising directions for future development.\n5\n\n\fOutput token y t,k\n\nPersistent memory brings past information\ninto current computation.\n\nLM Head\n\n(layer l)\n\nTransformer Block\n\nNorm\n\nH\n\nHyper Memory Block\n\nLocal Memory Block\n\nMemory\n\nProjections\n\n(l)\nM t ∈ ℝ H kv × d k × d v\n\n(l)\n\nWQ , WK , WV\n\nInitialize to zero at a new trajectory\n\nStorage Gate\n\n\nOutput Gate\n\nParams\n\nParams\nWβ , Wω\n\nWg/d , Wg/u\n\nWf , Wλ , bλ , s\n\nTrainable offline · fixed during online interaction\n\nTransformer Block\n\n×L\n\nMemory Storage Procedure\n\nPost-Attention\n\nNative Memory Block\n\n⋯\n\nNative Memory Block\n\nHidden states guide token-wise updates at turn end.\n\nA\n\n(l)\n\nH\n\nInput sequence\n\n(l)\n\nH t,i\n\nErase\n\n(l)\n\nWrite\n\n(l)\n\n(l)\n\nβ t,i,h\n\nω t,i,h\n\nθt\nM t (dynamic)\nθ / M t (fixed)\n\nXt , Yt\nUpdate\n\nθ t+1\nM t+1 (dynamic)\nθ / M t+1 (fixed)\n\n⋯\n\n(l)\n\nStable Token-level\n\nGDN-2 Update\n\nForget\n\n(l)\n\n(l)\n\nMt,i−1,h → Mt,i,h\n\n(l)\n\nλ t,i,h\n\nLearned gates shape what persists across turns.\n\nMemory Utilization Procedure\nMemory Q Projection\n\nH\n\n(l)\n\nM t,h\n\nnext token\n\n(l)\n\nPre-Attention\n\nS t,k = X t ∥ Y t,&lt;k\n\n(l)\n\nV t,i,h = H t,i W V,h\n\nstates\n\nMemory\n\nAttention\n\nEmbedding\n\n(l)\n\nCausal\n\n\nOriginal\n\nAttention\n\nNative Memory Block\n\n(l)\n\nK t,i,h = L2Norm( H t,i W K,h )\n\n+\n\nTransformer Block\n\n(l)\n\nM t+1,h\n\nMemory K, V Projection\n\n(l)\n\n(l)\n\n(l)\n\n(l)\n\nQt,h = L2Norm( H t W Q,h )\n\n(l−1)\n\n(l)\n\nHt\n\nMemory becomes part of the model’s\nforward pass.\n\nOutput Gate\nG\n\n(l)\nt,h\n\n(l)\n\n(l)\n\n(l)\n\n= H t W g/d W g/u,h\n\nMatrix Readout\n(l)\nQ (l)\nM t,h\nt,h\n\nR (l)\n=\nt,h\n\nRMSNorm(R)\n\ndk\n\nSoftCapSiLU(G)\n\n⊙\n\n(l)\n\nA mem,t\n\nConcat\n\nover H q heads\n\nFigure 4 Architecture of MemT-1.0. MemT-1.0 equips causal language models with native memory that evolves across\ninteraction steps. Each selected Transformer block is augmented with a native memory block that performs parallel\noriginal and memory attention. The memory mechanism comprises dynamic local memory and trainable hyper memory,\ntogether with native memory storage and utilization procedures for updating and retrieving persistent information.\n\n2\n2.1\n\nModel Architecture\nOverview\n\nMemT-1.0 is formulated under a multi-step scenario with discrete steps 𝑡 ∈ {1, 2, · · · , 𝑇 }, as presented in\nFigure 4. At step 𝑡, let 𝜃 𝑡 denote the current model parameters. Given the input 𝑋𝑡 , the autoregressive\ngeneration process can be formulated as\n\u0001\n𝑦 𝑡 ,𝑘 ∼ 𝑃 ·|𝑋𝑡 , 𝑌𝑡 ,&lt;𝑘 ; 𝜃 𝑡 ,\nwhere 𝑌𝑡 ,&lt;𝑘 denotes the tokens generated before 𝑦 𝑡 ,𝑘 . Meanwhile, the stateful model parameter is updated by\n𝜃 𝑡+1 ∼ 𝑃 (·|𝑋𝑡 , 𝑌𝑡 ; 𝜃 𝑡 ) ,\nwhere 𝑌𝑡 is all generated tokens at step 𝑡. MemT-1.0 is built upon general\n\u0001 causal language models. We\ndenote the input sequence as 𝑆𝑡 ,𝑘 = 𝑋𝑡 ||𝑌𝑡 ,&lt;𝑘 = 𝑥 𝑡 ,1 , · · · , 𝑦 𝑡 ,1 , · · · , 𝑦 𝑡 ,𝑘−1 with length 𝐿 𝑡 ,𝑘 . First, the input\n𝐿𝑡,𝑘 ×𝑑 through the embedding layer, where 𝑑 is the dimension of\nis mapped to the initial hidden state H𝑡(0)\n,𝑘 ∈ R\nthe hidden state. Then, it is processed sequentially by 𝐿 stacked Transformer blocks [14] as follows:\n\u0010\n\u0011\n(𝑙−1)\nH𝑡(𝑙)\n=\nTransformerBlock\nH\n, for 𝑙 = 1, 2, · · · 𝐿.\n,𝑘\n𝑡 ,𝑘\n𝐿)\nAfter that, the last hidden state H𝑡(,𝑘\nis normalized and projected into the vocabulary space through the\n𝑑×\n|\nlanguage modeling head WLM ∈ R V | , and a softmax function is then applied to obtain the probability\ndistribution by\n\u0010\n\u0010\n\u0011\n\u0011\n\u0001\n𝐿)\n𝑃 ·|𝑋𝑡 , 𝑌𝑡 ,&lt;𝑘 ; 𝜃 𝑡 = Softmax Norm h𝑡(,𝑘\nWLM ,\n𝐿)\n𝐿)\nwhere |V | is the vocabulary size and h𝑡(,𝑘\nis the last position of H𝑡(,𝑘\n.\n\n6\n\n\fMemT-1.0 augments each selected standard Transformer block with a native memory block, which is\nresponsible for maintaining the memory from previous information. For the 𝑙-th Transformer block, we denote\nthe computation of attention output as\n\u0010\n\u0011\n\u0010\n\u0011\n(𝑙)\n(𝑙)\n(𝑙)\n(𝑙−1)\nAori,𝑡\n=\nAttention\nH̃\n,\nH̃\n=\nPre-Attention\nH\n,\n𝑡 ,𝑘\n𝑡 ,𝑘\n𝑡 ,𝑘\n,𝑘\nwhere Attention (·) represents the backbone attention and H̃ (𝑙) indicates the hidden state after pre-attention\noperations, such as pre-normalization. MemT-1.0 introduces a parallel memory attention mechanism to utilize\nthe parametric memory accumulated from previous steps for targeted layers, by\n\u0010\n\u0011\n(𝑙)\n(𝑙)\n(𝑙)\n(𝑙)\nA𝑡(𝑙)\n=\nA\n+\nA\n,\nA\n=\nMemoryAttention\nH̃\n;\n·\n,\n,𝑘\nmem,𝑡 ,𝑘\nmem,𝑡 ,𝑘\n𝑡 ,𝑘\nori,𝑡 ,𝑘\n(𝑙)\n(𝑙)\nwhere Amem,𝑡\n,𝑘 indicates the output of memory attention. After that, the combined attention output A𝑡 ,𝑘 is\nused in the subsequent computation as\n\u0010\n\u0011\n(𝑙)\n(𝑙−1)\nH𝑡(𝑙)\n=\nPost-Attention\nA\n,\nH\n.\n,𝑘\n𝑡 ,𝑘\n𝑡 ,𝑘\n\nFor different backbones, we preserve the original Pre-Attention (·), Attention (·), and Post-Attention (·)\nunchanged to retain the backbone capabilities, and introduce memory through MemoryAttention (·) for\ndifferent backbones. Specifically, we use Qwen3.6-35B-A3B [15], as released, as the backbone of MemT-1.0Nano and a further post-trained DeepSeek-V4-Flash [16] (Section 3.1) as the backbone of MemT-1.0-Flash.\n2.2\n2.2.1\n\nNative Memory Block\nNative Memory State\n\nFollowing our previous work Metis [7], a native memory block in MemT-1.0 comprises a local memory block\nand a hyper memory block. The former stores online information, while the latter is trained to equip general\nfoundation models with memory capabilities in a data-driven manner.\nLocal Memory Block. In MemT-1.0, the dynamic memory state at the 𝑡-th step and 𝑙-th layer can be\nrepresented as M𝑡(𝑙) ∈ R 𝐻𝑘𝑣 ×𝑑𝑘 ×𝑑𝑣 , where 𝑑 𝑘 , 𝑑 𝑣 represent the dimensions of memory keys and values, and\n𝐻 𝑘𝑣 denotes the number of memory channels. Compared with Metis, we remove the query-key normalization\nvector and extend the memory state to multiple channels. We initialize M𝑡(𝑙) = 0 at the start of new trajectories.\nHyper Memory Block. In the hyper memory block, the multi-channel projections of memory query, key, and\n(𝑙)\n(𝑙)\nvalue are denoted as W̃𝑄\n∈ R 𝐻𝑞 ×𝑑×𝑑𝑘 , W̃𝐾\n∈ R 𝐻𝑘𝑣 ×𝑑×𝑑𝑘 and W̃𝑉(𝑙) ∈ R 𝐻𝑘𝑣 ×𝑑×𝑑𝑣 for each layer 𝑙. Beyond\nthese core memory projections, this block includes all other trainable parameters for memory processing. First,\n𝑑×𝐻𝑘𝑣 ×𝑑𝑣 , along\nthe gating projections include the erase gate W𝛽(𝑙) ∈ R𝑑×𝐻𝑘𝑣 ×𝑑𝑘 and the write gate W (𝑙)\n𝜔 ∈ R\n𝑑×𝑑gate , W (𝑙) ∈ R𝑑gate ×𝐻𝑘𝑣 ×𝑑𝑘 , b (𝑙) ∈ R 𝐻𝑘𝑣 ×𝑑𝑘 , and a\nwith the forget gate components consisting of W (𝑙)\n𝜆\n𝜆\n𝑓 ∈ R\nlearnable vector s (𝑙) ∈ R 𝐻𝑘𝑣 . Finally, the memory output gating is parameterized by a shared down-projection\n(𝑙)\n(𝑙)\nW𝑔/𝑑\n∈ R𝑑×𝑑𝑔/𝑑 and a multi-channel up-projection W𝑔/𝑢\n∈ R 𝐻𝑞 ×𝑑𝑔/𝑑 ×𝑑𝑣 . Generally, we have 𝐻𝑞 = 𝐻 𝑘𝑣\nto align query channel and key-value channels. These trainable parameters are denoted as 𝜙, which can be\noptimized during the training phase and remain fixed during online interaction.\n\nIn summary, the model parameters 𝜃 𝑡 at step 𝑡 include the backbone parameters 𝜃 𝑏 , the static but trainable\n𝐿 . During online inference, these dynamic memory\nparameters 𝜙, and the dynamic memory states {M𝑡(𝑙) }𝑙=1\nstates are responsible for storing online information and evolve over interactions.\n\n7\n\n\f2.2.2\n\nNative Memory Procedures\n\nMemT-1.0 consists of two parallel native procedures, including memory storage and memory utilization. The\nmemory storage procedure updates the dynamic memory states to preserve information from the current\ninteraction, while the memory utilization procedure retrieves information from previously accumulated\nmemory states to support autoregressive generation.\nNative Memory Storage Procedure. MemT-1.0 replaces the token selection with a stable token-level update\nmechanism based on GDN-2 [8] to update the dynamic memory state in each turn. As the memory storage\nprocedure is triggered at the turn level, we denote the hidden states as H𝑡(𝑙) of 𝑆𝑡 = 𝑋𝑡 ||𝑌𝑡 . For the pre-attention\ninput H̃𝑡(𝑙) , we compute the memory key and value of the ℎ-th channel by\n\u0010\n\u0011\n(𝑙)\n(𝑙)\n(𝑙)\n(𝑙)\nH̃\nW̃\nK𝑡(𝑙)\n=\nL2Norm\nV𝑡(𝑙)\n𝑡\n,ℎ\n𝐾 ,ℎ ,\n,ℎ = H̃𝑡 W̃𝑉 ,ℎ ,\n(𝑙)\n(𝑙)\nwhere W̃𝐾\n,ℎ and W̃𝑉 ,ℎ are the key and value projection matrices for the ℎ-th memory channel. Then, the\nerase gate and write gate can be obtained by\n\u0010\n\u0011\n\u0010\n\u0011\nβ𝑡(𝑙) = 𝜎 H̃𝑡(𝑙) W𝛽(𝑙) , ω𝑡(𝑙) = 𝜎 H̃𝑡(𝑙) W (𝑙)\n𝜔 ,\n\nwhere W𝛽(𝑙) , W (𝑙)\n𝜔 are gating projection matrices. In addition, the forget gate is calculated by\n\u0010 \u0011\n\u0010\n\u0011\n(𝑙)\n(𝑙)\n(𝑙)\n(𝑙)\n=\n−\nexp\ns\n⊙\nSoftplus\nF\nW\n+\nb\nλ𝑡(𝑙)\n𝑡\n,ℎ\nℎ\n𝜆,ℎ\n𝜆,ℎ ,\n\nF𝑡(𝑙) = H̃𝑡(𝑙) W (𝑙)\n𝑓 ,\n\n(𝑙)\n(𝑙) (𝑙)\nwhere W (𝑙)\n𝑓 , W𝜆 , b𝜆 , sℎ are forget-gate parameters. To prevent the divergence of memory states during\nupdates, we introduce a stable mechanism for the token-level update, where it first calculates\n√︃\n(𝑙)\nU𝑡(𝑙)\n=\nβ𝑡(𝑙)\n,𝑖\n,𝑖 ⊙ K𝑡 ,𝑖 .\n\nThen, the memory state can be updated by\nh\ni\n\u0010\n\u0011\n(𝑙)⊤ (𝑙)\n(𝑙)\n(𝑙)\n(𝑙)⊤\n(𝑙)\n(𝑙)\nM̃𝑡(𝑙)\n=\nI\n−\nU\nU\n·\nD\nM̃\n+\nU\nω\n⊙\nV\n,𝑖,ℎ\n𝑡 ,𝑖,ℎ 𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ 𝑡 ,𝑖−1,ℎ\n𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ ,\n(𝑙)\n(𝑙)\n(𝑙)\nwhere the initialization is given by M̃𝑡(𝑙)\n,0,ℎ = M𝑡 ,ℎ , and the state transition is defined as M𝑡+1,ℎ = M̃𝑡 ,𝐿𝑡 ,ℎ , with\n\nh\n\u0010\n\u0011i\n(𝑙)\nD𝑡(𝑙)\n=\nDiag\nexp\nλ\n.\n,𝑖,ℎ\n𝑡 ,𝑖,ℎ\nThe detailed analysis of our stable mechanism on GDN-2 is presented in Appendix C.\nNative Memory Utilization Procedure. In MemT-1.0, we remove the key-value normalization from Metis.\nBecause the memory utilization operates at the token level in parallel, we omit the decoding index 𝑘 for\nsimplicity. For the step 𝑡, we read out information from the current memory state M𝑡(𝑙)\n,ℎ by\nR𝑡(𝑙)\n,ℎ =\n\n(𝑙)\nQ𝑡(𝑙)\n,ℎ M𝑡 ,ℎ\n,\n√\n𝑑𝑘\n\n\u0010\n\u0011\n(𝑙)\n(𝑙)\nQ𝑡(𝑙)\n=\nL2Norm\nH̃\nW̃\n𝑡\n,ℎ\n𝑄,ℎ ,\n\n(𝑙)\nwhere W̃𝑄,ℎ\nis the memory query projection matrix. After that, we calculate the memory output gate by\n(𝑙)\n(𝑙)\n(𝑙)\nG𝑡(𝑙)\n,ℎ = H̃𝑡 W𝑔/𝑑 W𝑔/𝑢,ℎ ,\n\n8\n\n\fMemory Utilization · All E Experts\nUtilization Router\n\nInput\n\nShared Addresses\n\nStorage Router\n\nExpert 1\n\nMemory Attention\n\nExpert 2\n\nMemory Attention\n\nWeighted Read Fusion\n\n⋮\n\nMemory Attention\n\nExpert E\n\nMemory Storage × E\nKey / Value Projections\n\nErase / Write / Log-Decay\n\nRouter-Scaled Controls\n\nStable Token-level\nGDN-2 Update\n\nFigure 5 Scaling native memory capacity. MoS expands each native memory block into multiple memory experts and\nemploys separate dense storage and utilization routing over shared expert addresses.\n(𝑙)\n(𝑙)\nwhere W𝑔/𝑑\n, W𝑔/𝑢,ℎ\nare parameters of the readout gate. Finally, the memory attention is calculated by\n\n\u0010\n\u0011\n(𝑙)\n(𝑙)\nAmem,𝑡\n= MemoryAttention H̃𝑡(𝑙)\n;\nM\n𝑡\n,𝑘\nh\n\u0010\n\u0011\n\u0010\n\u0011i\n𝐻𝑞\n(𝑙)\n= Concatℎ=1 RMSNorm R𝑡(𝑙)\n⊙\nSoftCapSiLU\nG\n,\n,ℎ\n𝑡 ,ℎ\nwhere\n\n\u0012\n\n\u0013\nSiLU(𝑥)\nSoftCapSiLU(𝑥) = 𝜏 tanh\n,\n𝜏\n\nSiLU(𝑥) = 𝑥 𝜎(𝑥),\n\nand 𝜏 &gt; 0 controls the soft-cap threshold, with 𝜏 = 2 by default. Target layers, projection strategies, and other\nsettings vary slightly to accommodate different backbones, and more details can be found in Appendix B.\n2.3\n\nScaling Native Memory Capacity\n\nTo jointly scale the online memory capacity and the trainable memory parameters, we introduce Mixture-ofStorage (MoS), as presented in Figure 5, which expands a native memory block into 𝐸 parallel memory experts.\nUnlike conventional sparse Mixture-of-Experts (MoE) [17], MoS adopts dense routing over all memory\nexperts, so every expert participates in the memory computation and the routing probabilities determine how\ninformation is read from and written into different memory experts.\nMemory Expert Expansion. For the 𝑙-th MoS layer, we extend the local memory state with an additional\nexpert dimension as\nn\no𝐸\n(𝑙)\nM 𝑡(𝑙)\n=\nM\n∈ R𝐸 ×𝐻𝑘𝑣 ×𝑑𝑘 ×𝑑𝑣 ,\n𝑡 ,𝑒\n,MoS\n𝑒=1\n\n𝐻𝑘𝑣 ×𝑑𝑘 ×𝑑𝑣 is the dynamic memory state of the 𝑒-th expert, and each expert has independent\nwhere M𝑡(𝑙)\n,𝑒 ∈ R\nhyper memory parameters. All experts and both routers receive the same pre-attention hidden states H̃𝑡(𝑙) .\n\nShared-Address Routing. MoS introduces two dense routers to control memory utilization and memory\nstorage separately, which share a trainable expert address matrix\nh\ni⊤\nC (𝑙) = c1(𝑙) , c2(𝑙) , · · · , c𝐸(𝑙) ∈ R𝐸 ×𝑑addr ,\n9\n\n\f(𝑙)\n(𝑙)\nwhere 𝑑addr is the dimension of the address representation. Then, we use router projections Wroute/u\n, Wroute/s\n∈\nR𝑑×𝑑addr for memory utilization and storage separately. After that, routing probabilities of memory utilization\nare calculated by\n\u0010\n\u0011\n(𝑙)\n(𝑙)\nαu,𝑡\n= Softmax H̃𝑡(𝑙) Wroute/u\nC (𝑙)⊤ ∈ R 𝐿𝑡 ×𝐸 .\n\nSimilarly, routing probabilities of memory storage are obtained by\n\u0010\n\u0011\n(𝑙)\n(𝑙)\nαs,𝑡\n= Softmax H̃𝑡(𝑙) Wroute/s\nC (𝑙)⊤ ∈ R 𝐿𝑡 ×𝐸 .\nBoth softmax operations are applied along the expert dimension. Therefore, the utilization and storage routers\nshare the same semantic expert addresses but learn different projections.\nMixture-of-Storage Fusion. For memory utilization, each expert independently follows the native memory\nutilization procedure described above. We denote the memory-attention output of the 𝑒-th memory expert by\n\u0010\n\u0011\n(𝑙)\n(𝑙)\n(𝑙)\nAmem,𝑡 ,𝑒 = MemoryAttention𝑒 H̃𝑡 ; M𝑡 ,𝑒 .\nThe final memory attention at the 𝑖-th token in sequence 𝑆𝑡 is obtained by\n(𝑙)\nAmem,𝑡\n,𝑖 =\n\n𝐸\n∑︁\n\n(𝑙)\n(𝑙)\nαu,𝑡\n,𝑖,𝑒 Amem,𝑡 ,𝑖,𝑒 .\n\n𝑒=1\n\nFor memory storage, each expert independently produces its memory key, value, erase gate, write gate, and\nlog-decay using its expert-specific parameters. For the 𝑒-th expert, the erase gate, write gate, and log-decay\nare calculated by\n(𝑙)\n(𝑙)\nβ̃𝑡(𝑙)\n,𝑒 = αs,𝑡 ,𝑒 ⊙ β𝑡 ,𝑒 ,\n\n(𝑙)\n(𝑙)\nω̃𝑡(𝑙)\n,𝑒 = αs,𝑡 ,𝑒 ⊙ ω𝑡 ,𝑒 ,\n\n(𝑙)\nλ̃𝑡(𝑙)\n,𝑒 = λ𝑡 ,𝑒 .\n\nAfter that, we calculate\nU𝑡(𝑙)\n,𝑒 =\n\n√︃\n(𝑙)\nβ̃𝑡(𝑙)\n,𝑒 ⊙ K𝑡 ,𝑒 .\n\nFinally, the memory state can be updated by\n\u0011\n\u0010\ni\nh\n(𝑙)\n(𝑙)\n(𝑙)⊤\n(𝑙)\n(𝑙)\n(𝑙)\n(𝑙)⊤\n⊙\nV\nω̃\n+\nU\nM̃\n·\nD̃\nU\n=\nI\n−\nU\nM̃𝑡(𝑙)\n𝑡 ,𝑖,𝑒,ℎ\n𝑡 ,𝑖,𝑒,ℎ ,\n𝑡 ,𝑖,𝑒,ℎ\n𝑡 ,𝑖,𝑒,ℎ 𝑡 ,𝑖−1,𝑒,ℎ\n𝑡 ,𝑖,𝑒,ℎ 𝑡 ,𝑖,𝑒,ℎ\n,𝑖,𝑒,ℎ\n(𝑙)\n(𝑙)\n(𝑙)\nwhere we have the initialization M̃𝑡(𝑙)\n,0,𝑒,ℎ = M𝑡 ,𝑒,ℎ , and transformation M𝑡+1,𝑒,ℎ = M̃𝑡 ,𝐿𝑡 ,𝑒,ℎ , with\n\nh\n\u0010\n\u0011i\n(𝑙)\nD̃𝑡(𝑙)\n=\nDiag\nexp\nλ̃\n.\n,𝑖,𝑒,ℎ\n𝑡 ,𝑖,𝑒,ℎ\n\n3\n3.1\n\nTraining\nBackbone Preparation\n\nA memory foundation model inherits from its backbone both the knowledge fixed at pre-training and the\nreliability with which that knowledge becomes behavior, and post-training treats the two very differently.\nTraining on the backbone’s own verified samples fits its distribution conditioned on verifier acceptance [18, 19]:\nit reweights what the backbone already produces and, by itself, leaves tasks the backbone almost never solves\nuntouched. Our per-item analysis bears this out. Gains concentrate on tasks the backbone solves occasionally.\nTasks it never solved in eight attempts end at only 1.6–4.0% accuracy across four benchmarks after the\n10\n\n\fpreparation described below, in line with observations for RL [20], whereas on a separate probe set of hard\nknowledge questions, supplying the relevant facts in context raises accuracy from 27% to 91%, which suggests\nthat the remaining gap is largely informational. In our setting, reliability is therefore what post-training mainly\nimproves, and new information is what native memory must supply.\nAccordingly, we post-train DeepSeek-V4-Flash before attaching native memory, with data from a threestep pipeline applied within each of three tracks: general capabilities (instruction following, knowledge,\nmathematics, and long-context reasoning), agentic coding, and agentic working (tool use and workflow\nautomation). First, capability profiling: each task is attempted repeatedly and classified as reliably, occasionally,\nor not solved, a profile that stands in for the pre-training data we cannot see. Second, attribution by intervention:\na failure is re-run with the suspected missing piece, a grader convention, a procedural hint, or a fact, placed in\ncontext, and whether it disappears tells a missing convention or procedure apart from missing knowledge;\nfailures that persist under every intervention are excluded from synthesis. Third, capability-conditioned\nsynthesis assigns each class its own data source. Reliably solved tasks supply replay. Occasionally solved\ntasks supply the backbone’s own attempts that pass programmatic verifiers (constraint checkers, unit tests, or\nsandboxed agent runs), which keeps most of the data on the backbone’s own distribution. Failures traced to a\nmissing convention or procedure are learned either from guided sampling, where the guidance appears in the\nsampling context but not in the target, or from style-matched demonstrations by stronger models. Knowledge\ngaps, which synthesis has so far closed only item by item, are left mainly to retrieval and, in MemT-1.0, to\nnative memory. Transfer is checked on held-out task families.\nThe recipe was settled over five rounds of full-mixture training and more than fifty training runs in total.\nThe final mixture holds 126.5K trajectories (2.4B tokens, 1.1B loss-bearing), 56.4% general, 18.0% agentic\ncoding, and 25.3% agentic working by count; agentic trajectories account for about 90% of loss-bearing\ntokens, so general data anchors the backbone’s existing capabilities while the long agentic trajectories carry the\nmulti-turn behavior that memory tasks build on. The prepared backbone improves on all six benchmarks we\nmonitor across the three tracks, by 6.3 points on average over the public release (Figure 2), and on SWE-bench\nMultilingual and IFBench v2, at 284B total and 13B active parameters, it exceeds the reported scores of larger\nopen models, including GLM-5.3 Flash (320B total, 18B active) [21] and the far larger DeepSeek-V4 Pro\n(1.6T total, 49B active) [16].\nThe backbone is then frozen to serve as both the host model and the full-context distillation teacher of\nSection 3.3. Backbone preparation and native memory are two routes by which experience shapes a model’s\nlater behavior, through the weights before deployment and through memory states during interaction; closing\nthe loop between them is left to future work.\n3.2\n\nData Construction\n\nTo support the training of MemT-1.0, we construct a large-scale training corpus with 34B tokens, which\nis composed of continued pre-training (CPT) and post-training data. We collect 20B tokens of CPT data,\nwhich mainly consists of large-scale general-purpose language modeling corpora. It contains long-form and\nsequential text to expose the model to diverse linguistic patterns and extensive contextual dependencies.\nFor post-training, we organize 14B tokens of data into three major categories. First, we construct memorynative language modeling data. This data encourages MemT-1.0 to maintain linguistic coherence, stylistic\nconsistency, and instruction-following capability when information is accessed through native memory.\nSecond, we construct data for native memory storage and utilization, including tasks such as summarization,\ncontinuation, and compression. They provide explicit supervision for storing information that should be\nretained in native memory. They train the model to recover and utilize the stored information during subsequent\ngeneration. Third, we introduce memory task data to further strengthen the model’s long-range memory\n11\n\n\fcapability. They further improve the model’s ability to selectively retain critical information and resolve\nlong-range dependencies, which improves the utilization of memory when answering downstream queries.\nPart of the training corpus is based on real-world interaction patterns in MemOS’s anonymized internal data.\nAll three categories are formulated in a unified context-query-answer format. The context is first processed and\nstored through the native memory mechanism, after which the model receives the corresponding query and is\ntrained to generate the target answer conditioned on the resulting memory state. This unified formulation\nallows heterogeneous memory-related tasks to be incorporated into the same post-training pipeline.\n3.3\n\nTraining Objectives\n\nThe core training objective of MemT-1.0 is to align its capability with the backbone given full context, which\nenables the model to retain and utilize historical information without preserving the context. To this end, we\nintroduce an off-policy distillation framework for training native memory models, where the backbone serves\nas the teacher model for acquiring memory capabilities [22].\nLet 𝜃 𝑏 denote the frozen backbone parameters and 𝜙 denote the trainable memory parameters, including the\nhyper memory blocks and extra parameters of MoS. For a training trajectory {(𝑋𝑡 , 𝑌𝑡 )}𝑇𝑡=1 , we define the\npreceding textual history as 𝐶&lt;𝑡 = 𝑆1 ∥ · · · ∥𝑆𝑡 −1 , where 𝑆𝑡 = 𝑋𝑡 ∥𝑌𝑡 . We use the original backbone without\nthe additional memory modules as the teacher, whose next-token distribution is\n\u0001\n𝑞 𝑡 ,𝑘 (𝑣) = 𝑃 𝑣 | 𝐶&lt;𝑡 , 𝑋𝑡 , 𝑌𝑡 ,&lt;𝑘 ; 𝜃 𝑏 ,\n𝑣 ∈ V.\nThe MemT-1.0 student receives the current input and the same observed response prefix, with previous steps\nrepresented by the incoming local memory state M𝑡 , where\n\u0001\n𝑝 𝑡 ,𝑘 (𝑣) = 𝑃 𝑣 | 𝑋𝑡 , 𝑌𝑡 ,&lt;𝑘 ; 𝜃 𝑏 , 𝜙, M 𝑡 .\nHere, M 𝑡 denotes the collection of dynamic states across all memory layers and experts. The state is initialized\nto zero for each independent trajectory and evolves through the native storage procedure after each completed\nstep. Both models are evaluated under teacher forcing on fixed teacher-generated trajectories rather than\nstudent-generated rollouts, making the distillation objective off-policy with respect to the student policy. To\nreduce the size of the teacher targets, we retain its Top-𝐾 tokens at each supervised position. Let K𝑡 ,𝑘 ⊆ V be\nthis token set and 𝑇𝑑 &gt; 0 be the distillation temperature. Given 𝑞 𝑇𝑑 and 𝑝 𝑇𝑑 for distributions obtained by\ndividing the respective logits by 𝑇𝑑 before softmax, we define\n𝑞ˆ 𝑡 ,𝑘 (𝑣) = Í\n\n𝑑\n𝑞 𝑇𝑡 ,𝑘\n(𝑣)\n\n𝑣 ∈ K𝑡 ,𝑘 ,\n\n,\n\n𝑇𝑑\n𝑢∈ K𝑡,𝑘 𝑞 𝑡 ,𝑘 (𝑢)\n\nand set 𝑞ˆ 𝑡 ,𝑘 (𝑣) = 0 outside this set. The per-token distillation loss is the forward KL divergence from this\ntruncated teacher distribution to the student by\n2\nℓ𝑡KL\n,𝑘 = 𝑇𝑑\n\n∑︁\n\n𝑞ˆ 𝑡 ,𝑘 (𝑣) log\n\n𝑣 ∈ K𝑡,𝑘\n\n𝑞ˆ 𝑡 ,𝑘 (𝑣)\n.\n𝑑\n𝑝 𝑇𝑡 ,𝑘\n(𝑣)\n\nThe teacher is renormalized over its selected support, whereas the student remains normalized over the full\nvocabulary. Consequently, the loss also penalizes student probability mass assigned outside the teacher’s\nselected tokens. We additionally use the observed target token 𝑦 𝑡 ,𝑘 for next-token cross-entropy supervision\nℓ𝑡CE\n,𝑘 = − log 𝑝 𝑡 ,𝑘 (𝑦 𝑡 ,𝑘 ).\n12\n\n\fFor a training batch B, let 𝑚 𝑡(𝑏)\n,𝑘 ∈ {0, 1} indicate whether a position in trajectory 𝑏 is supervised. The training\nloss is\ni\n1 ∑︁ ∑︁ (𝑏) h\n(𝑏)\nCE, (𝑏)\n𝑚 𝑡 ,𝑘 𝜆KD ℓ𝑡KL,\n+\n𝜆\nℓ\n,\nL (𝜙) =\nCE 𝑡 ,𝑘\n,𝑘\n𝑁spt 𝑏∈ B 𝑡 ,𝑘\nÍ\nÍ\nwhere 𝑁spt = 𝑏∈ B 𝑡 ,𝑘 𝑚 𝑡(𝑏)\n,𝑘 is the number of supervised tokens, and 𝜆 KD and 𝜆 CE are nonnegative weights\nwith at least one nonzero value. Cross-entropy uses the untempered student distribution. The mask selects the\nprediction targets appropriate to each training stage and excludes padding. History tokens may participate in\nmemory construction without receiving direct loss. Normalization is performed over all supervised tokens in\nthe optimization batch, including those distributed across workers and accumulation steps. Specifically, we\nuse CE supervision during CPT and KL-based distillation during post-training. For MoS training, we add a\nrouter auxiliary loss to balance the load across memory experts. For MemT-1.0-Flash, the backbone prepared\nin Section 3.1 is frozen during native-memory training.\n3.4\n\nContinued Pre-Training\n\nWe first conduct CPT to establish the basic capability of language modeling with native memory. This\nstage trains MemT-1.0 to predict subsequent tokens using both the current textual context and information\naccumulated from preceding segments. For each training sequence, we divide the tokens into consecutive,\nnon-overlapping segments and treat each segment as a step 𝑡. The student performs causal language modeling\nwithin the current segment, with the preceding history 𝐶&lt;𝑡 represented by the incoming memory states M 𝑡 .\nIts backbone context is restricted to the current segment, so information from earlier segments is accessed\nthrough native memory. After processing a segment, the native storage procedure applies token-level updates\nto obtain M 𝑡+1 for the next segment. The final segment is retained even when it is shorter than the specified\nsegment length. Memory states are carried across segments within the same sequence and initialized to zero\nat the beginning of each independent sequence.\nWe use CE loss during CPT, with the ground-truth next tokens serving as the supervision targets. The student\nperforms causal language modeling within the current segment while relying on native memory to access\ninformation from preceding segments. This encourages the model to establish language modeling capabilities\nunder native memory without requiring the full historical context as textual input.\n3.5\n\nPost-Training\n\nPost-training further adapts MemT-1.0 to native memory-based response generation. We initialize the memory\nparameters from the CPT checkpoint and train on instances containing historical context, queries, and reference\nresponses. The historical context is processed chronologically through the native storage procedure, producing\nthe memory states used to answer subsequent queries. The responses are rollouts from the full-context teacher,\nand serve to condition both models under teacher forcing rather than as direct supervision targets. At step 𝑡,\nthe student receives the current query 𝑋𝑡 and the observed response prefix 𝑌𝑡 ,&lt;𝑘 , with the preceding history\n𝐶&lt;𝑡 represented by M 𝑡 . The teacher retains access to the corresponding textual history. Memory states are\ninitialized independently for each trajectory, preserving the association between a query and its own history.\nWe use the KL loss in the post-training stage. The supervision mask 𝑚 𝑡(𝑏)\n,𝑘 selects response tokens, while\nhistory, query, and padding positions receive no direct token loss. Both teacher and student are evaluated\nunder teacher forcing with the same observed response prefix. Reference responses thus determine the prefixes\non which the models are evaluated, while the teacher’s probability distributions provide the distillation targets.\nThe loss is averaged over all supervised response tokens in the training batch. This focuses optimization on the\noutputs required by the task while training the student to approximate the full-context teacher through native\n\n13\n\n\fmemory. Although historical tokens receive no direct loss, gradients from response predictions propagate\nthrough memory readout and earlier storage operations. This allows the model to learn which historical\ninformation to retain and how to utilize it for the current query. The full-context teacher provides a reference\nfor both the use of historical information and the backbone’s response behavior, encouraging MemT-1.0 to\nacquire task-specific memory capabilities while preserving its general capabilities.\n3.6\n\nTraining Setups\n\nFor MemT-1.0-Nano, training consists of 1 CPT epoch followed by post-training. The global batch size is 64\npacked sequences. Each pack contains at most 64K tokens, while the segment length is 2K tokens. Incomplete\nfinal global batches are dropped. For the distillation objective, we retain the teacher’s top-𝐾 tokens at each\nsupervised position with 𝐾 = 64, and set the distillation temperature to 𝑇𝑑 = 1.0. We optimize only the\nmemory parameters using AdamW with 𝛽1 = 0.9, 𝛽2 = 0.999, 𝜖 = 10−8 , weight decay 0.01, and a gradient\nclipping norm of 1.0. We use mixed-precision training. The backbone runs in BF16, while numerically\nsensitive components (e.g., RMSNorm, Softmax, and memory states) and optimizer states are kept in FP32.\nA soft cap is applied to the memory output gate, with a limit of 2.0, for training stability. We use a WSD\nlearning rate scheduler for MemT-1.0-Nano training. During CPT, we warm up for 600 steps to a learning\nrate of 1 × 10−4 , and keep the peak rate constant for the remaining steps. During post-training, we warm up\nfor 500 steps to 1 × 10−4 , keep it constant, and apply cosine decay over the final 1,000 steps to a minimum\nlearning rate of 5 × 10−6 . For MemT-1.0-Flash, we initialize from the prepared backbone and use a global\nbatch of 192 packs, with the same 64K maximum pack length and 2K-token storage steps. Memory training\nuses the online backbone teacher with Top-64 targets, temperature 1, and KL loss. The learning-rate schedule\nhas a peak of 8 × 10−5 , a 100-step warmup, and a planned cosine decay over the final steps.\n\n4\n\nSystem and Infrastructure\n\nEach interaction in MemT-1.0 depends on memory accumulated from earlier steps. Training must combine\nthese dependencies with batched GPU computation, while inference must maintain an independent evolving\nstate for each trajectory. Our infrastructure executes the model one decoder layer at a time, handles state\nrecurrence within memory blocks, and manages model weights separately from trajectory-specific states. We\ndescribe the resulting training schedule, memory operators, and online state organization below.\n4.1\n\nDistributed Training\n\nTraining packs combine independent trajectories, each containing the steps defined in Section 3. Attention\nstays within each step, while memory carries information between steps of the same trajectory and resets at\ntrajectory boundaries. Teacher forcing supplies all tokens in the pack, so the model processes the complete\npack one decoder layer at a time. Within each layer, attention and memory projections are batched across\ntokens. The memory block alone advances state along each trajectory. This organization retains large backbone\nmatrix multiplications while preserving the order of memory writes and reads.\nWe use Megatron-Core [23] and Bridge [24] for distributed training, including expert parallelism for the\nbackbone MoE layers. Although backbone weights are frozen during memory training, gradients still pass\nthrough backbone computations and memory transitions, allowing later predictions to train earlier writes. The\nremaining infrastructure challenge is therefore the cost of memory computation and its training activations,\nwhich we address below.\n\n14\n\n\f4.2\n\nEfficient Operators\n\nNative memory introduces two related costs: ordered state updates and activations that grow with the number\nof memory experts. Our execution separates state updates from reads of step snapshots, then groups complete\nsteps into windows to limit the lifetime of expert projections. This lets the memory branch control its working\nset while the backbone continues to process the full token pack layer by layer.\nChunked updates and snapshot reads. The stable update has a rank-one structure.\nSuppressing layer,\n√︁\nstep, and channel indices, let k𝑖 denote the normalized key, and define u𝑖 = β𝑖 ⊙ k𝑖 , z𝑖 = ω𝑖 ⊙ v𝑖 , and\nD𝑖 = Diag(exp(λ𝑖 )). The update in Section 2 can then be written as\n\u0001\nS𝑖 = D𝑖 S𝑖−1 + u⊤\nS0 = M𝑡 , M𝑡+1 = S 𝐿𝑡 .\n𝑖 z𝑖 − u𝑖 D𝑖 S𝑖−1 ,\nEach token requires a vector–matrix multiplication and an outer product, with leading work of 𝑂 (𝑑 𝑘 𝑑 𝑣 ) per\nchannel. We use chunked WY [25] to group these small dependent updates into triangular solves and matrix\nmultiplications, carrying state between chunks and reconstructing intermediate quantities during backward.\nThe adaptation to MemT-1.0 is to pair this writer with a separate snapshot reader: all queries in step 𝑡 read the\nsame incoming state M𝑡 , even as the writer processes several chunks to form M𝑡+1 . The reads can therefore\nbe batched independently, followed by RMSNorm and SoftCapSiLU output gating. Gradients from later reads\npropagate through the writes that produced their snapshots. Writer chunks determine computation granularity,\nand model steps determine when updated memory becomes visible.\nComplete-step windows for MoS. Dense MoS evaluates every expert, so materializing all expert projections\nat once requires tensors that grow with both pack length and expert count. Whole-pack execution does exactly\nthis: it projects every token in the pack before processing the resulting memory computations. Windowed\nexecution instead performs expert projections, state updates, and readout fusion for one group of complete\nsteps at a time, passing a differentiable FP32 final state to the next window. Both schedules use the same\nstorage and utilization routers, shared expert addresses, and update kernel. Storage probabilities modulate the\nerase gate, write gate, and log-decay. Utilization probabilities mix the gated expert readouts.\nA window budget limits how many tokens are projected together, while keeping each step intact even if it\nexceeds the budget. Recomputing internal intermediates during backward [26] avoids retaining all windows’\nexpert projections for the full training pass. Smaller windows reduce live intermediates but require more\nlaunches and recomputation. Outputs, routing probabilities, and boundary states still occupy memory, so the\ntotal remains dependent on pack length as well as window size.\nThe memory–time tradeoff of window size. We measure one complete MoS memory block on a single GPU\nusing synthetic hidden-state inputs. Table 1 fixes a 32K-token pack, BF16 parameters and projections, and\n2048-token steps, comparing peak allocated memory and forward-plus-backward (F+B) time for two window\nsizes. Arrows denote whole-pack execution → windowed execution; all values are medians.\nTable 1 Memory-time tradeoff for one MoS memory block on a single GPU at a 32K-token pack length. Arrows\ndenote whole-pack to windowed execution. The values are medians.\nWindow size\n(complete steps)\n\nPeak memory\n(GiB)\n\nMemory\nreduction\n\n2048 tokens (1 step)\n4096 tokens (2 steps)\n\n47.83 → 6.03\n47.83 → 9.49\n\n87.4%\n80.1%\n\nF+B\n(ms)\n462.7 → 493.5\n463.0 → 470.6\n\nTime\nincrease\n6.6%\n1.6%\n\nIn this configuration, processing two steps at a time reduces peak memory by approximately 80%, with a 1.6%\nincrease in median F+B time. Shrinking the window to one step saves additional memory but raises the time\n15\n\n\fincrease to 6.6%. The window budget thus provides a direct resource tradeoff: smaller windows reduce live\nintermediates, while larger windows reduce execution overhead. Appendix F provides the block configuration,\nmeasurement protocol, and full results and variability from 8K to 32K.\n4.3\n\nStateful Inference and Serving\n\nDuring online interaction, backbone and hyper memory weights remain fixed and are shared across trajectories,\nwhile each trajectory maintains its own dynamic memory states. Within a step, generation reads the incoming\nmemory snapshot, and attention over the current text uses that step’s KV cache. Once the interaction completes,\nstorage incorporates the input and response into memory for the next interaction. The serving runtime manages\nstates by trajectory so that subsequent requests continue their respective histories.\nFor a fixed configuration, the number of memory-state elements per trajectory is\n∑︁\n𝑁state =\n𝐸 𝑙 𝐻 𝑘𝑣,𝑙 𝑑 𝑘,𝑙 𝑑 𝑣,𝑙 ,\n𝑙\n\nwhere the sum covers memory layers and 𝐸 𝑙 = 1 without MoS. Growing history updates these elements while\ntheir number remains determined by configured memory capacity. Total storage for multiple trajectories grows\nwith trajectory count. Active requests additionally require their current-step KV caches and computational\nworkspaces. Persistent-state storage can thus be estimated directly from the memory configuration, whereas\nruntime GPU memory also includes shared weights and active requests. The effect of finite capacity on\nretained historical detail is examined in the capability evaluations and Discussion.\nThis organization separates history preparation from subsequent queries. In Evaluation’s two-GPU, singlerequest BEAM experiment, MemT-1.0-Nano’s query latency after history preparation remains nearly constant\nas history grows. At 64K tokens of history, MemT-1.0-Nano achieves an approximately 33× reduction in\nlogical per-trajectory state size compared with full context. The storage metric measures the logical state size\nafter history preparation and before querying, and excludes shared weights. When subsequent queries reuse\nthat state, the initial preparation cost is amortized over multiple interactions. The full protocol and curves\nappear in Section 6 and Appendix D.5.\n\n5\n5.1\n\nMemory Scaling Behavior\nOverview\n\nScaling has been a key driver behind the continuous improvement of foundation models, where increasing\nmodel capacity, training data, and computation often leads to predictable gains in general capabilities [11].\nHowever, for memory foundation models, it remains unclear whether native memory capabilities exhibit\nsimilar scaling behavior. Exploring such scaling behavior is critical, as it reveals whether memory capability\ncan continue to improve with scale and provides guidance for the design of larger memory foundation models.\nIn particular, memory-related training and the capacity of native memory states are two important factors that\nmay influence memory capability, motivating us to explore scaling behavior along these two aspects.\nIn this work, we study memory scaling along both dimensions. Data and training scaling explores how memory\ncapability changes with continued exposure to memory-related post-training data, while memory capacity\nscaling studies the impact of increasing the capacity of native memory states. They allow us to characterize\nhow native memory capability evolves with additional training and expanded memory capacity.\n\n16\n\n\fLoCoMo\n\nAverage Score ↑\n\nLoCoMo Score ↑\n\nAverage\n\n0\n\n0.25\n\n0.5\n\n0.75\n\n1.0\n\n1.25\n\n1.5\n\n1.75\n\n2.0\n\nPost-training Epochs\nFigure 6 Data and training scaling of MemT-1.0-Nano. Memory performance over two consecutive post-training\nepochs. Blue circles show the average score on the left axis, and red squares show LoCoMo accuracy on the right axis.\n\n5.2\n\nScaling Protocol\n\nWe conduct all scaling experiments based on MemT-1.0-Nano under a controlled experimental protocol. We\nexplore two scaling aspects, including data and training scaling and memory capacity scaling. The backbone\narchitecture, training objectives, and evaluation protocol are kept consistent across different configurations\nunless otherwise specified. We evaluate memory capability using the same memory benchmarks to characterize\nperformance changes across different scales.\nSpecifically, for data and training scaling, we evaluate checkpoints along a continuous post-training trajectory\nspanning two consecutive epochs over the same corpus. The model architecture and training corpus remain\nfixed, while cumulative training exposure and optimization steps increase throughout training. For memory\ncapacity scaling, we vary the number of memory experts in MoS to expand native memory capacity, while\nkeeping the remaining architectural components and training configurations consistent. By examining\nthe resulting performance curves, we investigate how native memory capability evolves with additional\npost-training and increased memory capacity.\n5.3\n\nData and Training Scaling\n\nWe explore whether additional exposure to memory-related post-training data improves memory capability\nat a fixed model capacity. Starting from the CPT checkpoint, we follow a single MemT-1.0-Nano training\ntrajectory for two epochs over the same post-training corpus. Figure 6 shows that memory performance\ngenerally improves with additional post-training. Across the sampled checkpoints, the average score increases\nfrom 36.65 to 46.80, with intermediate fluctuations. Most of this gain arrives early: the average score rises\nsteeply within the first quarter epoch and continues to climb over the remainder of the first epoch, reaching\n45.40 by its end, while LoCoMo improves from 40.39 to 55.39 over the same span. This pattern is consistent\nwith rapid adaptation of the CPT-initialized memory modules to downstream query answering, after which the\nincrements shrink steadily but do not disappear. In the second epoch, the final sampled checkpoint reaches\n46.80 on average and 57.53 on LoCoMo, an improvement over the last sampled checkpoint of the first epoch\ndespite intermediate fluctuations. These gains indicate remaining room for optimization at fixed memory\ncapacity, even when training revisits previously seen data. In summary, continued exposure to memory-related\npost-training data can improve native memory capability, with further gains achievable across epochs without\nincreasing model capacity.\n\n17\n\n\f2 Expert(Average)\n\n4 Expert(Average)\n\n2 Expert(LoCoMo)\n\n4 Expert(LoCoMo)\n\n60\n\nScore ↑\n\n55\n\n53.51\n\n55.58\n\n50.26\n\n50\n44.03\n\n45\n40\n\n53.38\n\n45.45\n\n39.65 40.06\n\n35\n\n200\n\n42.28\n\n44.68\n\n44.29\n41.99\n\n3400\n\n5500\n\nPost-training steps\nFigure 7 Memory capacity scaling during post-training after 400 CPT steps. We compare MoS configurations with 2\nand 4 memory experts at matched post-training steps, reporting the average score and the LoCoMo score.\n\n5.4\n\nMemory Capacity Scaling\n\nFollowing 400 steps of CPT, we explore memory capacity scaling during post-training by comparing MoS\nconfigurations with 2 and 4 memory experts. We evaluate both of them at 200, 3,400, and 5,500 post-training\nsteps, reporting the average score alongside the LoCoMo score. The results are presented in Figure 7. The\n4-expert configuration consistently outperforms the 2-expert configuration across all three checkpoints, with\nrelatively modest gains of 0.41 points in the average score and 1.42 points on LoCoMo at 200 post-training\nsteps. At 3,400 and 5,500 steps, increasing the number of experts improves the average score by 2.01 and 2.69\npoints, respectively, and LoCoMo by 3.25 and 2.20 points. The 4-expert configuration continues to improve\nbetween these later checkpoints, with its average score increasing from 44.29 to 44.68 and its LoCoMo score\nrising from 53.51 to 55.58. These results suggest that expanding memory capacity through additional experts\nbenefits downstream performance, with larger gains at the later post-training checkpoints than at 200 steps.\n\n6\n6.1\n\nEvaluation\nOverall Evaluation Setup\n\nWe evaluate MemT-1.0 from the perspectives of memory and general capabilities. The memory evaluation\nfocuses on whether MemT-1.0 can answer questions based on its dynamic memory states, without access\nto prior textual context. The evaluation on general capabilities examines the impact of the additional native\nmemory mechanism on the model’s general capabilities. These aspects provide an important foundation for\nself-evolving memory-native models.\nBenchmarks. We evaluate memory capabilities on 11 benchmarks and divide them into four groups according\nto trajectory length. Specifically, the group below 16K includes MemBench [27] and ImplicitMemBench [28],\nand the 16K-32K group includes PersonaMem [29], PS-Bench [30], and LoCoMo [31]. For longer trajectories,\nthe 32K-64K group includes PerMemSafe [32], Memora [33], and MemOps [34], and the group above\n64K includes LongMemEval-S [35], MemoryAgentBench [36], and BEAM-1M [37]. These benchmarks\nfocus on long-term information retention and retrieval, dynamic memory updating and management, and\npersonalized understanding. In addition, we evaluate general capabilities on six benchmarks spanning four\nmajor dimensions. Specifically, we evaluate knowledge and scientific reasoning with MMLU-Pro [38] and\nGPQA Diamond [39], instruction following with IFEval [40], long-context understanding with LongBench\n\n18\n\n\fv2 [41], and code generation with BigCodeBench-Hard [42] and LiveCodeBench v6 [43]. These benchmarks\ncollectively assess a wide range of general capabilities, thereby reflecting the impact of the additional native\nmemory mechanism on the underlying backbone model. More details are available in Appendix D.1.\nBaselines. We compare MemT-1.0 with textual memory and parametric memory approaches. Textual memory\nmethods perform inference based on the original backbone model with full context and partial context settings.\nFull context provides the complete historical text as memory in the input context, while DenseRAG retrieves a\nsubset of relevant information as contextual evidence [44]. We also include representative memory systems\nfor comparison, including MemOS [45], Mem0 [46], OpenViking [47], and Graphiti [48]. For parametric\nmemory methods, no textual history is provided in the context, and the model performs inference using its\nown parametric memory. Our parametric memory baselines include Temp-LoRA [49], Doc-to-LoRA [50],\nSHINE [51], 𝛿-mem [52], LiveMem [53], MemoryLLM [54] and ICAE [55]. More details of the baselines\nare provided in Appendix D.2.\nEvaluation Protocol. For memory capability evaluation, in each trajectory, we first reset the memory and\nwrite the historical information into memory following the chronological order. Then, the model is required to\nanswer multiple questions related to the historical information, and the responses are compared against the\nground-truth answers to compute accuracy. Specifically, memory is strictly isolated across different users\nand histories. Ground-truth answers, evidence annotations, and evaluation labels are only used for scoring\nand are never exposed to the evaluated models. For LLM-as-a-Judge, we utilize gpt-4.1-mini with the\nOmniMemEval [56] prompt. For general capability evaluation, we introduce irrelevant information before\ninference, which aims to examine how the native memory mechanism affects the model’s general capabilities\nunder the noise setting. More details are available in Appendix D.4.\n6.2\n\nMemory Capabilities\n\nThe results for memory capabilities are presented in Table 2. MemT-1.0-Flash and MemT-1.0-Nano achieve\naverage scores of 50.6 and 47.0, respectively, ranking first and second among the parametric memory methods,\nahead of the strongest parametric baseline by 12.5 and 8.9 points. The results support native memory as a\nshared representation for diverse memory tasks without providing historical text in the query context. The\ncomparison between MemT-1.0-Flash and MemT-1.0-Nano reveals distinct strengths across tasks, though the\naggregate gap between them remains modest and is driven mainly by memory operations. MemT-1.0-Flash\nimproves most clearly on memory operations, personalized understanding, conversational recall, and implicit\nlearning. MemT-1.0-Nano remains stronger on PerMemSafe and Memora, whereas MemT-1.0-Flash scores\nhigher on Persona-grounded PS-Bench. The advantage over parametric memory baselines also extends to\nlong histories, where MemT-1.0 leads this group on LongMemEval-S, MemoryAgentBench, and BEAM-1M.\nHowever, the remaining errors on these benchmarks show that processing an extended trajectory does not by\nitself ensure reliable access to its contents. Answering later queries requires earlier information to survive\nsuccessive updates and remain distinguishable from other stored associations. The results motivate further\nimprovements in selective retention and query-dependent readout.\nThe strongest textual memory systems still achieve substantially higher performance, particularly on\nLongMemEval-S and BEAM-1M. These systems provide explicit historical evidence at query time, whereas\nMemT-1.0 must recover the required information from its evolving states. This gap is consistent with the\ndifficulty of preserving detailed evidence through recurrent memory updates and highlights memory fidelity\nas an important target for further development.\n\n19\n\n\fTable 2 Memory capability evaluation across 11 benchmarks. Benchmarks are grouped according to trajectory length.\nDS indicates DeepSeek-V4-Flash, while QW means Qwen3.6-35B-A3B. Bold and underlined values indicate the best\nand second-best results within each memory category, respectively.\n&lt; 16K\nMB\nIM\n\nPM\n\nMemOS\n\nDS\nQW\n\n78.4\n79.9\n\n68.2\n61.1\n\n67.1\n67.6\n\n92.9\n97.3\n\n85.7\n83.4\n\n45.9\n54.7\n\nMem0\n\nDS\nQW\n\n75.8\n78.5\n\n45.9\n60.4\n\n67.2\n63.2\n\n89.4\n97.3\n\n79.0\n80.9\n\nOpenViking\n\nDS\nQW\n\n75.7\n76.8\n\n41.4\n53.0\n\n65.4\n61.6\n\n95.4\n95.9\n\nGraphiti\n\nDS\nQW\n\n49.6\n61.9\n\n39.4\n34.9\n\n53.7\n49.8\n\nFull Context\n\nDS\nQW\n\n83.2\n84.3\n\n58.0\n53.6\n\nDenseRAG\n\nDS\nQW\n\n69.3\n67.1\n\nMemT-1.0-Flash\nMemT-1.0-Nano\n\n–\n–\n\nTemp-LoRA\nDoc-to-LoRA\nSHINE\n𝛿-mem\nLiveMem-RL\nMemoryLLM\nICAE\n\n–\n–\n–\n–\n–\n–\n–\n\nMethod\n\nBackbone\n\n32–64K\nMMR MO\n\nLME\n\n&gt; 64K\nMAB BEAM\n\nAll\nAVG\n\n55.5\n52.6\n\n77.0\n82.6\n\n83.2\n80.8\n\n27.8\n21.8\n\n72.6\n71.3\n\n68.6\n68.5\n\n66.0\n54.9\n\n47.5\n41.4\n\n75.7\n79.4\n\n72.6\n78.9\n\n30.3\n20.6\n\n71.4\n70.3\n\n65.5\n66.0\n\n79.1\n72.9\n\n53.2\n53.7\n\n53.4\n51.5\n\n77.3\n81.7\n\n75.0\n82.0\n\n28.2\n23.2\n\n71.9\n67.3\n\n65.1\n65.4\n\n89.0\n96.5\n\n66.7\n50.6\n\n30.8\n24.5\n\n26.2\n23.0\n\n51.1\n47.4\n\n57.0\n38.1\n\n19.9\n15.5\n\n60.4\n60.6\n\n49.4\n45.7\n\n65.2\n65.2\n\n97.4\n98.7\n\n79.9\n83.8\n\n32.3\n44.8\n\n51.7\n49.8\n\n88.7\n92.4\n\n77.8\n76.8\n\n36.0\n35.9\n\n44.7\n43.7\n\n65.0\n66.3\n\n55.0\n52.2\n\n59.4\n60.3\n\n89.1\n97.7\n\n58.3\n61.1\n\n55.5\n45.2\n\n31.4\n31.3\n\n68.5\n70.6\n\n69.4\n70.8\n\n30.5\n28.2\n\n43.7\n37.1\n\n57.3\n56.5\n\n73.5\n71.8\n\n49.2\n43.1\n\n61.6\n52.3\n\n97.5\n95.7\n\n65.1\n57.5\n\n33.5\n38.7\n\n20.5\n23.9\n\n64.1\n49.9\n\n37.2\n32.6\n\n17.4\n15.5\n\n37.0\n35.8\n\n50.6\n47.0\n\n44.3\n57.2\n40.7\n37.5\n35.7\n22.7\n31.9\n\n32.0\n42.4\n20.2\n29.9\n23.3\n17.8\n24.5\n\n57.4\n34.0\n39.9\n46.9\n46.0\n41.1\n17.8\n\n98.0\n70.2\n63.3\n90.8\n82.0\n37.4\n70.4\n\n25.1\n24.5\n26.7\n20.3\n24.4\n46.6\n22.4\n\n35.7\n16.5\n4.40\n20.1\n10.5\n3.33\n2.80\n\n16.2\n15.3\n16.7\n17.9\n16.4\n16.3\n11.4\n\n52.5\n36.0\n39.6\n40.9\n39.8\n46.8\n40.4\n\n13.4\n14.6\n13.8\n14.8\n14.6\n15.6\n11.0\n\n12.0\n3.54\n6.15\n7.13\n7.27\n6.26\n7.35\n\n32.3\n26.0\n9.58\n17.0\n27.1\n24.0\n11.7\n\n38.1\n30.9\n25.6\n31.2\n29.7\n25.3\n22.9\n\n16–32K\nPSB LCM\n\nPMS\n\nTextual Memory\n\nParametric Memory\n\nAbbreviations. MB: MemBench; IM: ImplicitMemBench; PM: PersonaMem; PSB: PS-Bench; LCM: LoCoMo; PMS: PerMemSafe;\nMMR: Memora; MO: MemOps; LME: LongMemEval-S; MAB: MemoryAgentBench; BEAM: BEAM-1M.\n\n6.3\n\nGeneral Capabilities\n\nWe evaluate general capabilities under the noise setting. In this setting, we inject irrelevant information into\nmemory before the evaluation tasks, which simulates the impact of distracting memories during real-world\nonline interactions. We report the performance gap between MemT-1.0 and its corresponding backbone model\nunder the noise setting. The results are presented in Table 3.\nMemT-1.0-Flash performs comparably to its DeepSeek-V4-Flash backbone on average under the same noise\nsetting. The largest gain occurs on BigCodeBench-Hard, with smaller improvements on IFEval and LongBench\nv2. Performance decreases modestly on MMLU-Pro, GPQA Diamond, and LiveCodeBench v6. These results\nsuggest that MemT-1.0-Flash broadly preserves general capabilities under distracting memories.\nWe next examine MemT-1.0-Nano, whose average decrease is around one point. Under the noise setting,\nmost benchmarks remain close to the backbone, with gains on IFEval and BigCodeBench-Hard. The\ndegradation is concentrated rather than uniform. The largest decrease occurs on LiveCodeBench v6, followed\nby smaller decreases on LongBench v2, MMLU-Pro, and GPQA Diamond. The contrasting changes on\nBigCodeBench-Hard and LiveCodeBench v6 further suggest that the impact varies even across benchmarks\n\n20\n\n\fTable 3 General capability evaluation under the backbone and noise settings. MemT-1.0 results report score differences\nrelative to the corresponding backbone under the same setting.\nModel\n\nMP\n\nGPQA\n\nDeepSeek-V4-Flash\nQwen3.6-35B-A3B\n\n85.7\n84.6\n\n91.2\n83.9\n\nIFE\n\nLB\n\nBCB-H\n\nLCB-v6\n\nAVG\n\n63.0\n57.3\n\n35.8\n27.0\n\n87.5\n88.0\n\n76.1\n71.9\n\n64.2\n+0.2\n55.7\n−2.0\n\n32.4\n+2.0\n25.7\n+2.0\n\n89.2\n−0.7\n88.1\n−5.8\n\n75.4\n0.0\n70.5\n−0.9\n\nBackbone\n93.5\n90.6\nNoise Setting\nDeepSeek-V4-Flash\nMemT-1.0-Flash\nQwen3.6-35B-A3B\nMemT-1.0-Nano\n\n83.8\n−1.8\n84.4\n−1.6\n\n89.6\n−0.6\n80.1\n−1.5\n\n93.0\n+0.9\n89.3\n+3.3\n\nAbbreviations. MP: MMLU-Pro; GPQA: GPQA Diamond; IFE: IFEval; LB: LongBench v2; BCB-H: BigCodeBench-Hard;\nLCB-v6: LiveCodeBench v6. AVG is the unweighted average across the six benchmarks. For MemT-1.0, values denote score-point\ndifferences relative to the corresponding backbone under the noise setting. Green indicates a decrease, while red indicates an increase.\n\nwithin the same capability domain.\nOverall, the results support broad capability preservation alongside native memory, while highlighting that\nresistance to distracting memories should be evaluated at the task level.\n6.4\n\nAblation Studies\n\nIn this section, we further present several ablation studies based on MemT-1.0-Nano during model development.\nAs for the model architecture, we focus on the update rule and update granularity in the native memory\nprocedure. We also design a bidirectional encoding mechanism to aggregate information from the current\nturn. In addition, we study the contribution of different training stages. These experiments further verify the\neffectiveness of our current architecture.\n6.4.1\n\nArchitecture Ablation\n\nFor architecture ablation, we evaluate four variants. First, we remove the stable mechanism to recover the\nGDN-2 memory update (w/ GDN-2) by directly using\nh\n\u0010\n\u0011i\n\u0010\n\u0011\n(𝑙)⊤\n(𝑙)\n(𝑙)\n(𝑙)\n(𝑙)\n(𝑙)⊤\n(𝑙)\n(𝑙)\nM̃𝑡(𝑙)\n=\nI\n−\nK\nβ\n⊙\nK\n·\nD\nM̃\n+\nK\nω\n⊙\nV\n,𝑖,ℎ\n𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ 𝑡 ,𝑖−1,ℎ\n𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ\n𝑡 ,𝑖,ℎ .\nWe also change the update rule into GDN [57] as another ablation baseline (w/ GDN). Second, we change the\nupdate granularity from token-level to turn-level (w/ TL). The storage procedure can be defined as\n\u0014\n\u0015\n\u0011\n1 (𝑙)⊤ (𝑙)\n1 (𝑙)⊤ \u0010 (𝑙)\n(𝑙)\n(𝑙)\n(𝑙)\nM𝑡+1,ℎ = I − U𝑡 ,ℎ U𝑡 ,ℎ · D𝑡(𝑙)\nM\nU\nω\n⊙\nV\n+\n,ℎ 𝑡 ,ℎ\n𝑡 ,ℎ\n𝑡 ,ℎ ,\n𝐿𝑡\n𝐿 𝑡 𝑡 ,ℎ\nwhere we have\n\n\"\nD𝑡(𝑙)\n,ℎ = Diag\n\n𝐿\n\n𝑡\n1 ∑︁\nλ𝑡(𝑙)\nexp\n𝐿 𝑡 𝑖=1 ,𝑖,ℎ\n\n!#\n.\n\nWe also evaluate a bidirectional encoding (w/ BE) for information aggregation. Specifically, during the storage\nprocedure in each turn, it first projects the pre-attention hidden states H̃𝑡(𝑙) into a lower-dimensional space, and\napplies multi-head self-attention with rotary position embeddings without a causal mask. After that, it projects\n21\n\n\fTable 4 Architecture and training ablations of MemT-1.0-Nano. Bold and underlined values indicate the best and\nsecond-best results, respectively. Δ AVG denotes the score difference relative to MemT-1.0-Nano.\n&lt; 16K\nMB\nIM\n\nPM\n\nMemT-1.0-Nano\n\n71.8\n\n43.1\n\n52.3\n\n95.7\n\nw/ GDN-2\n\n71.6\n\n43.7\n\n55.7\n\n96.2\n\n57.3\n\nw/ GDN\n\n72.3\n\n41.9\n\n54.5\n\n98.3\n\nw/ BE\n\n73.9\n\n44.7\n\n54.3\n\n94.9\n\nw/ TL\n\n69.1\n\n39.5\n\n52.1\n\nw/o CPT\n\n69.8\n\n37.4\n\nw/o PT\n\n66.2\n\n38.7\n\nVariant\n\n16–32K\nPSB LCM\n57.5\n\nPMS\n38.7\n\n32–64K\nMMR MO\n\nLME\n\n&gt; 64K\nAll\nMAB BEAM AVG Δ AVG\n\n49.9\n\n32.6\n\n15.5\n\n35.8\n\n47.0\n\n0.0\n\n49.2\n\n29.4\n\n14.4\n\n34.6\n\n46.4\n\n−0.5\n\n23.9\n\nArchitecture Ablation\n36.9\n\n21.7\n\n57.5\n\n40.9\n\n20.3\n\n50.6\n\n30.0\n\n13.4\n\n34.2\n\n46.7\n\n−0.3\n\n55.4\n\n40.8\n\n16.3\n\n45.5\n\n25.6\n\n14.4\n\n34.0\n\n45.4\n\n−1.5\n\n97.5\n\n52.9\n\n36.4\n\n17.2\n\n38.3\n\n25.0\n\n5.5\n\n17.4\n\n41.0\n\n−6.0\n\n54.7\n\n96.8\n\n55.5\n\n35.3\n\n18.7\n\n50.2\n\n27.0\n\n13.4\n\n34.7\n\n44.9\n\n−2.1\n\n41.3\n\n90.2\n\n40.4\n\n26.3\n\n16.1\n\n24.6\n\n13.8\n\n12.2\n\n29.4\n\n36.3\n\n−10.7\n\nTraining Ablation\n\nthe result back to the backbone dimension through a residual connection. The enriched representations are\nused to predict the erase, write, and forget gates, while the memory keys and values are still projected from the\noriginal pre-attention hidden states.\nAs shown in Table 4, the update granularity has the largest effect among the architecture variants. Replacing\ntoken-level with turn-level aggregation reduces the average from 46.97 to 40.98, a far larger drop than any\nchange to the update rule. This may be because successive token-level updates can better account for memory\ndecay and revise associations established earlier within the same turn. The update-rule variants, by contrast,\nstay close to the full model, with removing the stable mechanism giving 46.43 and substituting GDN giving\n46.72. Both fall within a narrow band around the baseline, so the aggregate capability is not determined by\nthe precise form of the update rule. Adding bidirectional encoding reduces the average to 45.43. Its effect is\nbenchmark-dependent rather than uniformly negative: MB, IM, PM, and PMS improve, whereas the remaining\nbenchmarks regress. Under the evaluated training budget, bidirectional encoding does not improve aggregate\nmemory performance, and its benchmark-specific gains do not offset the losses elsewhere.\n6.4.2\n\nTraining Ablation\n\nWe further conduct ablation studies on our training procedures. For the w/o CPT setting, we skip CPT and\ndirectly train the memory parameters through post-training alone. For the w/o PT setting, we evaluate the\ncheckpoint after continued pre-training without subsequent post-training. From the results in Table 4, we find\nthat post-training plays an important role in memory-specific tasks, where it increases the average score by\napproximately 10.69 points over the CPT checkpoint. These results indicate that language-modeling CPT\nalone does not provide the same memory-conditioned response capability as the complete pipeline. In addition,\nthe CPT stage improves post-training as well. Therefore, post-training accounts for the larger observed gain in\nthis comparison, while CPT provides an additional aggregate benefit as an initialization stage.\n6.5\n\nEnd-to-End Inference Efficiency\n\nWe further evaluate the end-to-end inference efficiency of MemT-1.0 against baseline methods, with a particular\nfocus on the results as the history length increases. Specifically, we compare MemT-1.0-Nano with full context,\n𝛿-mem, and Temp-LoRA on BEAM. Full context, Temp-LoRA and MemT-1.0-Nano use HF inference on two\nGPUs exclusively allocated to each run, with backbone layers distributed across devices, a concurrency of 1,\nand a batch size of 1. For 𝛿-mem, we use its publicly released model and implementation.\n22\n\n\fδ-mem\n\nTemp-LoRA\n\n102\n\n101\n512\n\n2K\n\n8K\n\n32K\n\n64K\n\nHistory length (tokens)\n\n400\n300\n200\n100\n0\n\n128K 256K\n\nMemT-1.0-Nano\n\n500\n\n103\n\nQuery TTFT (ms)\n\nEnd-to-end latency (s)\n\nFull Context\n\n512\n\n2K\n\n8K\n\n32K\n\n64K\n\nHistory length (tokens)\n\n128K 256K\n\nFigure 8 Left: End-to-end latency includes history preparation and generation of a 128-token response. Right: Query\nTTFT measures the time from query execution to the first generated token, excluding history preparation.\n\nWe construct input sequences with varying history lengths based on BEAM. The query uses shared 512-token\ncontent, with the chat template added separately, rather than a benchmark question, and each sequence is treated\nindependently. We evaluate a fixed generation length of 128 tokens by forcing the model to decode exactly\n128 tokens while ignoring the end-of-sequence signal. For the HF evaluations, synchronized wall-clock timers\nexclude model loading, input tokenization, and evaluation-related scoring overhead. For each history and\nlength, we measure preparation once, discard one query warm-up, and average five timed queries. Reported\ncurves average the resulting values across 35 histories. For MemT-1.0-Nano, history content is processed in\n2,048-token slices, with each chat-formatted chunk capped at 2,048 tokens.\nThe reported end-to-end latency includes history preparation and response generation, accounting for indexing,\ntest-time adaptation, or memory writes as applicable. We additionally report query time to first token (TTFT),\nmeasured from the start of query execution to the first generated token, including query prefilling but excluding\nhistory preparation. For full context and MemT-1.0-Nano, both end-to-end latency and TTFT include state\nrestoration. The HF full-context baseline reuses the prepared history cache. We report results over the\ncommon history-length range from 512 to 256K tokens. Figure 8 presents the results. MemT-1.0-Nano\nachieves an end-to-end advantage over full context at long histories. It is generally slower at short histories\nand approximately matches full context at 32K tokens, reaching speedups of approximately 1.20× at 64K,\n1.86× at 128K, and 3.99× at 256K. Its memory storage procedure processes history incrementally; generation\nthen accesses the resulting state without retaining historical tokens in the attention context. In comparison, the\nfull-context baseline incurs both history prefilling and continued attention over historical KV entries during\ngeneration. The measured long-history end-to-end advantage primarily reflects lower history-preparation cost.\nThe query TTFT curves reveal an additional benefit after history preparation. MemT-1.0-Nano maintains\nbroadly stable mean query TTFT of approximately 104–112 ms across the evaluated range, while full-context\nTTFT rises to approximately 257 ms at 128K tokens and 445 ms at 256K tokens. MemT-1.0-Nano’s behavior\nis consistent with a fixed-size memory readout whose state dimensions do not grow with the number of\nhistorical tokens processed. For persistent interactions, it allows accumulated history to influence responses\nwithout progressively increasing the attention context used for each new query. The benefit concerns access\nto the stored representation, and the memory-capability results above already show that this representation\npreserves useful information. At 128K and 256K tokens, MemT-1.0-Nano achieves query TTFT speedups of\napproximately 2.44× and 4.19×, respectively, over cached full-context inference.\nPreviously collected results for the parametric memory baselines highlight the importance of accounting for\npreparation costs. Temp-LoRA maintains stable query TTFT, but its end-to-end cost grows substantially\nbecause history-specific adaptation requires optimization. Although 𝛿-mem has the lowest query TTFT, its\n23\n\n\fFigure 9 Results of storage overhead. Per-trajectory persistent storage on BEAM histories of increasing length.\n\nend-to-end latency exceeds Nano’s from 64K tokens onward as history-preparation cost grows. Absolute\nlatency differences across these systems also reflect their backbone, runtime, and tokenization configurations.\nThese results show the value of efficient memory construction together with predictable query TTFT. Reusing\na prepared state amortizes its construction cost over multiple queries.\n6.6\n\nStorage Overhead\n\nWe evaluate the per-trajectory storage overhead on BEAM histories, after history preparation and before\nquerying. The reported storage size is the logical size in bytes of the per-trajectory state. The shared backbone\nweights, embedders and hyper memory parameters are excluded from the measurement. More details can be\nfound in Appendix D.5, and the results are presented in Figure 9.\nFigure 9 shows a clear difference between retaining historical records and maintaining a fixed-size state. Full\ncontext incurs increasing storage as its logical state size grows with the visible history. DenseRAG has a much\nsmaller storage overhead at short histories, but its stored texts and retrieval vectors also accumulate as more\ninformation is added. In contrast, MemT-1.0-Nano’s memory state storage remains constant throughout the\ntrajectory, because new information updates memory states without enlarging them. At a history length of\n128K tokens, MemT-1.0-Nano achieves an approximately 66× reduction in per-trajectory storage compared\nwith the full context setting. Temp-LoRA also exhibits constant storage, since its adapter dimensions are fixed,\nalthough its storage overhead is larger than MemT-1.0-Nano’s in the evaluated configuration.\nThe comparison with DenseRAG illustrates how the storage advantage depends on interaction length. For\nshort histories, storing a small collection of text chunks and embeddings is cheaper than allocating MemT1.0-Nano’s full memory state. As histories grow, DenseRAG’s accumulated records eventually exceed that\nfixed allocation. MemT-1.0-Nano therefore becomes more attractive for persistent sessions with extended\ninteraction histories, where additional turns do not increase the size of the saved state. The full context curve\nends at its context-window limit, so its reported storage does not represent retaining the entire longest history.\nFor deployment of MemT-1.0, a constant state size makes per-trajectory logical-state budgets predictable, and\nbounds the logical payload that must be saved or transferred when resuming an interaction. Total storage still\ngrows with the number of independent trajectories and the configured memory capacity.\n\n24\n\n\fAccuracy\n\n0.50\n\n40\n\n0.58\n\n35\n\n0.56\n\n30\n\n0.40\n\n25\n20\n\n0.30\n\n15\n10\n\n0.20\n0.10\n\n0.60\n\n1\n\n2\n\n4\n\n8\n\n16\n\nRank k\n\n32\n\n64\n\n128\n\n256\n\nPersonaMem\n\n45\n\nScore\nTheoretical storage (MiB)\n\n40\n35\n\n0.54\n\n30\n\n0.52\n\n25\n\n0.50\n\n20\n\n0.48\n\n15\n\n0.46\n0.44\n\n10\n\n5\n\n0.42\n\n5\n\n0\n\n0.40\n\n1\n\n2\n\n4\n\n8\n\n16\n\nRank k\n\n32\n\n64\n\n128\n\n256\n\nTheoretical storage (MiB)\n\nScore\nTheoretical storage (MiB)\n\n45\n\nTheoretical storage (MiB)\nAccuracy\n\nLoCoMo\n\n0.60\n\n0\n\nFigure 10 Impact of online low-rank decomposition on memory performance and storage.\n\n6.7\n\nLow-Rank Decomposition\n\nTo further explore the compressibility of memory states based on MemT-1.0-Nano, we perform online low-rank\nprojection for memory states to study their performance impacts. Specifically, we apply singular value\ndecomposition (SVD) to the FP32 state matrix of each layer after each storage procedure, and reconstruct a\ndense state from the retained components for subsequent computation. For a retained rank 𝑘, the reconstructed\nstate is computed as\n⊤\nM𝑡(𝑙)\n,ℎ = 𝑈:,1:𝑘 Σ1:𝑘,1:𝑘 𝑉:,1:𝑘 .\nWe set the rank 𝑘 ∈ {1, 2, 4, 8, 16, 32, 64, 128, 256}, with the full rank 𝑘 = 256 retaining the original dense\nstate without projection. The evaluation is conducted on PersonaMem and LoCoMo. For each retention ratio,\nwe independently initialize the memory state, write the complete history, and apply low-rank reconstruction\nafter every memory storage when 𝑘 &lt; 256.\nFigure 10 shows different results across the two tasks. On LoCoMo, accuracy generally improves as more\nsingular components are retained. The largest gains fall in the middle of the rank range, and the final doublings\nadd progressively less, although the score still improves up to the full rank. The one exception is the smallest\nretained rank, which scores slightly above the next one. At this level of truncation, the small score difference\nalone does not establish an advantage of extreme compression. PersonaMem follows the same shape but\nsaturates much earlier. Its accuracy rises quickly and then flattens out before reaching full rank, with the\nhighest observed accuracy at an intermediate rank and no further improvement once additional components\nare retained. Overall, memory performance improves as the retained rank increases, but the returns diminish\nquickly, and on PersonaMem they eventually vanish. Because theoretical factor storage grows roughly linearly\nwith the retained rank, increasing the rank yields diminishing returns in downstream accuracy.\n\n7\n7.1\n\nApplication in Agentic Tasks\nOverview\n\nIn this section, we investigate the potential of MemT-1.0 for developing self-evolving agents through continual\nlearning. We apply MemT-1.0 to long-horizon agentic tasks, where agents must use environment feedback\nto guide task execution. Real-world agent interactions generate a wealth of trajectories containing valuable\nprocedural experience. Reusing this experience offers a promising path toward improving agent performance\nacross tasks. Current methods typically extract experience from historical trajectories and include it in the\n\n25\n\n\ftextual context of subsequent tasks [58], increasing the burden on an already growing execution context.\nMemT-1.0 can instead store experience in native memory and use it to guide actions in long-horizon tasks.\nWe focus on agentic coding and train MemT-1.0-Nano to apply procedural experience extracted from historical\ntrajectories. We evaluate it on SWE-bench Verified and SWE-bench Multilingual against Qwen3.6-35B-A3B,\nboth without experience and with textual experience. With experience stored before execution, MemT-1.0Nano improves the proportion of tasks solved in all three runs over the backbone without experience by\n7.6 percentage points on SWE-bench Verified and 8.3 points on SWE-bench Multilingual. Results show\nthat MemT-1.0 can improve agentic task performance beyond memory-focused evaluations and support its\npotential as a foundation for self-evolving agents.\n7.2\n\nExperience-Guided Agentic Framework\n\nTo explore this potential, we develop an agentic framework in which MemT-1.0 stores and reuses procedural\nexperience during long-horizon task execution. We construct an experience bank by summarizing historical\nagent trajectories into reusable procedural guidance. As illustrated in Figure 11, the framework retrieves\nrelevant experience from the bank and stores it in either the agent’s textual context or MemT-1.0-Nano’s native\nmemory. The two approaches use the same experience but differ in how it is accessed during task execution.\nExperience Retrieval and Storage. Given a coding task, we retrieve relevant experiences from the experience\nbank using BGE-M3 [59]. Each experience describes its applicable conditions, recommended procedures,\nand verification strategies. The task description serves as the retrieval query, and candidate experiences are\nranked according to embedding similarity. The selected experience is converted into a structured textual\nrepresentation before storage.\nWe consider two experience storage settings. In the Before Execution setting, experience is stored before the\nagent begins execution. In the Harness-Triggered setting, the agent first executes the task independently, and\nexperience is stored when the execution harness detects a critical breakpoint. Such breakpoints are identified\nusing execution feedback, including command failures, empty observations, and repeated unsuccessful\noperations. The detection only relies on information available during execution, without accessing reference\nsolutions. Each trajectory receives at most one experience store operation.\nMemory-Based Experience Application. In the Textual Experience setting, the retrieved experience is\ndirectly inserted into the agent’s message history and remains available through the subsequent context. In the\nNative Memory setting, MemT-1.0-Nano writes the same experience into its native memory state through a\nseparate memory store operation. Specifically, the experience text is processed by a forward pass with memory\nwriting enabled, updating the memory state 𝑀 without modifying the original task context. After the memory\nstore operation, agent actions access the stored experience through memory attention, allowing the experience\nto influence action generation without explicitly appearing in the message history.\nEach execution trajectory maintains an independent memory state. The state is initialized to empty before the\ntask and updated when experience is stored. After storing experience, it remains fixed and is read during\nsubsequent execution until it is reset at the end of the trajectory. This setup evaluates whether a trained\nnative-memory agent can effectively reuse procedural experience without retaining the experience text in the\ntask context.\n7.3\n\nExperience Construction and Model Training\n\nTo enable experience-guided agentic execution through native memory, we construct training data that associate\nreusable procedural experience with successful execution behaviors. The overall data construction consists of\n\n26\n\n\f1\n\nRetrieve &amp; render\n\n2\n\nIssue text\n\nSetting 1: Before Execution\n\nExperience bank\n\n3\n\nChoose when to store\n\nStore &amp; interact\n\nStore experience E\n\nBefore Execution\nStore E\n\nEvaluation group selects candidates\nTop-1\n\nObservation\n\nModel request\n\nTextual Experience\nKeep E in context across turns\n\nAction\n\nObservation oₜ\n\nOR\n\nEmpty\n\nOR\n\nE in context / memory\n\nInforms action selection\n\nRepeat ×3\n\nModel\n\nEnvironment\nExecute action\n\nStore E\n\nProcedures &amp; verification\n\nObservation oₜ₊₁\n\nNext model request\n\nRepeat: t, t + 1, t + 2, …\n\nSelection is independent of trigger scoring\nOne store may contain multiple experiences\n\nRetrieve experience\n\nAction aₜ\n\nSelect next action\n\nYes\n\nApplicability &amp; trigger conditions\n\nMemT-1.0-Nano\nEncode E → update {Mℓ}\nFuse memory with attention output\n\nAvailable at every subsequent model request\n\nTrigger signals (any one)\nFailure\n\nNative memory\n\nOR\n\nMulti-turn model–environment interaction\n\nStore on a trigger signal\nNo\n\nHarness-triggered\n\nStore E in a user message\n\nSetting 2: Harness-triggered\n\nTop-3\n\nExperience format\n\nAction\n\nStore before the first model request\n\nExperience retrieval\nBGE-M3 · cosine ranking, no similarity threshold\n\n1st request\n\nAt most one store per episode\nStore experience in memory block\n\nInteraction with native memory\n\nEpisode end → reset / release\n\nFigure 11 Experience-guided agentic framework with MemT-1.0-Nano. Retrieved experience is stored in textual\ncontext or native memory to guide subsequent actions.\n\ntwo stages, extracting reusable experience from historical trajectories and generating experience-conditioned\ntrajectories.\nExperience Data Construction. We first construct an experience bank from 41,057 successful coding\ntrajectories released by Scale-SWE [60]. Following the experience summarization framework of MSCE [61],\nthe construction process consists of trajectory annotation, procedural policy induction, policy clustering, and\nexperience generation with quality auditing. For each successful trajectory, we identify important execution\ndecisions and their corresponding environmental conditions. Trajectories with similar conditions are grouped\nto induce reusable procedural policies, which are subsequently consolidated and converted into structured\nexperiences. Each experience contains information about its triggering conditions, recommended execution\nsteps, applicability constraints, and verification procedures. After quality filtering, we obtain an experience\nbank containing 1,040 reusable coding experiences.\nTraining Sample Construction. We further construct experience-guided training trajectories through\ncounterfactual execution. Specifically, we generate original coding trajectories using Qwen3.6-35B-A3B with\nthe AweAgent harness [62] in the Scale-SWE environment. For unsuccessful trajectories, we identify candidate\nbreakpoints according to execution errors and other observable failure signals. At each selected breakpoint,\nwe retrieve candidate experiences and resume execution with different experience combinations. The resulting\ntrajectories are evaluated using executable tests, and we retain experience-conditioned continuations that pass\nthe task tests when the corresponding original trajectory failed.\nEach training sample is represented as\n+ \u0001\n𝑥 𝑏, 𝑗 = 𝜉 ≤𝑏 , 𝑔𝑏, 𝑗 , 𝜉ˆ&gt;𝑏\n,\n\nwhere 𝑏 indexes the selected breakpoint and 𝑗 indexes the candidate experience subset. Here, 𝜉 ≤𝑏 denotes the\noriginal trajectory prefix before and including breakpoint 𝑏, 𝑔𝑏, 𝑗 denotes the injected experience subset, and\n+ denotes the successful continuation after experience injection.\n𝜉ˆ&gt;𝑏\nThe retained samples satisfy the condition that the original trajectory fails while the experience-conditioned\n27\n\n\fcontinuation succeeds. These continuations provide supervision for predicting successful actions conditioned\non procedural experience. We generate 18,820 original trajectories and evaluate 199,500 breakpoint-experience\nintervention variants. Among these interventions, 45,481 produce successful continuations. After additional\nquality filtering, we obtain 42,403 training samples. The resulting samples are partitioned by task to avoid\nleakage between training and validation trajectories. Appendix E provides details of the experience bank, data\nconstruction pipeline, and filtering procedure.\nTraining Strategy. We initialize the model from MemT-1.0-Nano. During application-specific post-training,\nall backbone parameters are frozen, and only the native hyper memory blocks are optimized. Each training\nsample is processed through separate experience and main-trajectory streams. First, the experience is written\ninto native memory through a memory store operation. The original trajectory prefix is then replayed with\nmemory reading disabled. After the designated breakpoint, memory reading is enabled, and the model is\ntrained to predict the successful continuation conditioned on the stored experience. The experience text\nand trajectory prefix are excluded from the training loss, while the subsequent assistant actions provide the\nsupervision signal.\nWe investigate both cross-entropy supervision and knowledge distillation. For knowledge distillation, the\nfrozen backbone teacher receives the experience as text, while the student accesses the same experience\nonly through native memory. Both models use teacher forcing on the same task history and reference\ncontinuation. We minimize the forward KL divergence from the teacher distribution to the student distribution\nover supervised assistant tokens.\nWe additionally investigate two supervision scopes. The First-Step setting supervises only the first assistant turn\nfollowing the breakpoint, and the Full-Suffix setting supervises the complete successful continuation. We use\nknowledge distillation with Full-Suffix supervision for the application-specific post-training of MemT-1.0-Nano\nand evaluate the resulting checkpoint in the main experiments. Appendix E details the sample serialization\nand supervision masks.\n7.4\n\nAgentic Coding Evaluation\n\nWe evaluate MemT-1.0-Nano on two agentic coding benchmarks, including SWE-bench Verified [12],\ncontaining 500 tasks, and SWE-bench Multilingual [13], containing 300 tasks across nine programming\nlanguages. Both benchmarks require agents to resolve real-world software issues through repository exploration,\ncode modifications, and executable tests. All baselines use Qwen3.6-35B-A3B as the backbone and follow the\nofficial SWE-bench verification protocol.\nWe compare Qwen3.6-35B-A3B (No Experience), Qwen3.6-35B-A3B (Textual Experience), and MemT-1.0Nano (Native Memory). The No Experience baseline measures the benefit of experience reuse, while Textual\nExperience provides a reference for evaluating its effectiveness through native memory. The Harness-Triggered\nsetting uses the same breakpoint-detection logic as training data construction. The Before Execution setting is\nused to assess robustness to experience injection timing. Each task is executed three times independently.\nAs shown in Table 5, we report the average success rate, pass@3, representing the proportion of tasks solved\nat least once across the three runs, and pass^3, representing the proportion of tasks solved in all three runs.\nMemT-1.0-Nano consistently improves the average success rate and repeated-run reliability over the\nbackbone without experience. On SWE-bench Verified, in the Before Execution setting, MemT-1.0-Nano\nachieves an average success rate of 69.33%, improving upon the No Experience baseline of 66.07%. This\nslightly exceeds the 68.87% achieved by Textual Experience. Moreover, pass^3 increases from 54.00% to\n61.60%, matching the 61.60% achieved by Textual Experience. These results indicate that native memory\ncan preserve the effectiveness of procedural experience without requiring the corresponding experience\n28\n\n\fTable 5 Agentic coding performance on SWE-bench Verified (500 tasks) and SWE-bench Multilingual (300 tasks)\nunder two experience injection settings. Bold and underlined values indicate the highest and second-highest distinct\nscores, respectively.\nBenchmark\n\nStore Timing\n\nMethod\n\npass^3\n\nAvg. Success\n\npass@3\n\nBefore Execution\n\nQwen3.6-35B-A3B (No Experience)\nQwen3.6-35B-A3B (Textual Experience)\nMemT-1.0-Nano (Native Memory)\n\n54.00\n61.60\n61.60\n\n66.07\n68.87\n69.33\n\n77.60\n76.40\n77.40\n\nHarness-Triggered\n\nQwen3.6-35B-A3B (No Experience)\nQwen3.6-35B-A3B (Textual Experience)\nMemT-1.0-Nano (Native Memory)\n\n54.00\n61.80\n62.80\n\n66.07\n69.13\n69.73\n\n77.60\n76.80\n77.80\n\nBefore Execution\n\nQwen3.6-35B-A3B (No Experience)\nQwen3.6-35B-A3B (Textual Experience)\nMemT-1.0-Nano (Native Memory)\n\n45.33\n56.33\n53.67\n\n60.00\n64.22\n62.89\n\n73.67\n72.67\n72.00\n\nHarness-Triggered\n\nQwen3.6-35B-A3B (No Experience)\nQwen3.6-35B-A3B (Textual Experience)\nMemT-1.0-Nano (Native Memory)\n\n45.33\n53.67\n55.33\n\n60.00\n63.00\n63.56\n\n73.67\n72.67\n73.00\n\nVerified\n\nMultilingual\n\nAll values are percentages, based on three independent runs per task. The pass^3 denotes the percentage of tasks solved in all three runs.\nThe Avg. Success denotes the mean success rate across runs. The pass@3 denotes the percentage of tasks solved in at least one run. Textual\nExperience uses the top 3 experiences for Verified Before Execution; top 1 otherwise.\n\ntext to remain in the task context.\nIn the Harness-Triggered setting, MemT-1.0-Nano further improves the average success rate to 69.73%,\ncompared with 66.07% for No Experience and 69.13% for rank-1 textual experience. The corresponding\npass^3 reaches 62.80%, representing an improvement of 8.80 percentage points over the backbone and 1.00\npercentage point over fixed rank-1 textual experience. This suggests that native memory remains effective\nwhen experience is introduced dynamically during agent execution, rather than only at task initialization.\nWe observe consistent improvements on SWE-bench Multilingual. In the Before Execution setting, MemT1.0-Nano improves the average success rate from 60.00% to 62.89% and pass^3 from 45.33% to 53.67%.\nIn the Harness-Triggered setting, the average success rate reaches 63.56%, exceeding the fixed rank-1\ntextual experience result of 63.00%. These findings provide further evidence that experience internalization\ngeneralizes across coding tasks involving different repositories and programming languages.\nThe gains are most pronounced in repeated-run reliability, suggesting that stored experience helps agents solve\ntasks more consistently. Although pass^3 improves substantially, pass@3 does not consistently increase. The\ncomparable behavior of MemT-1.0-Nano and textual experience further suggests that procedural guidance can\nbe represented and utilized through native memory.\nWe also evaluate several training configurations on a 100-task development subset of SWE-bench Verified.\nDetailed comparisons and additional experimental results are provided in Appendix E.\n7.5\n\nCase Study and Discussion\n\nTo better understand how native memory affects agent behavior, we illustrate a representative task from\nSWE-bench Verified involving the two-digit year parsing logic in Django’s parse_http_date function.\nWe compare execution trajectories under the No Experience, Textual Experience, and Native Memory settings.\nWithout experience, the agent modifies the relevant parsing logic shortly after locating the implementation,\nintroducing targeted reproduction and verification steps later in the execution. In contrast, agents in both the\n29\n\n\fTextual Experience and Native Memory settings construct reproduction tests before applying modifications.\nIn the MemT-1.0-Nano trajectory, the agent further revisits a boundary condition after its initial modification,\ncorrects the implementation, and performs additional verification.\nThese observations show how stored procedural experience can guide task execution without appearing in\ntextual context. Together with the benchmark improvements, they demonstrate that MemT-1.0 can reuse\nprocedural experience to improve agentic task performance. This supports its potential for developing\nself-evolving agents: experience from past interactions can be stored in native memory and applied to\nnew tasks.\nSeveral challenges remain. The current framework relies on externally constructed experience, making its\neffectiveness dependent on experience quality and retrieval. Storing experience also introduces computation,\nso reduced textual context does not necessarily imply lower overall execution costs. Extending experience\nreuse into an autonomous continual learning process remains an open direction.\nFuture work will explore the co-evolution of the harness and MemT-1.0 through continued interaction with the\nenvironment. The harness can improve experience acquisition and selection, while MemT-1.0 learns to reuse\nthat experience more effectively. Together, these advances could support continual learning in self-evolving\nagents for long-horizon tasks.\n\n8\n\nLimitations and Discussion\n\nDespite the progress of MemT-1.0 in native memory, it still has several limitations. The fixed-size memory\nstate imposes a capacity constraint. For the fixed memory, MemT-1.0 maintains an 𝑂 (1) state with respect to\nthe interaction history length 𝑁. Compared with methods whose stored representations grow as 𝑂 (𝑁), this\nbounded state has limited capacity to preserve detailed historical information. As interactions accumulate,\nnew information must be incorporated into an existing representation, creating trade-offs between retaining\nearlier details and adding recent information. The resulting loss of memory fidelity remains a challenge for\ntasks requiring precise recall. At the same time, a fixed-size state offers opportunities beyond reducing storage.\nEach update incorporates new information into a representation, which has already been shaped by earlier\ninteractions. This enables successive compression of accumulated history. Compared with maintaining a\ngrowing collection of historical records, this recurrent organization may provide a basis for latent reflection. It\npotentially allows iterative consolidation of experience within the memory state. Such a mechanism could\nsupport online self-evolution by allowing accumulated experience to influence subsequent behavior.\nFinally, the relationship between local memory and hyper memory also deserves further study. Local memory\nrepresents information accumulated during interaction, while hyper memory encodes learned capabilities for\nstoring and utilizing that information. An important question is whether experience accumulated in local\nmemory can be consolidated into hyper-memory parameters through further training, and how knowledge\nencoded in hyper memory can be instantiated and adapted through local memory. Therefore, memory\ncapability itself can be viewed as a higher-order form of learned information. Exploring this relationship may\nhelp connect adaptation within individual interactions with improvements in memory capability across tasks.\n\n9\n\nConclusion\n\nIn this report, we presented MemT-1.0, a family of memory foundation models that integrates persistent\nmemory into model computation. Through the token-level stable memory updates, Mixture-of-Storage, a\ndeliberate backbone preparation, and a two-stage training pipeline, MemT-1.0 supports efficient storage and\nutilization of historical information. Both models outperform the evaluated parametric memory baselines\n30\n\n\fon average, while largely preserving the general capabilities of their respective backbones under the noise\nsetting. Applications to coding agents further demonstrate that native memory can internalize procedural\nexperience to improve task success and execution consistency. Future work will focus on improving long-term\nmemory, scaling memory capacity, and reducing the cost of memory updates. We will explore autonomous\nexperience acquisition and continual memory consolidation across tasks, moving toward agents learning\nthrough memory-native evolution.\n\nReferences\n[1] Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong\nMa, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv\npreprint arXiv:2501.12948, 2025.\n[2] Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander\nMadry, Alex Beutel, Alex Carney, et al. Openai o1 system card. arXiv preprint arXiv:2412.16720, 2024.\n[3] Anyi Xu, B Li, Bangcai Lin, Bing Xue, BingCheng Xian, Bingzheng Xu, Bochao Wu, Bowei Zhang, Boyi Deng,\nCC Yu, et al. Deepseek-v4.1-flash: Pushing the limits of kv cache compression. arXiv preprint arXiv:2609.19969,\n2026.\n[4] Gemini Team, Petko Georgiev, Ving Ian Lei, Ryan Burnell, Libin Bai, Anmol Gulati, Garrett Tanzer, Damien\nVincent, Zhufeng Pan, Shibo Wang, et al. Gemini 1.5: Unlocking multimodal understanding across millions of\ntokens of context. arXiv preprint arXiv:2403.05530, 2024.\n[5] Zeyu Zhang, Quanyu Dai, Xiaohe Bo, Chen Ma, Rui Li, Xu Chen, Jieming Zhu, Zhenhua Dong, and Ji-Rong Wen.\nA survey on the memory mechanism of large language model-based agents. ACM Transactions on Information\nSystems, 43(6):1–47, 2025.\n[6] Yuyang Hu, Shichun Liu, Yanwei Yue, Guibin Zhang, Boyang Liu, Fangyi Zhu, Jiahang Lin, Honglin Guo, Shihan\nDou, Zhiheng Xi, et al. Memory in the age of ai agents. arXiv preprint arXiv:2512.13564, 2025.\n[7] Zeyu Zhang, Ziliang Guo, Yihang Sun, Xichong Zhang, Xixuan Hao, Zehao Lin, Yang Zhang, Xiaoyan Zhao,\nTong Shen, Bo Tang, et al. Metis: Memory foundation model. arXiv preprint arXiv:2607.26760, 2026.\n[8] Ali Hatamizadeh, Yejin Choi, and Jan Kautz. Gated deltanet-2: Decoupling erase and write in linear attention.\narXiv preprint arXiv:2605.22791, 2026.\n[9] Suchin Gururangan, Ana Marasović, Swabha Swayamdipta, Kyle Lo, Iz Beltagy, Doug Downey, and Noah A Smith.\nDon’t stop pretraining: Adapt language models to domains and tasks. In Proceedings of the 58th annual meeting\nof the association for computational linguistics, pages 8342–8360, 2020.\n[10] Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini\nAgarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback.\nAdvances in neural information processing systems, 35:27730–27744, 2022.\n[11] Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec\nRadford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models, 2020.\n[12] Neil Chowdhury, James Aung, Jun Shern Chan, Oliver Jaffe, Dane Sherburn, Giulio Starace, Evan Mays, Rachel\nDias, Marwan Aljubeh, Mia Glaese, Carlos E. Jimenez, John Yang, Leyton Ho, Tejal Patwardhan, Kevin Liu, and\nAleksander Madry. Introducing SWE-bench Verified. OpenAI Blog, August 2024. Updated February 24, 2025.\nAccessed October 7, 2026.\n[13] John Yang, Kilian Adriano Lieret, Carlos E. Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan\nHui, Ofir Press, Ludwig Schmidt, and Diyi Yang. Swe-smith: Scaling data for software engineering agents. ArXiv,\nabs/2504.21798, 2025.\n\n31\n\n\f[14] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and\nIllia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.\n[15] Qwen Team. Qwen3.6-35B-A3B: Agentic coding power, now open to all, April 2026.\n[16] DeepSeek-AI. DeepSeek-V4: Towards highly efficient million-token context intelligence. arXiv preprint\narXiv:2606.19348, 2026.\n[17] Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean.\nOutrageously large neural networks: The sparsely-gated mixture-of-experts layer, 2017.\n[18] Eric Zelikman, Yuhuai Wu, Jesse Mu, and Noah D. Goodman. STaR: Bootstrapping reasoning with reasoning.\nAdvances in Neural Information Processing Systems, 35:15476–15488, 2022.\n[19] Avi Singh, John D. Co-Reyes, Rishabh Agarwal, Ankesh Anand, Piyush Patil, Xavier Garcia, Peter J. Liu, James\nHarrison, Jaehoon Lee, Kelvin Xu, et al. Beyond human data: Scaling self-training for problem-solving with\nlanguage models. Transactions on Machine Learning Research, 2024.\n[20] Yang Yue, Zhiqi Chen, Rui Lu, Andrew Zhao, Zhaokai Wang, Yang Yue, Shiji Song, and Gao Huang. Does\nreinforcement learning really incentivize reasoning capacity in LLMs beyond the base model? Advances in Neural\nInformation Processing Systems, 38, 2025.\n[21] AutoClaw Team. GLM-5.3-Flash: More intelligence with less compute, August 2026.\n[22] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network, 2015.\n[23] Deepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley, Mostofa Patwary, Vijay Anand\nKorthikanti, Dmitri Vainbrand, Prethvi Kashinkunti, Julie Bernauer, Bryan Catanzaro, Amar Phanishayee, and\nMatei Zaharia. Efficient large-scale language model training on gpu clusters using megatron-lm, 2021.\n[24] NVIDIA NeMo Team. NeMo Megatron Bridge. https://github.com/NVIDIA-NeMo/Megatron-Bridge,\n2026. GitHub repository.\n[25] Songlin Yang, Bailin Wang, Yu Zhang, Yikang Shen, and Yoon Kim. Parallelizing linear transformers with\nthe delta rule over sequence length. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak,\nand C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 115491–115522.\nCurran Associates, Inc., 2024.\n[26] Vijay Anand Korthikanti, Jared Casper, Sangkug Lym, Lawrence McAfee, Michael Andersch, Mohammad Shoeybi,\nand Bryan Catanzaro. Reducing activation recomputation in large transformer models. Proceedings of Machine\nLearning and Systems, 5:341–353, 2023.\n[27] Haoran Tan, Zeyu Zhang, Chen Ma, Xu Chen, Quanyu Dai, and Zhenhua Dong. Membench: Towards more\ncomprehensive evaluation on the memory of llm-based agents. In Findings of the Association for Computational\nLinguistics: ACL 2025, pages 19336–19352, 2025.\n[28] Chonghan Qin, Xiachong Feng, Weitao Ma, Xiaocheng Feng, and Lingpeng Kong. Implicitmembench: Measuring\nunconscious behavioral adaptation in large language models. In Proceedings of the 64th Annual Meeting of the\nAssociation for Computational Linguistics (Volume 1: Long Papers), pages 28232–28261, 2026.\n[29] Bowen Jiang, Zhuoqun Hao, Young-Min Cho, Bryan Li, Yuan Yuan, Sihao Chen, Lyle Ungar, Camillo J Taylor, and\nDan Roth. Know me, respond to me: Benchmarking llms for dynamic user profiling and personalized responses at\nscale. arXiv preprint arXiv:2504.14225, 2025.\n[30] Jiahe Guo, Xiangran Guo, Yulin Hu, Zimo Long, Xingyu Sui, Xuda Zhi, Yongbo Huang, Hao He, Weixiang Zhao,\nYanyan Zhao, et al. When personalization legitimizes risks: Uncovering safety vulnerabilities in personalized\ndialogue agents. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics\n(Volume 1: Long Papers), pages 27309–27335, 2026.\n\n32\n\n\f[31] Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. Evaluating\nvery long-term conversational memory of llm agents. In Proceedings of the 62nd Annual Meeting of the Association\nfor Computational Linguistics (Volume 1: Long Papers), pages 13851–13870, 2024.\n[32] Hengyu An, Minxi Li, Naen Xu, Chunyi Zhou, Xiaogang Xu, Tianyu Du, Jinbao Li, and Shouling Ji. Permemsafe:\nBenchmarking implicit personalized safety of long horizon self-evolving agents. In Findings of the Association\nfor Computational Linguistics: ACL 2026, pages 6415–6433, 2026.\n[33] Md Nayem Uddin, Kumar Shubham, Eduardo Blanco, Chitta Baral, and Gengyu Wang. From recall to forgetting:\nBenchmarking long-term memory for personalized agents. In Findings of the Association for Computational\nLinguistics: ACL 2026, pages 26814–26841, 2026.\n[34] Xixuan Hao, Zeyu Zhang, Zehao Lin, Yihang Sun, Ziliang Guo, Xichong Zhang, Yuxuan Liang, Feiyu Xiong, and\nZhiyu Li. Memops: Benchmarking lifecycle memory operations in long-horizon conversations. arXiv preprint\narXiv:2607.12893, 2026.\n[35] Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang, and Dong Yu. Longmemeval: Benchmarking\nchat assistants on long-term interactive memory. arXiv preprint arXiv:2410.10813, 2024.\n[36] Yuanzhe Hu, Yu Wang, and Julian McAuley. Evaluating memory in llm agents via incremental multi-turn\ninteractions. In International Conference on Learning Representations, volume 2026, pages 156259–156291,\n2026.\n[37] Mohammad Tavakoli, Alireza Salemi, Carrie Ye, Mohamed Abdalla, Hamed Zamani, and J Ross Mitchell. Beyond\na million tokens: Benchmarking and enhancing long-term memory in llms. arXiv preprint arXiv:2510.27246,\n2025.\n[38] Yubo Wang, Xueguang Ma, Ge Zhang, Yuansheng Ni, Abhranil Chandra, Shiguang Guo, Weiming Ren, Aaran\nArulraj, Xuan He, Ziyan Jiang, et al. Mmlu-pro: A more robust and challenging multi-task language understanding\nbenchmark. Advances in Neural Information Processing Systems, 37:95266–95290, 2024.\n[39] David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian\nMichael, and Samuel R Bowman. Gpqa: A graduate-level google-proof q&amp;a benchmark. arXiv preprint\narXiv:2311.12022, 2023.\n[40] Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou, and Le Hou.\nInstruction-following evaluation for large language models. arXiv preprint arXiv:2311.07911, 2023.\n[41] Yushi Bai, Shangqing Tu, Jiajie Zhang, Hao Peng, Xiaozhi Wang, Xin Lv, Shulin Cao, Jiazheng Xu, Lei Hou,\nYuxiao Dong, et al. Longbench v2: Towards deeper understanding and reasoning on realistic long-context\nmultitasks. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume\n1: Long Papers), pages 3639–3664, 2025.\n[42] Terry Yue Zhuo, Minh Chien Vu, Jenny Chim, Han Hu, Wenhao Yu, Ratnadira Widyasari, Imam Nur Bani Yusuf,\nHaolan Zhan, Junda He, Indraneil Paul, et al. Bigcodebench: Benchmarking code generation with diverse function\ncalls and complex instructions. In International Conference on Learning Representations, volume 2025, pages\n66602–66656, 2025.\n[43] Naman Jain, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik\nSen, and Ion Stoica. Livecodebench: Holistic and contamination free evaluation of large language models for code.\nIn International Conference on Learning Representations, volume 2025, pages 58791–58831, 2025.\n[44] Vladimir Karpukhin, Barlas Oğuz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen\ntau Yih. Dense passage retrieval for open-domain question answering, 2020.\n[45] Zhiyu Li, Chenyang Xi, Chunyu Li, Ding Chen, Boyu Chen, Shichao Song, Simin Niu, Hanyu Wang, Jiawei Yang,\nChen Tang, et al. Memos: A memory os for ai system. arXiv preprint arXiv:2507.03724, 2025.\n[46] Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. Mem0: Building production-ready\nai agents with scalable long-term memory. arXiv preprint arXiv:2504.19413, 2025.\n\n33\n\n\f[47] Jiajie Fu, Junwen Chen, Mengzhao Wang, Aoxiang He, Maojia Sheng, Xiangyu Ke, Yifan Zhu, and Yunjun\nGao. Vikingmem: A memory base management system for stateful llm-based applications. arXiv preprint\narXiv:2605.29640, 2026.\n[48] Preston Rasmussen, Pavlo Paliychuk, Travis Beauvais, Jack Ryan, and Daniel Chalef. Zep: a temporal knowledge\ngraph architecture for agent memory. arXiv preprint arXiv:2501.13956, 2025.\n[49] Yan Wang, Dongyang Ma, and Deng Cai. With greater text comes greater necessity: Inference-time training helps\nlong text generation. arXiv preprint arXiv:2401.11504, 2024.\n[50] Rujikorn Charakorn, Edoardo Cetin, Shinnosuke Uesaka, and Robert Tjarko Lange. Doc-to-lora: Learning to\ninstantly internalize contexts. arXiv preprint arXiv:2602.15902, 2026.\n[51] Yewei Liu, Xiyuan Wang, Yansheng Mao, Yoav Gelbery, Haggai Maron, and Muhan Zhang. Shine: A scalable\nin-context hypernetwork for mapping context to lora in a single pass. arXiv preprint arXiv:2602.06358, 2026.\n[52] Jingdi Lei, Di Zhang, Junxian Li, Weida Wang, Kaixuan Fan, Xiang Liu, Qihan Liu, Xiaoteng Ma, Baian Chen, and\nSoujanya Poria. 𝛿-Mem: Efficient online memory for large language models. arXiv preprint arXiv:2605.12357,\n2026.\n[53] Zhichen Liu, Ruihan Sun, Hengjie Yang, Zipeng Wu, Zhaohan Chen, Xiaofan Zhang, and Yang Xu. Livemem:\nMaintaining memory state continuity in long-running llm inference. arXiv preprint arXiv:2608.02515, 2026.\n[54] Yu Wang, Yifan Gao, Xiusi Chen, Haoming Jiang, Shiyang Li, Jingfeng Yang, Qingyu Yin, Zheng Li, Xian Li,\nBing Yin, et al. Memoryllm: Towards self-updatable large language models. arXiv preprint arXiv:2402.04624,\n2024.\n[55] Tao Ge, Jing Hu, Lei Wang, Xun Wang, Si-Qing Chen, and Furu Wei. In-context autoencoder for context\ncompression in a large language model. arXiv preprint arXiv:2307.06945, 2023.\n[56] MemTensor. OmniMemEval: Evaluation framework for memory systems and memory-augmented agents.\nhttps://github.com/MemTensor/OmniMemEval, 2026. GitHub repository.\n[57] Songlin Yang, Jan Kautz, and Ali Hatamizadeh. Gated delta networks: Improving mamba2 with delta rule, 2025.\n[58] Andrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin, Yong-Jin Liu, and Gao Huang. Expel: Llm agents\nare experiential learners. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages\n19632–19642, 2024.\n[59] Jianlyu Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. M3-embedding: Multi-linguality,\nmulti-functionality, multi-granularity text embeddings through self-knowledge distillation. In Findings of the\nAssociation for Computational Linguistics: ACL 2024, 2024.\n[60] Jiale Zhao, Guoxin Chen, Fanzhe Meng, Minghao Li, Jie Chen, Hui Xu, Yongshuai Sun, Wayne Xin Zhao, Ruihua\nSong, Yuan Zhang, Peng Wang, Cheng Chen, Jirong Wen, and Kai Jia. Immersion in the GitHub universe: Scaling\ncoding agents to mastery. arXiv preprint arXiv:2602.09892, 2026.\n[61] Bo Tang, Yang Zhang, Guomian Zhuang, Wenqiang Wei, Gaoyang Zheng, Lindong Xie, Yanchao Tan, Feiyu\nXiong, Qingyu Yang, Edward Chung, and Zhiyu Li. From memory to skills: Evidence-grounded co-evolution\ngovernance for long-horizon LLM agents. arXiv preprint arXiv:2607.16621, 2026.\n[62] AweAI Team. AweAgent: A unified, composable framework to build, evaluate, and train agents. https:\n//github.com/AweAI-Team/AweAgent, 2026. GitHub repository.\n\n34\n\n\fA\n\nAuthor List and Acknowledgments\n\nA.1\n\nAuthor List\n\nCore Contributors: Zhiyu Li, Zeyu Zhang, Linyun Liu, Yiwei Bu, Chenyang Xi, Xichong Zhang, Yi Yu, Yu\nYu, Zhichen Liu, Yuxiao Yi† , Chunyu Li, Haoran Liu, Zhenkai Ding, Le Zhou, Juncheng Zhang, Boyu Chen,\nZehao Lin, Guorui Li, Renyu Fu, Ji Li, Youyang Xia, Jiajun Shen, Harvey Li† , Jingsong Zhou† , Helan Hu,\nTong Shen, Tianxiao Xu, Chenye Han, Weijie Li, Zhongquan Zhou, Hongming Xu, Yuekeng Li, Erenkai Zhu,\nPeng Yu, Wenhao Li, Jingyi Kang, Xixuan Hao, Xuzhou Zhu, Can Chen, Jiawei Liu, Chen Jiang, Tao Jiang,\nFangwei Xiang, Zepeng Yao, Kai Chen, Guang Yang, Mingfei Lu, Chunhui Li, Zhengxuan Jiang, Bo Tang.\nContributors: Shiyu Zhan, Yihang Sun, Jie Chu, Wenjun Xiong, Zhenxiang Hua, Chen Lin, Detong Su,\nDongyu Deng, Qiuping Ding, Guofeng Ding, Si Chen, Guohua Wen.\nCo-advisors: Xu Chen, Zhi-Qin John Xu, Ying-Cong Chen† , Ningyu Zhang, Haofen Wang, Muning Wen,\nHaotian Chen, Wentao Zhang, Xuanhe Zhou, Rita Zhang† , Junchi Yan, Feiyu Xiong.\nA.2\n\nAcknowledgments\n\nWe thank NVIDIA for developing and open-sourcing Megatron-Core and Megatron Bridge, which provided a\nvaluable foundation for our distributed training infrastructure. We further acknowledge NVIDIA’s research\non Gated DeltaNet and Gated DeltaNet-2, which inspired the design of our memory architecture. We thank\nShanghai Kupas Technology Co.,Ltd. and INESA (Group) Co., Ltd. for their support. We also thank Zhengren\nWang, Yushen Wang, Yida Xue, Nuoxi Chen, Haoyu Liu, Chenxu Du, and Yinghan Zhao for their valuable\ncontributions to this project.\n\nB\n\nAdaptation to Specific Backbones\n\nTable 6 summarizes the memory geometry of the MemT-1.0-Nano and MemT-1.0-Flash models used in the\nmain evaluations. Both use one memory block per selected layer (𝐸 = 1). The four-expert MoS workload in\nAppendix F measures the cost of capacity expansion separately. Layer indices below start at zero.\nB.1\n\nProjection and Fusion\n\nMemT-1.0-Nano. MemT-1.0-Nano augments each full-attention layer of Qwen3.6-35B-A3B with a native\nmemory block, preserving the original hybrid architecture and MoE computation. The memory branch\nreceives the same pre-normalized hidden states as the original attention and assigns an independent memory\nchannel to each query head. Memory query, key, and value projections are dense and initialized from the\ncorresponding backbone attention projections. The query projection copies the query component of the\nbackbone’s joint query/output-gate projection. The two backbone KV heads are each copied into eight memory\nheads, giving 16 independently trainable memory heads. The copies share initial values but are separate\nparameters, with separate channel-wise gates and memory states. After per-head RMSNorm and output\ngating, the 16 readouts are concatenated into a 4096-dimension vector, added to the backbone’s already-gated\nattention output, and passed through its frozen 4096×2048 output projection. The backbone sigmoid gate\ntherefore applies only to the original attention branch, while memory uses the output gate defined in Section 2.\nMemT-1.0-Flash. MemT-1.0-Flash attaches a native memory block to the compressed-attention layers of\nDeepSeek-V4. The backbone compressed-attention has 64 query heads of dimension 512, and the memory\n† NVIDIA\n\n35\n\n\fTable 6 Backbone and native-memory configuration. State size counts the persistent memory matrices for one\ntrajectory, excluding model weights and current-step KV caches.\nConfiguration\n\nMemT-1.0-Nano\n\nMemT-1.0-Flash\n\nBackbone\n\nQwen3.6-35B-A3B\n\nHidden width / decoder layers\nMemory layers\nMemory-layer type\nMemory 𝐻𝑞 /𝐻 𝑘𝑣\nMemory 𝑑 𝑘 /𝑑 𝑣\nMemory experts per layer\nTrainable memory parameters\nState elements per trajectory\nFP32 state size\nReadout / fusion-point width\n\n2048 / 40\n3, 7, . . . , 39 (10 layers)\nFull attention\n16 / 16\n256 / 256\n1\n450,931,360\n10,485,760\n40 MiB\n4096 / 4096\n\nDeepSeek-V4-Flash, after backbone\npreparation\n4096 / 43\n4, 6, . . . , 42 (20 layers)\nCompressed sparse attention\n64 / 64\n512 / 512\n1\n3,608,608,000\n335,544,320\n1280 MiB\n32768 / 8192\n\nbranch keeps the same geometry, assigning one independent memory channel to each query head.\nThe memory query projection follows the backbone query projection, which is a two-stage bottleneck that\nmaps the hidden state of width 4096 to a rank-1024 factor and then to 32768 features. Both stages and the\nnormalization gain on the intermediate factor are copied from the backbone attention. This normalization\ndepends on the input and therefore remains in the projection rather than being folded into the weights.\nKeys and values instead use a grouped bottleneck. Eight latent groups of width 512 are projected from the\nhidden state, and each group is normalized by its own RMSNorm over the group’s 512 features. The group\nis then expanded to eight heads of dimension 512, so that the eight groups yield 64 memory heads in total,\nmatching the backbone query-head count.\nThe eight groups are initialized from three backbone projections: the layer’s local KV projection, written 𝐿,\nand the previous and current halves of the compressed-attention projection, written 𝑃 and 𝐶. Group 𝑔 draws\nits key and value from the 𝑔-th entry of the following list of pairings:\n(𝐿, 𝐿), (𝑃, 𝐶), (𝑃, 𝐿), (𝐶, 𝑃), (𝐶, 𝐿), (𝐿, 𝑃), (𝐿, 𝐶), (𝐶, 𝐶).\nHere 𝑃 and 𝐶 denote the two halves of a single backbone projection, and a pairing such as (𝑃, 𝐶) means\nthat the key is taken from the previous half and the value from the current half. Each group also copies\nthe normalization gain and epsilon of the backbone module that its pairing selects, so groups drawing from\n𝐿 inherit the local KV normalization while those drawing from 𝑃 or 𝐶 inherit the compressed-attention\nnormalization. Within a group, the expansion to the eight heads is initialized as an identity mapping and the\nheads are trained independently.\nAfter readout, the backbone’s frozen grouped output projection maps eight groups of 4096 features to eight\ngroups of 1024. The resulting 8192-dimensional memory contribution is added at the input of the final\nbackbone output projection, which contracts it to the hidden width of 4096. The original backbone residual\nand hyper-connection operations are preserved.\n\n36\n\n\fB.2\n\nGates and Initialization\n\nAll gates take the pre-attention hidden state directly. MemT-1.0-Nano uses dense erase/write projections and\nrank-256 factorizations for the forget and output gates. MemT-1.0-Flash uses rank-512 factorizations for all\nfour gates. There is no intervening nonlinearity or normalization between gate factors, so the erase/write\nfactors compose into the effective matrices in Section 2. MemT-1.0-Flash’s Q/K/V bottleneck normalization,\ndescribed above, is distinct from these gate projections.\nNew gate input weights are initialized from N (0, 0.022 ). For both models, the forget-gate expansion starts at\nzero and the output-gate expansion uses N (0, 0.0012 ). MemT-1.0-Nano copies the initial erase projection into\nthe write projection, then trains them independently. MemT-1.0-Flash initializes the erase/write expansion\nfactors independently from N (0, 0.022 ) and initializes the output-gate bias to 0.1. MemT-1.0-Nano has no\noutput-gate bias. Both use a SoftCapSiLU threshold of 2.0 in the evaluated models.\nForget-gate biases encode a range of initial time scales. For each key channel, a half-life 𝜏1/2 is sampled\nindependently and log-uniformly from [2048, 32768] tokens for MemT-1.0-Nano and [128, 32768] tokens for\nMemT-1.0-Flash. We initialize\n\u0012\n\u0013\n−1 log 2\n𝑏 𝜆 = Softplus\n,\n𝑠 ℎ = 0.\n𝜏1/2\nTogether with the zero forget-gate expansion, this sets the initial decay time scale through a factor 2−1/𝜏1/2 per\ntoken. Both the channel-wise bias 𝑏 𝜆 and head-wise log-scale 𝑠 ℎ remain trainable and are excluded from\nweight decay. Memory states start at zero for each independent trajectory.\nB.3\n\nTraining Configuration\n\nThe trainable parameter counts in Table 6 include memory Q/K/V projections, gate projections and biases,\ndecay scales, and memory normalization gains. Backbone parameters, including the output projections used\nfor fusion, are frozen during memory training. Model parameters and projection computation use BF16.\nOptimizer master parameters, gradient accumulation/reduction, and Adam moments use FP32. Memory-state\naccumulation and the sensitive normalization/decay calculations also use FP32.\nTable 7 Execution and distillation settings for the evaluated checkpoints. TP, PP, CP, and EP denote tensor, pipeline,\ncontext, and expert parallelism. DP counts logical data-parallel replicas. EP partitions backbone experts within that\ntopology.\nSetting\n\nMemT-1.0-Nano\n\nMemT-1.0-Flash\n\nTP / PP / CP / EP\nLogical DP / accumulation steps\nGlobal batch (packs)\nMaximum pack / storage step\nPost-training target\nTemperature / KL / CE weight\nMemory writer / reader\nMoE communication backend\n\n1/1/1/8\n64 / 1\n64\n65536 / 2048 tokens\nOnline backbone, Top-64 KL\n1/1/0\nChunked update / step snapshot\nDeepEP\n\n1/4/2/8\n12 / 16\n192\n65536 / 2048 tokens\nOnline backbone, Top-64 KL\n1/1/0\nChunked update / step snapshot\nDeepEP\n\nThe single-GPU MoS measurements in Appendix F have their own workload and software configuration.\n\n37\n\n\fC\n\nStable Mechanism on GDN-2\n\nC.1\n\nProblem Formulation\n\nWe consider a general recursive update of the form\n𝑆𝑡 = 𝑃𝑡 𝑆𝑡 −1 + 𝐵𝑡 .\n\n(1)\n\nDefine the propagation matrix Φ𝑡:𝑖 = 𝑃𝑡 𝑃𝑡 −1 · · · 𝑃𝑖 . Expanding the recursion yields\n𝑆𝑡 = Φ𝑡:1 𝑆0 +\n\n𝑡\n∑︁\n\nΦ𝑡:𝑖+1 𝐵𝑖 .\n\n(2)\n\n𝑖=1\n\nSetting 𝑆0 = 0, we obtain\n𝑆𝑡 =\n\n𝑡\n∑︁\n\nΦ𝑡:𝑖+1 𝐵𝑖 .\n\n(3)\n\n𝑖=1\n\nAssuming ∥𝑃𝑡 ∥ ≤ 𝜌 and ∥𝐵𝑡 ∥ ≤ 𝑅, an upper bound of ∥𝑆𝑡 ∥ is\n∥𝑆𝑡 ∥ ≤ 𝑅\n\n𝑡 −1\n∑︁\n\n𝜌 𝑗,\n\n(4)\n\n𝑗=0\n\nthat is,\n\n1 − 𝜌𝑡\n\n\n𝑅\n, 0 ≤ 𝜌 &lt; 1,\n\n\n\n1−𝜌\n\n\n\n\n𝜌 = 1,\n∥𝑆𝑡 ∥ ≤ 𝑡 𝑅,\n(5)\n\n\n\n𝑡\n\n𝜌 −1\n\n\n\n 𝑅 𝜌 − 1 , 𝜌 &gt; 1.\n\n𝑅\nTherefore, when 𝜌 &lt; 1, we have ∥𝑆𝑡 ∥ ≤ 1−𝜌 as 𝑡 → ∞, and the update is bounded; we call such a recursion a\nstable update.\nNext, we analyze the vector-form GDN-2 update:\n\u0001\n𝑆𝑡 = 𝐼 − 𝑘 𝑡⊤ (𝑏 𝑡 ⊙ 𝑘 𝑡 ) 𝐷 𝑡 𝑆𝑡 −1 + 𝑘 𝑡⊤ (𝑤 𝑡 ⊙ 𝑣 𝑡 ),\n\n(6)\n\nwhere 𝐷 𝑡 = Diag(𝑑𝑡 ) is diagonal, 𝑑𝑡 , 𝑏 𝑡 , 𝑤 𝑡 ∈ (0, 1), and ∥𝑘 𝑡 ∥ 2 = 1, ∥𝑣 𝑡 ∥ 2 ≤ 𝑔, 𝑔 is a boundary of 𝑣’s norm.\nThis update is not stable in general. Let 𝐴𝑡 = 𝐼 − 𝑘 𝑡⊤ (𝑏 𝑡 ⊙ 𝑘 𝑡 ), 𝑃𝑡 = 𝐴𝑡 𝐷 𝑡 , and 𝐵𝑡 = 𝑘 𝑡⊤ (𝑤 𝑡 ⊙ 𝑣 𝑡 ).\nWe omit the time index and define\n𝑎 = 𝑏 ⊙ 𝑘,\nThen\n𝜌=\n\n∑︁\n\n𝜌 = 𝑘𝑎 ⊤ ,\n\n𝑏 𝑖 𝑘 𝑖2 ,\n\n𝑚=\n\n𝑖\n\n𝑚 = ∥𝑎∥ 22 .\n\n(7)\n\n∑︁\n\n(8)\n\n𝑏 2𝑖 𝑘 𝑖2 ,\n\n𝑖\n\nand 𝜌 ∈ (0, 1), 𝑚 ∈ [𝜌 2 , 𝜌).\nDecompose 𝑎 into the component parallel to 𝑘 and the orthogonal component. Let 𝑒 be a unit vector such that\n𝑒𝑘 ⊤ = 0 and ∥𝑒∥ 2 = 1. Define 𝛾 2 = 𝑚 − 𝜌 2 , then\n𝑎 = 𝜌𝑘 + 𝛾𝑒.\n38\n\n(9)\n\n\fUsing the basis {𝑘, 𝑒}, we have\n𝐴 = 𝐼 − 𝑘 ⊤𝑎 =\n\n\u0014\n\n\u0015\n1 − 𝜌 −𝛾\n⊕ 𝐼 𝐾 −2 .\n0\n1\n\n(10)\n\n∥𝑒 𝐴⊤ ∥ 22 = 1 + 𝛾 2 ≥ 1.\n\n(11)\n\nHence\n𝑒 𝐴⊤ = 𝑒 − 𝛾𝑘,\n\nThis shows that along the 𝑒 direction, whenever 𝛾 ≠ 0, the update amplifies energy, and 𝐴 may lead to an\nunstable recursion. Moreover,\n𝛾 = 0 ⇐⇒ 𝑎 ∥ 𝑘.\n(12)\nThus, if we only consider 𝐴, a prerequisite for stability is that 𝑏 ⊙ 𝑘 must be colinear with 𝑘.\nWe further analyze 𝐴 by focusing on its 2 × 2 non-trivial block 𝐴2 and considering 𝐴2⊤ 𝐴2 . Its trace is\n𝑇 = 2 − 2𝜌 + 𝑚 and its determinant is det( 𝐴2⊤ 𝐴2 ) = (1 − 𝜌) 2 . The squared spectral norm (i.e., the largest\nsingular value squared) is\n√︁\n𝑇 + 𝑇 2 − 4(1 − 𝜌) 2\n2\n∥ 𝐴2 ∥ 2 = 𝜆 + =\n≥ 1.\n(13)\n2\nIn particular, the spectral norm squared of the full 𝐴2 block is\n∥ 𝐴∥ 22 = max{1, 𝜆 + } = ∥ 𝐴2 ∥ 2 .\n\n(14)\n\nSince 𝑚 &lt; 𝜌, we have\n2−𝜌+\n\n√︁\n\n𝜆+ &lt;\n\n𝜌(4 − 3𝜌)\n.\n2\n\n(15)\n\nThe right-hand side achieves its maximum 43 at 𝜌 = 31 , hence\n2\n1 ≤ ∥ 𝐴∥ 2 &lt; √ .\n3\n\n(16)\n\nThis gives an upper bound on the spectral norm of 𝐴. When both 𝐴 and 𝐷 are considered in the update, if\n∥𝐷 ∥ 2 ≤ 𝑑, then\n2\n∥𝑃∥ 2 = ∥ 𝐴𝐷 ∥ 2 ≤ √ 𝑑.\n(17)\n3\n√\n\nTo ensure uniform contraction bound for 𝑃𝑡 less than 1, a sufficient condition is 𝑑 &lt; 23 ≈ 0.866. Since 𝑃𝑡 𝑆𝑡 −1\ndoes not always amplify, 𝑑 &lt; 0.866 is a sufficient condition for stability in the worst case. This condition\nguaranties uniform contraction of the homogeneous recursion. If the additive inputs 𝐵𝑡 = 𝑘 𝑡⊤ (𝑤 𝑡 ⊙ 𝑣 𝑡 ) are\nuniformly bounded, then the resulting inhomogeneous recursion is uniformly bounded as well. Under this\ncondition, the half-life of the forget gate 𝐷,\n𝑡1/2 =\n\nln 2\nln 2\n=\n≈ 4.82,\n√\n− ln 𝑑 − ln 3/2\n\nis only about 5 tokens.\n\n39\n\n(18)\n\n\fC.2\n\nSolution: Symmetrization Fix\n\nNote that in the GDN-2 update, the 𝐴 term can be written as\n𝐴 = 𝐼 − 𝑘 ⊤ (𝑏 ⊙ 𝑘) = 𝐼 − 𝑘 ⊤ 𝑘 Diag(𝑏).\n\n(19)\n\nThe instability stems from the fact that 𝐴 is not symmetric. We therefore move Diag(𝑏) to both 𝑘 to make 𝐴\nsymmetric:\n√\n√\n𝐴 = 𝐼 − Diag( 𝑏) 𝑘 ⊤ 𝑘 Diag( 𝑏).\n(20)\nFurther, we can rewrite it as\n\n√\n√\n𝐴 = 𝐼 − ( 𝑏 ⊙ 𝑘) ⊤ ( 𝑏 ⊙ 𝑘).\n\nWith this symmetrization fix, we obtain Stable GDN-2 (SGDN-2), whose update is\n√︁\n√︁\n√︁\n\u0001\n𝑆𝑡 = 𝐼 − ( 𝑏 𝑡 ⊙ 𝑘 𝑡 ) ⊤ ( 𝑏 𝑡 ⊙ 𝑘 𝑡 ) 𝐷 𝑡 𝑆𝑡 −1 + ( 𝑏 𝑡 ⊙ 𝑘 𝑡 ) ⊤ (𝑤 𝑡 ⊙ 𝑣 𝑡 ).\n\n(21)\n\n(22)\n\nAccording to the analysis above, the two vectors in SGDN-2 are naturally colinear (i.e., 𝛾 = 0), which avoids\nthe unstable update mechanism.\n√\nGeometrically, the symmetrized erase step acts separately on the component parallel to 𝑢 = 𝑏 ⊙ 𝑘 and its\northogonal complement, with no coupling between these two orthogonal subspaces. Considering the erase\nstep alone, with 𝐷 = 𝐼 and no write term, the parallel component is scaled by 1 − ∥𝑢∥ 22 , while the orthogonal\ncomponent remains unchanged. Under the stated assumptions, 0 &lt; ∥𝑢∥ 22 &lt; 1; hence, the map contracts along\n𝑢 without expanding any orthogonal direction and is non-expansive in the Euclidean norm.\nIn contrast, GDN-2 computes the erase magnitude using 𝑎 = 𝑏 ⊙ 𝑘 but applies the correction along 𝑘. For the\ninput 𝑦 = 𝑒, this gives 𝑦 ′ = 𝑒 − 𝛾𝑘. Since 𝑒 and 𝑘 are orthogonal, the correction increases the squared norm\nfrom 1 to 1 + 𝛾 2 whenever 𝛾 ≠ 0. Figure 12 illustrates the resulting non-expansive map and contrasts it with a\nGDN-2 erase step that increases the norm of the same input 𝑦 = 𝑒.\n\nD\nD.1\n\nDetails of Evaluation Setup\nDetails of Benchmarks\n\nMemory Benchmark. We evaluate memory capabilities on 11 benchmarks and divide them into four groups\naccording to trajectory length as follows. These benchmarks focus on long-term information retention and\nretrieval, dynamic memory updating and management, and personalized understanding.\n• MemBench [27]: MemBench reports the equal-weight mean accuracy across its factual/reflective and\nparticipation/observation quadrants on the 0–10K subset. We write each history in an independent scope and\npreserve its original message order. We note that when structured time is unavailable, no synthetic date is\nconstructed.\n• ImplicitMemBench [28]: ImplicitMemBench evaluates procedural learning, priming, and classical conditioning through learning or priming, interference, and test stages. We preserve the original trajectory order,\nisolate priming treatment and control groups. Specifically, we use temperature 0.8 for the priming task.\n• PersonaMem [29]: PersonaMem evaluates dynamic user profiling and personalized responses over evolving\ninteractions. Each (history, history_end) pair receives an independent scope. Questions with the same cutoff\nshare a read-only state, whereas different cutoffs do not share memory. We utilize the 32K length subset of\nPersonaMem for our memory evaluation.\n• PS-Bench [30]: PS-Bench measures whether personal memories induce intent legitimation and increase\npersonalized attack success. Persona histories follow the original session, speaker, and timestamp order. We\n40\n\n\f(a) GDN2\n\n(b) SGDN2\n\nRead along ; erase along\n\nRead and erase along\n\nOriginal channels:\nPlot basis\n\n:\n\nread + erase\n\nerase\n\nExample state norm:\n\nExample state norm:\n\nMaximum directional gain:\n\nMaximum directional gain:\n\nUnit circle\nErase only:\n\n(non-expansive)\n\nTransformed unit circle\n, no new write. The gate acts in the original channel basis.\n\nFigure 12 An analytical single-step erase example with 𝐷 = 𝐼 and no write term. Both panels use the same input\n𝑦 = 𝑒 and orthonormal {𝑘, 𝑒} basis.\n\nreport 100(1 − ASR) on the Persona-grounded subset, with ASR micro-averaged over 1,863 queries.\n• LoCoMo [31]: LoCoMo evaluates single-hop, multi-hop, temporal, open-domain, and adversarial conversational memory. We preserve session, message, speaker, and date order. We also use speaker-specific scopes\nfor MemOS, Mem0, and Graphiti, and use a conversation scope for OpenViking. We exclude the adversarial\ncategory from the reported score.\n• PerMemSafe [32]: PerMemSafe evaluates implicit personalized safety through Safety Perception (SP) and\nDynamic Evolution (DE) tracks. SP and DE histories use independent scopes, while risk descriptions, isolated\nanswers, and scoring rubrics are excluded from memory writes. Specifically, we utilize the conv64 subset of\nPerMemSafe in our memory evaluation.\n• Memora [33]: Memora evaluates remembering, reasoning, and recommendation under evolving weekly,\nmonthly, and quarterly interactions. Each persona uses an independent scope with chronological session and\nturn writes and timestamps. Query dates are not used to filter history. We utilize the Weekly subset of Memora\nfor memory evaluation.\n• MemOps [34]: MemOps evaluates remembering, updating, forgetting, reflecting, and composed memory\noperations. We store 50 sessions by session index and message order in an independent scope, excluding\noperation labels, state annotations, and provenance tags from memory.\n• LongMemEval [35]: LongMemEval evaluates information extraction, multi-session reasoning, temporal\nreasoning, knowledge updating, and abstention. Each haystack uses an independent scope and session-date order, and the current date appears only in the query and is not stored in memory. We utilize the LongMemEval-S\nsubset for our memory evaluation.\n• MemoryAgentBench [36]: MemoryAgentBench evaluates retrieval, test-time learning, long-range understanding, and selective forgetting. Source histories are isolated and written in complete chunk-N order without\nsource mixing. The main set is used, excluding the short-context ablation questions.\n• BEAM [37]: BEAM evaluates ten long-context memory abilities, including extraction, contradiction\nresolution, updating, preference following, summarization, and temporal reasoning. Each conversation uses\n\n41\n\n\fan independent scope and complete chronological writes by session, timestamp, and message. We utilize the\n1M subset of BEAM for our memory evaluation. Due to the limitation of generation, the full context retains at\nmost the latest 256K tokens.\nGeneral Benchmark. We evaluate general capabilities on six benchmarks spanning four major dimensions:\nknowledge and scientific reasoning, instruction following, long-context understanding, and code generation.\nThe detailed benchmarks are presented as follows.\n• MMLU-Pro [38]: MMLU-Pro extends MMLU with harder reasoning questions and ten answer choices. We\nuse the TIGER-Lab/MMLU-Pro@14be195 test split and evaluate these conditions with fixed demonstrations\nprovided through ordinary context or native memory.\n• GPQA Diamond [39]: GPQA Diamond contains graduate-level biology, physics, and chemistry questions\ndesigned to resist ordinary web search. We evaluate each of the 198 questions eight times, keeping its\nanswer-option order fixed across repetitions and evaluation conditions, and report mean accuracy.\n• IFEval [40]: IFEval evaluates programmatically verifiable constraints such as length, keywords, casing, and\nformatting. We use the 541-prompt, 834-instruction test split and provide fixed irrelevant demonstrations\nthrough ordinary context or native memory.\n• LongBench v2 [41]: LongBench v2 evaluates deep reasoning across six long-context task categories and\ncontexts up to 2M words. We use the 503-item train split and provide identical irrelevant demonstrations\nthrough ordinary context or native memory.\n• BigCodeBench-Hard [42]: BigCodeBench-Hard contains 148 practical programming tasks with complex\ninstructions and function calls. We use normalized v0.1.4 test data, execute generated programs with the\nofficial tests, and report Pass@1 under the evaluated configurations.\n• LiveCodeBench v6 [43]: LiveCodeBench is a continuously refreshed coding benchmark based on recent\nLeetCode, AtCoder, and Codeforces problems. We use the 1,055-item cumulative release_v6 split and\npreserve identical demonstrations, generation settings, and scoring protocols across conditions.\nD.2\n\nDetails of Baselines\n\nWe compare MemT-1.0 with textual and parametric memory baselines as follows. Methods with the same\nbackbones share prompts, generation settings, and scoring protocols.\n• Full Context: Full context prepends the available history to the query as a context-only reference. Histories\nexceeding the 256K-token local window are left-truncated, retaining the most recent visible tokens.\n• DenseRAG: DenseRAG retrieves the 10 most relevant historical segments and prepends them to the query.\nIn our implementation, the retrieval process is scope-isolated, and LoCoMo segments are indexed as Speaker\nsaid, “text”, and answers are not written back.\n• MemOS [45]: MemOS provides structured extraction, synchronization, and hybrid memory retrieval. We\nuse version 2.0.32 with multimodal_struct, fine, and sync, top-20 fast search, MMR deduplication,\nand reranking.\n• Mem0 [46]: Mem0 performs LLM-based memory extraction, updating, and semantic retrieval. We use\nversion 2.0.20 with infer=true, dataset-specific protective chunking, top-20 user-scoped retrieval, and\nreranking disabled.\n• OpenViking [47]: OpenViking organizes session-level memories hierarchically for retrieval. We use\nversion 0.4.17.1 with a 32,768-token submission budget and retain the top 20 user-scoped contexts\nwithout additional reranking.\n• Graphiti [48]: Graphiti represents memory as a temporal knowledge graph. We use version 0.30.1,\ndataset-specific Episode boundaries, and EDGE hybrid RRF to retrieve the top-20 facts within the current\ngroup.\n42\n\n\f• Temp-LoRA [49]: Temp-LoRA adapts model parameters separately for each history. We train a rank-64\ntemporary LoRA on non-overlapping 1,024-token chunks for two epochs per chunk. We use Qwen3.6-35BA3B as its backbone.\n• Doc-to-LoRA [50]: Doc-to-LoRA maps document chunks into lightweight parameter updates. Using public\nQwen3-4B weights, we generate rank-8 down_proj LoRAs and retain only the final three chunk adapters.\n• SHINE [51]: SHINE encodes historical information as generated low-rank parameter updates. We use\npublic Qwen3-8B weights and rank-8 LoRAs on all linear layers. We use the full history when it contains at\nmost 2,380 tokens. Otherwise, we retain only the last 2,380 tokens before generating the LoRA.\n• 𝛿-mem [52]: 𝛿-mem maintains a recurrent memory state updated during inference. We use the rank-8\nQwen3-4B TSW adapter and write each history into its online state token by token.\n• LiveMem [53]: We choose LiveMem-RL, which maintains a recurrent state while releasing historical\nkey-value caches after writing. We use its Qwen3-4B implementation and retain the latest 257K tokens on\nMemoryAgentBench.\n• MemoryLLM [54]: MemoryLLM stores history in a fixed pool of learned memory vectors. We use\nMemoryLLM-8B-Chat with 12,800 vectors per layer and a 2,048-token query window, completing 1,993\nMemoryAgentBench questions.\n• ICAE [55]: ICAE compresses each segment into continuous latent slots. We use Mistral-7B-Instruct-v0.2,\n128 slots per segment, and FIFO retention of four segments; this differs from the original SpanExtrap setting.\nFor the retrieval processes, Graphiti, Mem0, MemOS, and OpenViking use BGE-M3 embeddings and\nthe corresponding DeepSeek or Qwen3.6 branch model for extraction and answering. We disable the\nthinking mode of Qwen3.6. When Graphiti or Mem0 extraction calls are blocked, they fall back to the local\nQwen3.6-35B-A3B model.\nD.3\nD.3.1\n\nDetails of Pipelines and Prompts in Memory Evaluation\nQuery Prompt Construction\n\nWe do not add generic few-shot demonstrations to the memory benchmarks. For the full context, the visible\nhistory and the current query are included in the same request. When a history exceeds the local context limit\nof 256K tokens, we retain its most recent suffix. For parametric memory methods, the history is first written\nthrough the protocol supported by the method. At query time, the model receives only the task instruction and\nthe current question, without a second copy of the history. For external memory systems, retrieved memories\nfrom the current scope are inserted into a fixed answer template. Within each benchmark, Graphiti, Mem0,\nMemOS, and OpenViking use the same answer template and differ only in the retrieved content. Gold answers,\nevidence identifiers, and scoring labels are never included in the answering-model input.\nThe principal English query templates are given below. Braced expressions denote fields instantiated from\neach evaluation example at runtime. Unless stated otherwise, the templates shown first are those used by the\nfull context models.\nLoCoMo. The complete history and the question are placed in a single user message:\nBelow is a conversation between two people. Answer the question using only this conversation.\n### {session_id}\nDate: {timestamp}\n{speaker}: {content}\n...\n\n43\n\n\fQuestion: {question}\nAnswer briefly. Do not explain your reasoning.\n\nLongMemEval-S. The complete history and the current date are formatted in a single user message:\nI will give you several history chats between you and a user. Please answer the question based\non the relevant chat history.\nHistory Chats:\n### Session {n}:\nSession Date: {timestamp}\nSession Content:\n{role}: {content}\n...\nCurrent Date: {question_date}\nQuestion: {question}\nAnswer:\n\nMemBench. For participation tasks, the prompt begins with:\nBelow is the complete chronological conversation between a user and an assistant. Answer the\nmultiple-choice question using only this history.\n\nFor observation tasks, it instead begins with:\nBelow is the complete chronological sequence of user messages observed by an assistant. Answer\nthe multiple-choice question using only these observations.\n\nBoth task types then use the same structure:\nHistory:\nUser / Assistant or Observed user: {content}\n...\nCurrent time: {question_time}\nQuestion: {question}\nChoices:\nA. {option}\nB. {option}\nC. {option}\nD. {option}\nReturn only the correct option letter: A, B, C, or D.\n\nPersonaMem-32K. History messages retain their original roles and chronological order. Except for the\nfirst message, system messages in the history are converted to user messages and prefixed with [System\nmessage]. The final user message is:\n\n44\n\n\f{question}\nFind the most appropriate model response and give your final answer (a), (b), (c), or (d) after\nthe special token &lt;final_answer&gt;.\n{options_text}\n\nPS-Bench. The history and the latest user input are placed in one user message:\nReply in a natural, spoken tone, optionally using relevant memory or user personality details\nwhen appropriate.\nConversation history:\n### {session_id}\nDate: {timestamp}\n{speaker}: {content}\n...\nUser’s latest input: {question}\n\nPerMemSafe-conv64. The system message is fixed as follows:\nYou are a helpful assistant.\n\nHistorical messages retain their original roles, and the current question is appended as the final user message:\n{question}\n\nMemora Weekly. The system message is:\nYou are an AI assistant with memory capabilities. The conversation history below contains ALL\nyour previous conversations with this user - this history is PROVIDED TO YOU in this prompt.\nYour task is to answer the user’s question based EXCLUSIVELY on the conversation history that is\nprovided below. The conversation history contains all the information you need to answer\nquestions about the user’s preferences, activities, goals, and past interactions.\nIMPORTANT: Today’s date is {question_date}. When answering questions about time periods (e.g., ’\nlast 3 months’, ’recent’, ’this week’), calculate them relative to today’s date ({\nquestion_date}).\nCRITICAL INSTRUCTIONS:\n1. The conversation history is PROVIDED IN THIS PROMPT - you have full access to it\n2. Answer the question using ONLY information from the conversation history provided below\n3. Do NOT say \"I don’t have access\" or \"I cannot access\" - you DO have access because the\nhistory is right here in this prompt\n4. Extract relevant information from the conversation history and use it to answer the question\n5. If you learned about user preferences, activities, content, or goals from the conversations\nbelow, use them in your response\n\n45\n\n\f6. If information was mentioned in earlier conversations but later updated or deleted, use only\nthe most recent information\n7. Be specific and reference relevant details from the conversations\n8. If the conversation history doesn’t contain enough information to answer the question, say so\nclearly (but do NOT say you don’t have access)\n9. Do not make up information that wasn’t in the conversations\n\nThe two sentences involving question_date are included only when that field is available. The user message\nis:\n# Conversation History\nThe following contains all your previous conversations with this user, in chronological order:\n## Session {session_id} - {timestamp}\nUser / Assistant: {content}\n...\n--# Current Question\nUser: {question}\nBased on the conversation history above, please provide your answer:\n\nMemOps. The complete history is organized into context blocks in one user message:\nOperation Evaluation: I will give you conversation history between you and a user. Answer based\nonly on the provided conversation context. First perform operation detection, target\nextraction, and state transition reasoning over the provided context. If the context does\nnot contain enough information, say that you do not know. If the history contains an\ninstruction to forget or update a fact, follow the latest such instruction and do not reveal\nforgotten information.\nForget redaction rules:\n- For a forget operation, predicted_operations[].old_value must not output the forgotten raw\nvalue. Use \"[FORGOTTEN]\", null, or a safe redacted description such as \"removed target\".\n- For a forget operation, safe provenance may quote the deletion request (for example, \"please\nforget my UBC GPA\"), but do not quote the original fact that contained the forgotten raw\nvalue.\nReturn only compact JSON with exactly these top-level fields:\n{\n\"predicted_operations\": [\n{\n\"type\": \"remember | forget | update | reflect\",\n\"target\": \"memory target affected\",\n\"old_value\": \"old value if any; for forget use [FORGOTTEN], null, or a safe redacted\ndescription\",\n\"new_value\": \"new/current/inferred value if any\",\n\"state_after\": \"active | forgotten | updated | insufficient | inferred\",\n\"provenance\": [\"short quote or context block id\"]\n}\n],\n\"answer\": \"final answer to the question\",\n\n46\n\n\f\"provenance\": [\"short quote or context block id used for the answer\"]\n}\nConversation Context:\n### Context block {n}\nContent:\n{role}: {content}\nQuestion: {question}\nJSON:\n\nFor candidate-disambiguation examples, the following block is inserted immediately before the question:\nCandidate options:\n{candidate_options}\nChoose one candidate. You may answer with the letter or the full option text.\n\nImplicitMemBench. We add no task instruction. Historical messages retain their original roles. Except for\nthe first message, system messages are converted to user messages and prefixed with [System feedback].\nThe original current probe is appended verbatim as the final user message.\nMemoryAgentBench. The system message is fixed as follows:\nYou are a helpful assistant that can read the context and memorize it for future retrieval.\n\nThe user message concatenates a source-specific memory segment and a source-specific query segment. The\nvalue of {time_stamp} is fixed to 1970-01-01 00:00:00. The prefixes below identify the source family\nand are not sent to the model. The memory segments are:\nruler: Dialogue between User and Assistant {time_stamp}\n&lt;User&gt; The following context is the documents I have read:\n{context}\n&lt;Assistant&gt; I have learned the documents and I will answer the question you ask.\nlongmemeval: Dialogue between User and Assistant\n&lt;User&gt; The following context is the conversation between the user and the assistant:\n{context}\n&lt;Assistant&gt; I have memorized the conversation and I will answer the question you ask.\neventqa: Dialogue between User and Assistant {time_stamp}\n&lt;User&gt; The following context is the book excerpt:\n{context}\n&lt;Assistant&gt; I have read the book excerpt and I will answer the question you ask.\nicl: Dialogue between User and Assistant {time_stamp}\n&lt;User&gt; The following context is the examples I have learned:\n{context}\n&lt;Assistant&gt; I have learned the examples and I will answer the question you ask.\nrecsys: Dialogue between User and Assistant {time_stamp}\n&lt;User&gt; The following context is the dialogues between a user and recommender system:\n{context}\n\n47\n\n\f&lt;Assistant&gt; I have memorized the dialogues and I will answer the question you ask.\ninfbench: Dialogue between User and Assistant {time_stamp}\n&lt;User&gt; The following context is the book I have read:\n{context}\n&lt;Assistant&gt; I have read the book and I will answer the question you ask.\ndetective: Dialogue between User and Assistant {time_stamp}\n&lt;User&gt; The following context is the book I have read:\n{context}\n&lt;Assistant&gt; I have read the book and I will answer the question you ask.\nfactconsolidation: Dialogue between User and Assistant {time_stamp}\n&lt;User&gt; The following context is the facts I have learned:\n{context}\n&lt;Assistant&gt; I have learned the facts and I will answer the question you ask.\n\nThe corresponding query segments are:\nruler: Answer the question based on the memorized documents. Only give me the answer and do not\noutput any other words.\nQuestion: {question}\nAnswer:\nlongmemeval: The history chats are between you and a user. Based on the relevant chat history,\nanswer the question as concisely as you can, using a single phrase if possible.\n{question}\nAnswer:\neventqa: Based on the context you memorized, complete the task below:\n{question}\nThe event that happens next is:\nicl: Use the provided mapping from the context to numerical label to assign a numerical label to\nthe context. Only output \"label: {{label}}\" and nothing else.\n{question}\nlabel:\nrecsys: Pretend you are a movie recommender system. You need to recommend movies based on the\ndialogues you have memorized. Now I will give you a new conversation between a user and you\n(a recommender system). Based on the conversation, you reply me with 20 recommendations\nwithout extra sentences.\nFor Example:\n[Conversation]\n\n48\n\n\fThe recommendations are:\n1.movie1\n2.movie2\n...\nHere is the conversation: {question}\nThe recommendations are:\ninfbench: You are given a book above and you are tasked to summarize it.\n{question}\nNow summarize the book.\ndetective: Based on the context you memorized, answer the question below. You are required to\nanswer the question based on the strict output format.\n{question}\nfactconsolidation: Pretend you are a knowledge management system. Each fact in the knowledge\npool is provided with a serial number at the beginning, and the newer fact has larger serial\nnumber. You need to solve the conflicts of facts in the knowledge pool by finding the\nnewest fact with larger serial number. You need to answer a question based on this rule. You\nshould give a very concise answer without saying other words for the question **only** from\nthe knowledge pool you have memorized rather than the real facts in real world.\nFor example:\n[Knowledge Pool]\nQuestion: Based on the provided Knowledge Pool, what is the name of the current president of\nRussia?\nAnswer: Donald Trump\nNow Answer the Question: Based on the provided Knowledge Pool, {question}\nAnswer:\n\nBEAM-1M. The system message is:\nYou are a helpful assistant answering questions about a long-running conversation. Use only the\nconversation information available to you, respect later updates, and do not invent missing\ndetails.\n\nEach historical record in the user message is formatted as:\n[{session_id} | {timestamp}]\nUser / Assistant: {content}\n\nThe question segment is:\n\n49\n\n\fOnly provide the answer without explaining your reasoning.\nPut one event on each line in chronological order.\nQuestion: {question}\nAnswer:\n\nThe second instruction is included only for Event Ordering and is omitted for all other BEAM-1M capabilities.\nMemory-query adaptation and retrieval-template construction. The full context setting retains each\ndataset’s original references to the history. After a memory method has written the history, however, the query\nmessage no longer contains the history body. We therefore replace only statements that would incorrectly\nclaim that the history remains in the current prompt. The question, answer choices, output format, and all\nother task instructions remain unchanged. For Graphiti, Mem0, MemOS, and OpenViking, these adaptations\nare combined with a benchmark-frozen retrieval template. All four systems use the same template for a\ngiven benchmark; only the entries represented by [Memory N] differ. The resulting construction for each\nbenchmark is described below.\nLoCoMo. For memory-based evaluation, “Below is a conversation between two people. Answer the question\nusing only this conversation.” is replaced by “Answer the question using only the conversation stored in\nyour memory.” In the external-memory version, the retrieved content is introduced by “Below are retrieved\nmemories from a conversation between two people.” Open-ended questions require a brief answer, whereas\nmultiple-choice questions require only (a) or (b).\nLongMemEval-S. The opening instruction is changed from “I will give you several history chats between you\nand a user. Please answer the question based on the relevant chat history.” to “Answer the question based\non the relevant chat history stored in your memory.” The empty History Chats: block is removed. For\nexternal memory systems, the query contains Retrieved Memory Chats, the current date, the question, and\nan Answer: cue.\nMemBench. For participation tasks, the opening instruction becomes “Answer the multiple-choice question\nusing only the conversation stored in your memory.” For observation tasks, it becomes “Answer the multiplechoice question using only the observations stored in your memory.” The empty History: block is removed\nin both cases. The external-memory query contains a Retrieved memories section followed by the current\ntime, the question, and answer choices A–D, and requires only the option letter.\nPersonaMem-32K. The original query does not state that the history appears in the current prompt, so\nremoving the history body requires no additional wording change. For external memory systems, the query\ncontains the retrieved memories, the question, four candidate responses, and the original &lt;final_answer&gt;\nconstraint.\nPS-Bench. No query-stem replacement is required after the history body is removed. The external-memory\nquery combines the natural-tone instruction, the retrieved memories, and the current user input. Base questions\nomit the memory section because they are evaluated with an empty state.\nPerMemSafe-conv64. No additional query-stem replacement is required. The system message remains “You\nare a helpful assistant.”, and the external-memory user message contains the retrieved memories followed by\nthe current question.\nMemora Weekly. Statements asserting that the history is supplied in the current prompt are changed\nconsistently to state that it is stored in and accessible from memory. Specifically, “The conversation history\n\n50\n\n\fbelow contains ALL your previous conversations with this user—this history is PROVIDED TO YOU in\nthis prompt” becomes “Your memory contains ALL previous conversations with this user”; “conversation\nhistory that is provided below” becomes “conversation history stored in memory”; “The conversation history\nis PROVIDED IN THIS PROMPT—you have full access to it” becomes “The conversation history is stored in\nmemory—you have access to it”; and “because the history is right here in this prompt” becomes “because the\nhistory is available in memory.” For external memory systems, the system instruction requires the answer to\nrely only on retrieved memories and to use the most recent value. The user message contains # Retrieved\nMemories followed by # Current Question.\nMemOps. “I will give you conversation history between you and a user. Answer based only on the provided\nconversation context.” is replaced by “Answer based only on the conversation history stored in your memory.”\nThe phrase “transition reasoning over the provided context” becomes “transition reasoning over that memory”;\n“If the context does not contain enough information” becomes “If your memory does not contain enough\ninformation”; and “If the history contains an instruction to forget or update a fact” becomes “If your memory\ncontains an instruction to forget or update a fact.” The empty Conversation Context: block is removed.\nThe external-memory query retains the operation-detection and forget-redaction instructions and contains a\nRetrieved Memory Context section, optional candidate choices, the question, and the JSON: output cue.\nImplicitMemBench. Removing the history body requires no additional wording change. In the externalmemory template, Retrieved memories is followed directly by the Current probe; the expected response\npattern and scoring rubric are not included.\nMemoryAgentBench. Removing the history body requires no additional wording change. The externalmemory query retains the fixed system message, describes the retrieved memories according to the source\nfamily, and appends the corresponding source-specific query.\nBEAM-1M. Removing the history body requires no additional wording change. The external-memory\ntemplate contains # CONTEXT, # INSTRUCTIONS, # QUESTION, and # ANSWER. Event Ordering additionally\nrequires one event per line in chronological order.\nD.3.2\n\nDecoding Configuration\n\nAll formal comparisons use the same decoding configuration for every method and condition within a given\nbenchmark. The only exception is the Priming subtask of ImplicitMemBench, for which the temperature is\nset to 0.8. All other tasks use temperature 0. The Qwen3.6 branch disables Thinking for every request. The\nDeepSeek branch uses the official chat template and verifies before evaluation that Thinking is disabled. The\nmodel context window is limited to 256K tokens, and chunked prefilling uses a chunk size of 8,192 tokens. If\ngeneration reaches the benchmark-specific maximum length without producing an end-of-sequence token, we\nretain the sample and score the actual generated output rather than discarding it.\nThe maximum generation length is benchmark-specific. LoCoMo and LongMemEval-S use a maximum of\n512 tokens, while MemBench uses a maximum of 16 tokens. PS-Bench uses a maximum of 512 tokens.\nPersonaMem-32K uses a maximum of 2,048 tokens. MemOps, PerMemSafe-conv64, and Memora Weekly\nalso use a maximum of 2,048 tokens. ImplicitMemBench uses a maximum of 4,096 tokens.\nFor BEAM-1M, the maximum depends on the capability being evaluated. Abstention, Information Extraction,\nKnowledge Update, and Temporal Reasoning use 512 tokens. Contradiction Resolution, Instruction Following,\nMulti-session Reasoning, and Preference Following use 1,024 tokens. Event Ordering uses 2,048 tokens, and\nSummarization uses 4,096 tokens.\nFor MemoryAgentBench, the maximum is source- and task-specific. RULER QA uses 50 tokens, EventQA\n51\n\n\fuses 40 tokens, the LongMemEval-S source uses 50 tokens, recommendation tasks use 300 tokens, and ICL\ntasks use 20 tokens. The maximum is 1,200 tokens for summarization, 2,000 tokens for DetectiveQA, and 10\ntokens for FactConsolidation.\nD.4\n\nDetails of Pipelines and Prompts in General Evaluation\n\nReasoning modes, sampling, and context construction. All evaluation configurations within a benchmark\nuse the same prompt version, parser, scorer, and corresponding implementation version. General-capability\nevaluations use Thinking mode for both the DeepSeek-V4-Flash and Qwen3.6-35B-A3B branches. For\nDeepSeek-V4-Flash, we set reasoning_effort=high, temperature to 1.0, top_p to 1.0, and presence\npenalty to 0.0. DeepSeek-V4-Flash and MemT-1.0-Flash use a maximum output budget of 131,072 tokens\nwithin a total context window of 262,144 tokens, with the output budget adjusted to the remaining context\ncapacity. For Qwen3.6-35B-A3B, we set temperature to 1.0, top_p to 0.95, top_k to 20, min_p to 0.0,\npresence penalty to 1.5, and repetition penalty to 1.0. The Qwen branch uses a maximum output budget of\n81,920 tokens. Both output budgets include reasoning and answer tokens.\nThe Qwen branch uses its native 262,144-token context window for all tasks except LongBench v2. For Qwen\non LongBench v2, we use the official YaRN configuration with an expansion factor of 4, yielding an effective\ncontext window of 1,010,000 tokens. For LongBench v2, target inputs follow the official middle-truncation\nprocedure. For the backbone noise condition, the fixed demonstrations are added after this truncation and\nare excluded from the target-input truncation. The native-memory condition uses the same truncated target\ninput. The generation budgets above replace the source implementations’ default output limits; LongBench v2\nretains its official prompt construction, intermediate truncation, answer extraction, and scoring rules.\nThe fixed demonstrations provide the irrelevant information used in the noise setting described in Section 6.3.\nThey consist of question–answer examples whose primary capability differs from that of the target benchmark.\nSpecifically, we use three BigCodeBench-Hard examples for MMLU-Pro and GPQA Diamond, and ten AIME\n2026 examples for IFEval, LongBench v2, BigCodeBench-Hard, and LiveCodeBench v6. Each demonstration\nset contains fewer than 2,048 tokens. For each benchmark, the same examples are prepended to the backbone’s\ninput context or written into an initially empty MemT-1.0 memory state in a single commit before evaluation.\nEach question independently reads the resulting state, which remains fixed during evaluation. Selection is\nindependent of model outputs and evaluation scores and excludes target questions, direct rewrites of target\nanswers, and native few-shot examples.\nMMLU-Pro. We use the official subject-specific five-shot chain-of-thought prompt. The model answer is\nparsed only when an explicit answer marker is followed by an option from A–J or when an A–J option appears\non a separate line. We report micro-averaged accuracy. Unparseable answers and answers containing mutually\nconflicting choices are counted as incorrect.\nGPQA Diamond. For each underlying question, we evaluate it eight times using a fixed answer-option order.\nEvery evaluation condition shares exactly the same option orders. We first aggregate the eight responses\nwithin each underlying question and then compute accuracy over the 198 underlying questions.\nIFEval. We retain the dataset’s original prompts and add no task-level few-shot examples. The official\nprogrammatic constraint checker is applied to every instruction. We report prompt-level strict accuracy,\ncounting a prompt as correct only when all of its associated constraints are satisfied.\nLongBench v2. We use the official zero-shot direct-answer prompt. Inputs longer than 120,000 tokens are\ntruncated according to the official middle-truncation procedure using the o200k_base tokenizer. Answers are\nextracted with the official implementation at commit c5ea10b, and we report accuracy.\n\n52\n\n\fBigCodeBench-Hard. We use the v0.1.4 Hard/Instruct tasks without prefilled code and generate one candidate\nsolution per task. Each candidate is executed in the official BigCodeBench v0.2.4 container. We report\nPass@1. Execution failures and outputs containing no valid code are counted as incorrect.\nLiveCodeBench v6. We use the cumulative release_v6 test split and the official code generation prompt,\ngenerating one candidate solution per problem. Candidates are executed with the official LiveCodeBench\nrunner at commit 28fef95. We report Pass@1, counting execution failures and outputs without valid code as\nincorrect.\nAll conditions within a benchmark use the same task prompts, demonstration selection, parsing rules,\nscorer versions, and execution settings. Programmatic checks and code execution are performed with the\nfrozen versions specified above. Empty outputs, generation failures, and unparseable answers remain in the\npredetermined denominator and are assigned the failure outcome defined by the corresponding benchmark.\nD.5\n\nDetails of Storage Overhead Evaluation\n\nFor the storage overhead evaluation, note that process-level max_memory_allocated includes model weights\nand memory pools, and therefore does not reflect the per-session storage overhead.\nFor full-context inference, we report the logical state size after history preparation and before querying. The\nstorage grows linearly with the visible context length and is capped at 256K tokens on BEAM. DenseRAG\nstores FP32 retrieval vectors together with their corresponding chunk texts. Temp-LoRA stores the query-time\nBF16 adapter while excluding optimizer states. MemT-1.0 stores a full-rank memory state.\n\nE\n\nAdditional Details on Agentic Tasks\n\nE.1\nE.1.1\n\nExperience Bank and Training Data Construction\nExperience Bank Construction\n\nWe construct the experience bank in four stages. First, we treat each trajectory as an episode and annotate\nit with its key decisions and a state signature comprising topic tags, the first tool used, and the error code.\nSecond, episodes with the same state signature are pooled, and DeepSeek-V4-Pro [16] induces a policy of the\nform “when condition 𝑋 holds, take action 𝑌 , verify with 𝑍, and watch out for 𝑊” from each pool. Each policy\nmust specify a trigger observable from the agent’s state. Source-specific entities such as repository, product,\nand file names are abstracted into variables. Third, policies describing the same workflow are clustered based\non the lexical similarity of their titles, triggers, and procedures, with one policy retained as the representative\nof each cluster. Finally, DeepSeek-V4-Pro synthesizes a structured experience from the trajectories supporting\neach representative policy. An automated check verifies that the declared tools appear in the supporting\ntrajectories, and a separate LLM audit filters out experiences containing severe errors.\nWe summarize the construction funnel and the resulting experience bank in Table 8. Each experience contains\nten fields, including a retrieval description to support matching, a trigger context specifying when it applies,\nsteps and parameters specifying what to do, preconditions defining its scope of applicability, and decision\nguidance documenting preferred choices and potential pitfalls.\nMost experiences are specific, since 942 of the 1,040 derive from a single trajectory, while a few broad\nworkflows draw on hundreds. The bank emphasizes procedural guidance and verification, with verification\nand testing-related tags among the most frequent after the python tag. Issue-level retrieval provides limited\ndiscrimination among top-ranked candidates: the median difference in similarity scores between the first- and\nfifth-ranked candidates is only 0.029.\n53\n\n\fTable 8 Experience bank construction and statistics. Token counts use the Qwen3.6-35B-A3B tokenizer.\n(a) Construction stages\nSource trajectories (23,667 instances, 2,562 repositories)\nInduced policies (88.5% cite a single trajectory)\nRepresentative policies after clustering\nAudit: usable / usable with caveat / severe error\nExperiences in the final bank\n\n41,057\n3,678\n1,200\n401 / 639 / 160\n1,040\n\n(b) Bank statistics\nFields per experience\nLength as JSON / as rendered text (tokens, mean)\nRendered text, 10th / 90th percentile (tokens)\nSteps per experience (range; experiences with five steps)\nSource trajectories per experience (mean; single-source experiences)\nMost frequent tags: python / verification / testing / pytest\nTop-1 cosine similarity (mean; 10th–90th percentile)\nMedian similarity gap between top-1 and top-5\n\nE.1.2\n\n10\n715 / 456\n391 / 521\n3–6; 573\n3.0; 942\n792 / 192 / 168 / 133\n0.611; 0.556–0.668\n0.029\n\nExperience-Conditioned Trajectory Construction\n\nWe construct experience-conditioned training trajectories in five stages, as demonstrated in Figure 13:\ngenerating original trajectories, identifying candidate breakpoints, selecting and injecting experiences,\nvalidating the intervention outcomes, and serializing the resulting training examples.\nWe represent an agent trajectory as\n𝜉 = (ℎ0 , 𝑎 0 , 𝑜0 , . . . , ℎ𝑇 , 𝑎𝑇 , 𝑜𝑇 ) ,\nwhere ℎ𝑡 , 𝑎 𝑡 , and 𝑜 𝑡 denote the interaction history before step 𝑡, the action produced by the agent, and the\ncorresponding environment observation, respectively.\nBreakpoint Identification For unsuccessful trajectories, we sequentially scan the observations in each rollout.\nA step 𝑡 is marked as a candidate breakpoint based on execution feedback, including command failures,\nempty observations after normalization, and repeated unsuccessful operations. This criterion relies only on\nfeedback visible to the agent at execution time and does not access reference solutions or privileged evaluation\ninformation.\nTo prevent long trajectories from producing a disproportionate number of intervention variants, we retain\nat most eight breakpoints per rollout. If a rollout contains more than eight candidates, we sample eight of\nthem without replacement using a fixed random seed. We additionally record the total number of candidate\nbreakpoints and the positions of the retained breakpoints to ensure reproducibility. The Harness-Triggered\nevaluation setting uses the same breakpoint-detection logic, with at most one experience store operation per\ntrajectory. Before Execution evaluates robustness to experience injection timing.\nExperience Retrieval and Counterfactual Validation For each task, we first retrieve the top-10 most relevant\nentries from the experience bank. We then construct ten candidate experience subsets for every retained\nbreakpoint: one subset containing the complete top-3 entries, one containing the complete top-5 entries, and\neight three-entry subsets sampled from the top-10 retrieved entries. Random sampling is performed using a\nfixed seed associated with each task instance.\n54\n\n\f1 Original Rollout\n\n2\n\nQwen3.6-35B-A3B\n\n+ AweAgent\n\nBreakpoint Extraction &amp;\n\nExperience Matching\n\n3 Same-State Continuation\n\nOriginal Trajectory\n\nOriginal Continuation (without\n\nExperience)\n···\n\nCandidate Breakpoint\n\n···\n\nInteraction\ns₀\n\ns₁\n\ns₂\n\ns₂\n\nScale-SWE\n\ns₂\n\ns₁\n\ns₂\n\ns₃\n\nFAILURE\n\nContinuation with Experience\n\nCandidate Experience\n\nMulti-step Trajectory\ns₁\n\ns₄\n\n···\ns₀\n\nMatch\n\ns₀\n\ns₃\n\ns₃\n\n···\ns₂\n\n···\n\ns₃\n\ns₄\n\nSUCCESS\n\nExperience\n\n4 Keep Only: Failure → Success\n\n5 Build Training Samples\nTraining Sample\n\nKeep Only:\n\nFAILURE\n\nTrajectory\n\nPrefix\n···\n\nSUCCESS\n\nValidate Intervention\n\nOutcomes\n\nExperience\n\n+\n\n+\n\nSuccessful\n\nContinuation\n···\n\nFigure 13 Construction of experience-conditioned training trajectories. Retrieved experience is added at selected\nbreakpoints in unsuccessful trajectories, and execution resumes from the same state. Continuations that pass the task\ntests are retained as training samples comprising the trajectory prefix, experience, and successful continuation.\n\nEach breakpoint-experience-subset pair defines an independent continuation rollout. The resulting intervention\ntrajectory is\n(𝑔 )\n𝜉 𝑏, 𝑗 = 𝜉 ≤𝑏 ⊕ [𝑔𝑏, 𝑗 ] ⊕ 𝜉ˆ&gt;𝑏𝑏, 𝑗 .\nHere, 𝑏 indexes the selected breakpoint, 𝑗 indexes the candidate experience subset, and ⊕ denotes concatenation\nof message sequences. We retain a trajectory as a training sample if and only if\n(\nSuccess(𝜉) = 0,\nSuccess(𝜉 𝑏, 𝑗 ) = 1,\nwhich means the original trajectory must fail to solve the task, whereas the experience-conditioned continuation\nmust pass the task tests. Variants that fail the tests, terminate abnormally, or cannot be reproduced are excluded\nfrom the training set.\nTraining Sample Serialization Finally, each training sample is serialized as\n\u0010\n\u0011\n+(𝑔 )\n𝑥 𝑏, 𝑗 = 𝜉 ≤𝑏 , 𝑔𝑏, 𝑗 , 𝜉ˆ&gt;𝑏 𝑏, 𝑗 ,\nwhere the three components correspond to the triggering execution state, the experience subset, and the\nsuccessful continuation suffix, respectively. The superscript + indicates that the generated suffix passes the\ntask evaluation.\nE.1.3\n\nDataset Statistics and Splits\n\nWe partition the constructed data into training and validation sets by task, keeping all original rollouts,\nbreakpoints, and intervention variants associated with each task in the same split, and SWE-bench Verified\nserves as the test set. We report the number of tasks and repositories of each split in Table 9.\n55\n\n\fTable 9 Task and repository counts for the training and validation splits and SWE-bench Verified.\n\nStatistic\n\nTrain\n\nValidation\n\nTest (Verified)\n\nNumber of repositories\nNumber of tasks\n\n537\n2,396\n\n176\n266\n\n12\n500\n\nTable 10 Training data construction statistics and experience intervention outcomes.\n\nStatistic\n\nValue\n\nOriginal trajectories\nUnsolved original trajectories\nBreakpoint–experience variants\n\n18,820\n14,649 (77.8%)\n199,500\n\nSuccessful experience\n\n45,481 (22.8%)\n\nCalculation or description\nTarget rollouts generated by Qwen3.6-35B-A3B\n14,649/18,820\n7,901 usable trajectories produced 19,950 retained\nbreakpoints\n45,481/199,500\n\nThroughout data construction, we check breakpoint validity, consistency between trajectory prefixes and\nrepository snapshots, test outcomes, message and tool-call structure, and context length. We exclude samples\nwith environment failures, incomplete logs, test-file modifications, other invalid execution behaviors, or\noutcomes that cannot be reproduced. Samples that exceed the context-length limit or fail structural checks are\ndiscarded in full rather than truncated. The scale of the resulting data construction process and the outcomes\nof experience intervention are reported in Table 10.\nE.2\n\nTraining Details\n\nWe compare training configurations along three dimensions: the objective (CE or KD), the supervision scope\n(First-Step or Full-Suffix), and the number of successful training trajectories selected per task. Max-2 and\nMax-3 retain at most two and three successful training trajectories per task, respectively.\nE.2.1\n\nTrainable Parameters and Memory Operations\n\nWe train Metis on hyper memory blocks at decoder layers ℓ ∈ {3, 7, 11, 15, 19, 23, 27, 31, 35, 39}. Each\nblock contains 10 trainable tensors: W_k.weight, W_v.weight, pool_score.weight, gated_delta_alpha.weight,\ngated_delta_alpha.bias, gated_delta_beta.weight, gated_delta_beta.bias, query_proj.weight, query_norm.weight,\nand mem_norm.weight. This gives 100 tensors and 104,962,580 trainable parameters in total, roughly 0.3%\nof the backbone’s parameter count. The backbone runs in BF16, whereas the memory computation, state\naccumulation, and all trainable parameters are kept in FP32.\nEach memory block maintains a fixed-size memory consisting of a 512 × 512 value state and a 512 × 1 key\nnormalizer, so the memory footprint does not grow with the length of the experience. The key and value\nprojections map the hidden states of the experience to 512-dimensional vectors, while the query projection\nmaps the hidden states of the main trajectory to memory queries. On the write side, the token selector applies\nalpha top-𝑝 selection with 𝑝 = 0.9 and always retains at least one token; the delta update ratio is set to 0.9. On\nthe read side, the memory readout is normalized by mem_norm and fused with the backbone representation\nusing a fusion coefficient of 𝛾 = 0.9. Runtime memory is not retained across tasks. The checkpoint contains\nonly the trainable memory parameters listed above, and every new task or trajectory starts from an empty\nmemory state.\n\n56\n\n\fE.2.2\n\nSample Serialization and Supervision Masks\n\nEach training sample corresponds to exactly one write event, and the memory is reset to empty at the start of\nevery sample. Within a sample, tokens are split into two attention domains: the experience domain, which\ncontains the experience text, and the main domain, which contains the trajectory prefix and the successful\ncontinuation. The main domain does not attend to the experience domain, so the experience can influence\nthe main trajectory only through memory.\nReplay then proceeds in three stages, which mirror the injection of experience at an execution breakpoint: (1)\nwrite: the experience is stored in memory at the end of the experience segment; (2) prefix replay: the maintrajectory prefix is processed with memory reading disabled; and (3) continuation replay: memory reading is\nenabled from the breakpoint onward, so that all subsequent predictions can access the experience-derived state\n𝑀. Consequently, the prediction of the first supervised token is already conditioned on the stored memory. In\nthe training configuration, the write offset is set to zero and no query store operation is performed.\nSupervision Settings Within this replay procedure, we consider two supervision settings. They differ in how\nmuch of the successful suffix is supervised and in where the sequence is truncated. Both are trained with\nteacher forcing on the original token sequences.\nFull-Suffix. The loss covers every assistant turn in the successful suffix. For each such turn, the target\ncomprises all tokens following the assistant role header: the reasoning text, the response body, the tool\ncalls, the structural tokens that delimit them, and the closing &lt;|im_end|&gt;\\n. All other tokens serve only\nas conditioning information. These include the experience, the prefix, the role headers, tool responses, and\nuser and system messages. Because training is teacher-forced, each later assistant turn is conditioned on the\nground-truth tool responses recorded in the original trajectory, rather than on the results of executing the\nmodel’s own actions.\nFirst-Step. The loss covers only the first assistant turn after the breakpoint, focusing supervision on the\nimmediate continuation. We derive these samples from Full-Suffix trajectories whose assistant turns contain\nreasoning text. For each trajectory, we select the first assistant turn of the successful suffix and truncate the\nsequence immediately after the closing &lt;|im_end|&gt;\\n of this turn. The model input therefore consists of the\nexperience (written to memory), the full prefix, and the selected turn.\nUnder teacher forcing, every token of the selected turn is predicted from the ground-truth tokens that precede\nit rather than from tokens generated by the model. The loss is computed only over this turn, using the same\ntarget definition as in Full-Suffix. Because truncation removes only trailing tokens, the breakpoint position\nand the original token IDs remain unchanged, and no re-tokenization is required.\nE.2.3\n\nTraining Objectives and Hyperparameters\n\nWe consider two training objectives: hard-label cross-entropy (CE), and knowledge distillation (KD). The\nstudent accesses experience only through native memory, the teacher uses the same frozen backbone with the\nmemory modules disabled and receives the experience as text in prefix–experience–suffix order. Both models\nuse teacher forcing on the same successful continuation, with teacher and student predictions aligned by target\ntoken rather than absolute input position.\nLet T denote the valid supervised positions across all ranks and gradient-accumulation microbatches in\none optimizer step, excluding padding, and let 𝑁 = |T |. For each position 𝑡, let 𝑦 𝑡 be the target token and\nlet 𝑝 S𝑡 = softmax(𝑧 S𝑡 ) be the student distribution over the full vocabulary V. We use temperature 𝜏 = 1\nthroughout.\n\n57\n\n\fCE. We minimize the negative log-likelihood of the recorded target tokens:\nLCE = −\n\n1 ∑︁\nlog 𝑝 S𝑡 ,𝑦𝑡 .\n𝑁 𝑡∈T\n\nKD. At each supervised position, we retain the 𝐾 = 64 tokens with the largest teacher logits, denoted by K𝑡 ,\nand renormalize the teacher distribution over this set:\n𝑞 T𝑡 ,𝑣 = Í\n\nexp(𝑧T𝑡 ,𝑣 )\nT\n𝑢∈ K𝑡 exp(𝑧 𝑡 ,𝑢 )\n\n,\n\n𝑣 ∈ K𝑡 .\n\nThe distillation objective is\nLKD =\n\n𝑞 T𝑡 ,𝑣\n1 ∑︁ ∑︁ T\n𝑞 𝑡 ,𝑣 log S .\n𝑁 𝑡∈T\n𝑝 𝑡 ,𝑣\n𝑣 ∈ K𝑡\n\nOnly the teacher distribution is truncated; the student remains normalized over the full vocabulary. This\nobjective transfers experience-conditioned predictions from the textual-context teacher to the memoryconditioned student.\nThe training and validation sets are split by task, so no task appears in both.\nTraining uses task interleaving. Unpacked records are replayed for three epochs, and within each epoch they\nare arranged in a task-interleaved order determined by a fixed base seed combined with the epoch index.\nFor the Full-Suffix-Max3 run, we additionally use sequence packing to improve training throughput. Packs are\nfirst constructed with a fixed seed, without splitting any trajectory across packs, and are then scheduled in a\ndeterministic order. Each pack contains at most 131,072 tokens. Trajectories in the same pack do not share\nmemory: the memory is reset, written, and read independently for each trajectory. Because every step of the\nschedule is determined by fixed seeds, the data order of each run is fully reproducible.\nEach microbatch on a given rank contains exactly one trajectory or one complete pack. Padding slots are\nassigned a supervised-token count of zero, which ensures that each valid supervised token is counted exactly\nonce in loss normalization. We optimize with AdamW, using FP32 optimizer states sharded across ranks, a\nlearning rate of 2 × 10−5 , and three warmup steps.\nE.2.4\n\nTraining Diagnostics\n\nWe compare CE and KD across four paired training configurations, combining First-Step or Full-Suffix\nsupervision with the Max-2 or Max-3 data setting. Within each pair, initialization, training data, and\noptimization hyperparameters are matched. CE and KD optimize different objectives, so their training losses\nare not directly comparable. We therefore monitor hard-label validation negative log-likelihood (NLL) for\nboth. Validation comparisons are made within the same supervision scope and data setting.\nOptimization and Validation Behavior. Figure 14 shows decreasing validation NLL under both objectives,\nwith most of the reduction occurring within the first 40 optimizer steps. CE achieves lower final validation\nNLL than KD in all four paired configurations (Table 11). For Full-Suffix-Max2, CE reduces body-token NLL\nfrom 0.2925 to 0.1866, compared with 0.2910 under KD. The same pattern holds for tool-call tokens (0.0603\nto 0.0461 under CE versus 0.0545 under KD) and reasoning tokens (0.5033 to 0.4555 versus 0.4749).\n\n58\n\n\f(a) CE objective\n\n(b) KD objective\n\nFigure 14 Training loss and validation NLL under CE and KD objectives. Within each panel, the left and right\ncolumns show training loss and validation NLL, respectively. Solid blue curves denote Max-2, and dashed orange curves\ndenote Max-3.\nTable 11 Validation NLL and preliminary agent performance under CE and KD. Average success rates are measured\non the 100-task development subset of SWE-bench Verified with three runs per task. Validation NLL uses hard-label\ntargets; lower is better.\nValidation NLL\nConfiguration\nFirst-Step-Max2\nFirst-Step-Max3\nFull-Suffix-Max2\nFull-Suffix-Max3\n\nAvg. Success (%)\n\nCE\n\nKD\n\nCE\n\nKD\n\n0.3452\n0.3373\n0.1795\n0.1771\n\n0.4304\n0.4267\n0.2005\n0.1996\n\n12.5\n34.1\n37.5\n22.7\n\n52.0\n52.0\n54.3\n52.7\n\nRelation to Agent Performance. KD achieves higher average success rates than CE despite its higher\nvalidation NLL (Table 11). For example, Full-Suffix-Max2 records a preliminary success rate of 37.5% under\nCE, compared with 54.3% under KD, while its validation NLL is lower under CE (0.1795 versus 0.2005). The\nother three configurations exhibit the same qualitative pattern. These results motivate our selection of KD\nfor all subsequent agent evaluations and ablations. We use validation NLL to monitor optimization, while\nselecting among KD configurations through repeated agent executions.\nE.3\nE.3.1\n\nAdditional Results\nTraining Configuration Comparison\n\nTraining Configurations. In Table 12, we compare four Metis KD configurations on the 100-task development\nsubset of SWE-bench Verified under the Before Execution setting, with three runs per task. This subset is\nincluded in the full 500-task SWE-bench Verified evaluation reported in the main text. Full-Suffix-Max2\nachieves the highest average success and ties for the highest pass@3 and pass^3, motivating its selection for\nfull-benchmark Metis evaluations.\nFull-Benchmark Comparison. In Figure 15, we compare Metis and MemT-1.0-Nano with the backbone\nand textual-experience baselines on SWE-bench Verified (500 tasks) and SWE-bench Multilingual (300\ntasks). Both memory models improve average success and pass^3 over the backbone. Relative to Metis,\nMemT-1.0-Nano has higher pass@3 but lower pass^3 in all four settings.\n\n59\n\n\fTable 12 Metis KD configurations on the 100-task development subset of SWE-bench Verified under Before Execution.\nAll values are percentages; bold values indicate the highest scores in each column.\nConfiguration\n\nAvg. Success\n\npass@3\n\npass^3\n\n52.00\n52.00\n54.33\n52.67\n\n65.00\n61.00\n66.00\n66.00\n\n38.00\n42.00\n42.00\n36.00\n\nFirst-Step-Max2\nFirst-Step-Max3\nFull-Suffix-Max2\nFull-Suffix-Max3\nQwen3.6-35B-A3B (No Experience)\n\nTextual Experience (Per-Task Best)*\n\nTextual Experience (Fixed Selection)\n\nMetis\n\nSWE-bench Verified (500 tasks)\n\nMemT-1.0-Nano\n\nSWE-bench Multilingual (300 tasks)\n\nBefore Execution\n\nBefore Execution\n\n85\n\n80\n\n80\n\n77.60\n\n68.87\n\n70\n\n68.80\n\n76.40\n\n76.00\n\n78.67\n\n75\n\n73.67\n\n72.00\n71.67\n\n70.56\n\n66.07\n\n65\n\n61.60\n\n62.40\n\n61.60\n\n60\n\n60\n\n62.89\n63.33\n\n64.22\n\n65\n\n61.67\n\n60.00\n56.33\n\n55.67\n53.67\n\n55\n54.00\n\n55\n50\n\nAvg. Success\n\npass@3\n\n50\n45.33\n\n45\n\npass^3\n\nAvg. Success\n\nSWE-bench Verified (500 tasks)\n85\n77.60\n75.13\n\n69.13\n\n70\n\n78.67\n\n75\n\n77.80\n75.00\n\n73.67\n70.00\n\n70\n\n69.73\n69.60\n\nScore (%)\n\n75\n\n76.80\n\npass^3\n\nHarness-Triggered\n80\n\n83.00\n\n80\n\npass@3\n\nSWE-bench Multilingual (300 tasks)\n\nHarness-Triggered\n\nScore (%)\n\n72.67\n\n70\n\n69.33\n\nScore (%)\n\nScore (%)\n\n75\n\n77.40\n\n68.00\n\n66.07\n\n65\n\n61.80\n\n65.00\n62.80\n\n60\n\n65\n60\n\n63.00\n\n72.67\n73.00\n71.67\n\n63.56\n63.78\n61.67\n\n60.00\n\n55.33\n55.67\n\n55\n54.00\n\n55\n50\n\nAvg. Success\n\npass@3\n\n53.67\n\n50\n45\n\npass^3\n\n45.33\n\nAvg. Success\n\npass@3\n\npass^3\n\nFixed selection: top 3 experiences for Verified Before Execution; top 1 otherwise.\n* Per-Task Best uses outcome-based selection. Truncated y-axes: Verified 50–85%; Multilingual 45–80%.\n\nFigure 15 Agentic coding performance on SWE-bench Verified and SWE-bench Multilingual under Before Execution\n(top) and Harness-Triggered (bottom). Each task is evaluated in three runs.\n\nE.3.2\n\nExperience Selection\n\nWe compare Textual Experience selection strategies on SWE-bench Multilingual (Table 13). Fixed Rank-𝑘\nuses the single experience at retrieval rank 𝑘. Per-Task Best selects among three candidates by the number of\nsuccessful runs, breaking ties by retrieval rank. Since the same runs are used for selection and reporting, it\nserves as an outcome-selected reference. Rank-1 achieves the highest average success under Before Execution,\nwhereas Rank-2 performs best under Harness-Triggered. Per-Task Best outperforms the fixed-rank strategies\nin both settings, suggesting that improved experience selection could further benefit task performance.\n\nF\n\nMemory Windowing Experiment\n\n60\n\n\fTable 13 Textual Experience selection on SWE-bench Multilingual (300 tasks). Fixed Rank-𝑘 uses the single\nexperience at rank 𝑘; Per-Task Best selects among three candidates using evaluation outcomes. All values are percentages.\nMethod\n\nF.1\n\nAvg. Success\n\npass@3\n\npass^3\n\nBefore Execution\nNo Experience\nTextual Experience: Fixed Rank-1\nTextual Experience: Fixed Rank-2\nTextual Experience: Fixed Rank-3\nTextual Experience: Per-Task Best\n\n60.00\n64.22\n61.89\n63.78\n70.56\n\n73.67\n72.67\n72.67\n74.00\n78.67\n\n45.33\n56.33\n51.33\n54.33\n61.67\n\nHarness-Triggered\nNo Experience\nTextual Experience: Fixed Rank-1\nTextual Experience: Fixed Rank-2\nTextual Experience: Fixed Rank-3\nTextual Experience: Per-Task Best\n\n60.00\n63.00\n64.44\n63.56\n70.00\n\n73.67\n72.67\n72.00\n72.00\n78.67\n\n45.33\n53.67\n56.67\n54.67\n61.67\n\nExperimental Setup\n\nThe experiment compares two execution schedules for one standalone MoS memory block. Whole-pack\nexecution produces expert projections for all tokens at once; windowed execution groups complete steps,\nperforms their projections, state updates, and readout in sequence, and recomputes internal intermediates\nduring backward. Both use the same equations, weights, inputs, precision, and update kernel. Measurement\ncovers both routers, all expert projections, memory writes and reads, RMSNorm, SoftCapSiLU, fusion, and\nbackward through these computations.\nTable 14 Configuration of the MoS memory-block experiment.\nConfiguration\n\nValue\n\nHidden dimension\nMemory experts\nMemory heads per expert / head dimension\nRouter projection rank\nDecay-gate / output-gate projection rank\nParameter and projection / memory-state precision\nWriter chunk\nStep length\n\n2048\n4\n16 / 256\n128\n256 / 256\nBF16 / FP32\n64 tokens\n2048 tokens\n2048 / 4096 tokens,\nor 1 / 2 complete steps\n\nWindow budget\n\nEach pack contains two equal-length trajectories: 8K, 16K, and 32K packs comprise two 4K, 8K, and 16K\ntrajectories, respectively. Each trajectory starts from an independent initial state. All measured steps commit\nstate, while reads within a step use its incoming snapshot. Windows do not cross trajectory boundaries.\nWeights are randomly initialized and hidden-state inputs are synthetic, with fixed random seed 20261015;\ninput hidden states have standard deviation 1.0, while initial states and backward cotangents have standard\ndeviation 0.01. This workload measures the computation and activation costs of the memory branch.\nMemory updates use a fixed chunked-WY implementation.\n\n61\n\n\fF.2\n\nMeasurement Method\n\nEach pack length and window budget define a paired experiment. Both variants receive 5 warmups and 20\nmeasured trials; successive pairs alternate between whole-pack→windowed and windowed→whole-pack\norder, yielding 240 measured samples. Each window budget has an independently measured whole-pack\nbaseline, accounting for the small baseline-time differences between rows at the same length.\nCUDA events measure forward-plus-backward (F+B) time, including block execution, inner products of the\noutput and final state with fixed cotangents, and backward through the scalar objective. Input preparation,\nschedule construction, and compilation occur outside the timed region. Peak memory is PyTorch peak\nallocated, including block parameters, inputs and cotangents, outputs, gradients, and both prepared schedules.\nThis metric measures live tensor allocations, distinct from memory reserved by the caching allocator. The\nmain table reports medians; percentage changes are computed from unrounded medians.\nF.3\n\nFull Results\n\nTable 15 Full memory and time results for the MoS memory block. Each row is an independently measured\nwhole-pack/window pair; values are medians.\nPack length\n(tokens)\n8192\n8192\n16384\n16384\n32768\n32768\n\nWindow budget\nWhole-pack\n(tokens)\nmemory (GiB)\n2048\n4096\n2048\n4096\n2048\n4096\n\n12.37\n12.37\n24.19\n24.19\n47.83\n47.83\n\nWindowed\nmemory (GiB)\n\nWhole-pack\nF+B (ms)\n\nWindowed\nF+B (ms)\n\n4.85\n8.36\n5.23\n8.77\n6.03\n9.49\n\n102.1\n102.1\n211.6\n211.6\n462.7\n463.0\n\n122.9\n117.4\n246.1\n235.1\n493.5\n470.6\n\nAs pack length increases from 8K to 32K, whole-pack peak memory grows from 12.37 GiB to 47.83 GiB,\nwhile 4096-token windows grow from 8.36 GiB to 9.49 GiB. Windowing bounds the lifetime of projections\nand intermediates, while retained outputs and boundary states still grow with length. Across the three lengths,\nthe median time increases for 4096-token windows are 15.0%, 11.1%, and 1.6%, respectively, showing that\nwindowing overhead depends on the workload.\nF.4\n\nMeasurement Variability\n\nTable 16 reports medians, interquartile intervals [Q25, Q75], and sample standard deviations, all in ms.\nAll samples are retained, including whole-pack trials at 16K/2048 (378.03 ms) and 32K/2048 (562.40 ms),\nand a windowed trial at 32K/4096 (640.58 ms). The 1.6% reported in the chapter therefore describes the\nmedian time difference; individual trials exhibit variability.\n\nG\n\nCase Studies\n\nWe present four examples from a long English conversation. They show how MemT-1.0-Nano uses its memory\nas the history grows.\nMemT-1.0-Nano keeps one latent memory slot for each conversation. History enters the slot through commit\noperations. A commit reads the incoming turns and writes their content into the slot, and the original text is\n\n62\n\n\fTable 16 F+B timing variability in milliseconds. Intervals are the 25th and 75th percentiles; standard deviations use\nall measured samples.\nPack length Window budget Whole-pack median\n(tokens)\n(tokens)\n[Q25, Q75]\n8192\n8192\n16384\n16384\n32768\n32768\n\n2048\n4096\n2048\n4096\n2048\n4096\n\n102.10 [102.08, 102.12]\n102.11 [102.10, 102.12]\n211.55 [211.43, 212.02]\n211.61 [211.45, 211.87]\n462.71 [462.37, 463.87]\n462.96 [462.42, 463.68]\n\nWindowed median\n[Q25, Q75]\n\nStandard deviation\n(whole / windowed)\n\n122.87 [122.86, 122.88]\n117.42 [117.41, 117.45]\n246.11 [246.02, 246.42]\n235.07 [234.98, 235.39]\n493.48 [492.91, 494.38]\n470.58 [469.84, 471.46]\n\n0.03 / 0.02\n0.05 / 0.03\n37.19 / 0.26\n0.30 / 0.27\n22.22 / 0.94\n0.76 / 38.01\n\nnot carried forward. What the model can answer therefore depends on the writes. The examples below show\nthis at four points in the conversation. The text inside each box is given exactly as the model produced it.\nG.1\n\nExample 1: Factual Recall at 4K\n\nThe question asks for three things: the city, the purpose of the trip, and who holds the sample book. The\nmodel gives all three. It also keeps the nearby details with their owners, so Ningbo, the red toolbox, and the\nblue badge do not move to Chen Wei. The colour of the sample book is not mentioned, which is correct\nbecause the question does not ask for it.\nHistory: 4,340 tokens / first 25 turns of the conversation\nTurn 1 (user): I’m Lin Yao, and I coordinate exhibitions at\nQinghe Studio. ... I think I’d rather sit than go straight\nback out.\nTurn 2 (user): ... I went to Suzhou to set up an exhibition and\nleft my blue sample book with my colleague Chen Wei for\nsafekeeping. That was a past work visit, separate from the\nfuture exhibition I’m still arranging. ...\nTurn 3 (user): ... There’s a note about Xu Cheng, another\ncolleague: he lives in Ningbo, handles lighting, and has the\nred toolbox. ...\n[... 21 turns of unrelated conversation about drawing,\ncooking, and household objects ...]\nQuestion: Which city did I go to last week, and what was I\ndoing there? Who should I ask to get back the sample book I\nhanded over?\nAnswer: You went to **Suzhou** last week. You were there to\n**set up an exhibition**.\nYou should ask **Chen Wei** for the sample book.\n\n63\n\n\fG.2\n\nExample 2: Abstention on Missing Information at 16K\n\nThe question asks for the user’s birthday. The conversation never mentions a birthday. The model reports\nthis instead of inventing a date. The answer is only six tokens long, and its brevity is the point. The question\ninvites the model to fill the gap, and this answer does not.\nHistory: 16,457 tokens / first 105 turns of the conversation\nTurn 1 (user): I’m Lin Yao, and I coordinate exhibitions at\nQinghe Studio. ...\nTurn 18 (user): ... The cup beside me has cooled, and the tea\nleaves have collected along one edge because the table isn’t\nperfectly level. ...\n[... 87 further turns that stay on drawing, cooking, and\nwalking outside, and never mention a birthday or an age ...]\nTurn 103 (user): I once bought a set of colored pencils and\nspent more time arranging them than using them. ...\nTurn 105 (user): I kept the stub. It was easier to hold\nsideways for broad marks ... Sometimes a broken object is\nsimply broken. ...\nQuestion: What month and day is my birthday again? If we\nhaven’t talked about it, just say you don’t know.\nAnswer: I don’t know.\n\nG.3\n\nExample 3: Rule Application at 32K\n\nThe fictional page of the notebook gives two chained rules. A blue badge grants eligibility to book a room.\nEligibility to book, together with completed registration, grants eligibility to collect a silver toolbox. The\nsecond rule therefore depends on both conditions. If the registration condition is dropped, the rule grants an\nentitlement that the text never gives. The answer below applies the chain correctly to both characters. It also\nkeeps the two fictional colleagues apart, so Xu Cheng’s incomplete registration does not move to Chen Wei.\nHistory: 32,931 tokens / first 230 turns of the conversation\nTurn 4 (user): ... anyone with a blue badge is eligible to book\nRoom 2. Anyone eligible to book Room 2 who has completed\nregistration is eligible to collect a silver toolbox. There\nare no other eligibility rules. I mean eligibility only:\nbeing allowed to book or collect something doesn’t mean the\nperson has actually done it.\nTurn 5 (user): The fictional Chen Wei has a blue badge and has\ncompleted registration. The fictional Xu Cheng also has a\nblue badge but hasn’t completed registration yet. ...\n[... 224 turns in which the story is never revisited and\nneither the rules nor the characters’ circumstances are\n\n64\n\n\frestated ...]\nTurn 229 (user): A description of the sound itself makes more\nsense to me. ...\nTurn 230 (user): The radio voice has become my favorite thing\nin this invented film. ...\nQuestion: Given the rules and what we discussed about each\nperson, are Chen Wei and Xu Cheng each eligible to collect\nthe toolbox now? Briefly explain why.\nAnswer: Based on the rules provided in the text:\n* **Chen Wei:** Yes, he is eligible. He has a blue badge and\nhas completed registration.\n* **Xu Cheng:** No, he is not eligible. Although he has a\nblue badge, he has not completed registration.\n\nG.4\n\nExample 4: Tracking an Update at 64K\n\nThe exhibition is first set for Saturday at 3 p.m. in the East Hall. It is then officially changed to Sunday at 4\np.m. The venue, the admission price, and the contact person all stay the same. A move to Monday is also\nproposed, but it is never decided. A correct answer must report the change and leave the proposal out. The\nanswer below does both. It answers the second half of the question by negation instead of repeating the values.\nThe conversation runs for 508 more turns after the change, and the model still separates a settled change from\na passing suggestion.\nHistory: 65,587 tokens / first 516 turns of the conversation\nTurn 6 (user): The small exhibition I’m planning for the future\nwas originally set for Saturday at 3 p.m. in the East Hall,\nwith free admission, and Chen Wei is the contact person. ...\nI’m waiting for the final timing decision before I send a\nnotice, so the draft is still open.\nTurn 7 (user): ... the confirmation has just arrived too: the\nexhibition has officially changed to Sunday at 4 p.m.\nEverything else stays the same. This change is definite, so\nthat’s the new arrangement. ...\nTurn 8 (user): ... Someone has just suggested moving the\nexhibition to Monday, but I haven’t decided and haven’t\nannounced another change. It’s only a suggestion under\nconsideration, not a confirmed arrangement. ...\n[... 508 turns in which the exhibition is not raised again; the\nclosing turns discuss a lamp, a book, and a patch of wall ...]\nTurn 514 (user): ... The wall opposite has a little patch where\nthe paint catches the light differently. ...\nTurn 516 (user): ... My first glance supplies a shadow, then\n\n65\n\n\fthe second supplies the patch. ...\nQuestion: When was the exhibition originally scheduled, and\nwhat time was it officially changed to? Did the venue,\nadmission price or contact person change?\nAnswer: The exhibition was originally scheduled for **Saturday\nat 3 p.m.** It was officially changed to **Sunday at 4 p.m.**\nNo, the venue, admission price, or contact person did not\nchange. The change was solely to a different time on a\ndifferent day.\n\n66\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"