大语言模型中的潜在轨迹动力学:一种具有实证验证的流形演化框架
Latent Trajectory Dynamics in Large Language Models: A Manifold Evolution Framework with Empirical Validation
AI总结:
本文提出DMET框架,通过轨迹几何指标分析大语言模型生成过程中的潜在表示演化,实验证明其能有效预测文本质量并提升生成控制。
摘要:
理解大语言模型生成过程中潜在表示的演化是大规模语言模型可解释性中的核心开放问题。本文引入动力学流形演化理论(DMET),一种现象学框架,将LLM生成建模为沿低维语义流形上演化的受控动力系统。DMET通过三个可检验的代理指标:状态连续性C、吸引子聚类质量Q和拓扑持续性P,分别针对局部平滑性、中等尺度盆地结构和全局拓扑组织进行表征。在六个模型架构、四种任务类型和1080次实验运行中,所有三个指标均能预测文本质量结果——对数困惑度、语法正确性和跨句连贯性——在控制解码参数后,关联性通过Benjamini-Hochberg校正检验。消融和 sanity-check 实验确认效果源于真实的轨迹结构而非静态分布艺术。此外,实时监控C驱动适应性解码控制器,使困惑度从48.5降至14.6,相对于固定参数基线,证明潜在动态表征可直接转化为生成控制。
英文摘要:
Understanding how latent representations evolve during generation is a central open problem in large language model interpretability. We introduce \textbf{Dynamical Manifold Evolution Theory} (DMET), a phenomenological framework that models LLM generation as a controlled dynamical system evolving along a trajectory on a low-dimensional semantic manifold. DMET formalizes the structural correspondence between Transformer components and a first-order ODE governed by a semantic potential $V$, and characterizes trajectory geometry through three falsifiable proxy metrics: state continuity $C$, attractor clustering quality $Q$, and topological persistence $P$, targeting local smoothness, meso-scale basin structure, and global topological organization, respectively. Across six model architectures, four task types, and 1,080 experimental runs, all three metrics consistently predict text quality outcomes -- log-perplexity, grammaticality, and cross-sentence coherence -- after controlling for decoding parameters, with associations surviving Benjamini--Hochberg correction. Ablation and sanity-check experiments confirm that the effects arise from genuine trajectory structure rather than static distributional artefacts. Furthermore, online monitoring of $C$ drives an adaptive decoding controller that reduces perplexity from 48.5 to 14.6 relative to a fixed-parameter baseline, demonstrating that latent dynamics characterization translates directly into actionable generation control.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。