arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.19299cs.AIcs.CLcs.LGcs.MA
收藏

分阶段语义蒸馏:在分阶段大语言模型(LLM)智能体的低计算量非LLM替代模型中保留自由形式语义

Staged Semantic Distillation: Preserving Free-Form Semantics in a Low-Compute Non-LLM Surrogate of a Staged LLM Agent

Harbin Institute of Technology, Shenzhen, China(哈尔滨工业大学深圳校区);Nanyang Technological University, Singapore(南洋理工大学);Pingan Group, China(中国平安集团)

Zhiyang Niu, Huayuan Shen, Chuanjie Li, Mengmeng Zhao, Jiajia Zhang

AI总结:

该研究提出分阶段语义蒸馏方法,从TwinMarket轨迹训练低计算量非LLM学生模型,保留自由形式语义,在8GB GPU训练1658秒,决策耗时0.14毫秒,可高效替代分阶段LLM智能体用于市场模拟器研究。

摘要:

分阶段LLM智能体能让市场和社会模拟器更贴近现实,但一次包含200个智能体、10个指数的市场模拟器的102天运行会发出203100次语言模型调用,仅返回一个实现结果。传统低计算量蒸馏会丢失其自由形式的中间状态。我们提出分阶段语义蒸馏,这是一种从一条记录的轨迹中训练非LLM学生模型的低计算量方法,可保留非结构化语义。一个冻结的编码器将每个教师模型输出映射为1024维向量;学生模型接收带有阶段特定可见性的带类型、带阶段标签的向量,接受联合监督,并使用调度自历史进行训练。一条TwinMarket轨迹产生了一个1320万参数的确定性学生模型,在一个8GB GPU上训练耗时1658秒,运行时无需教师模型或解码器调用,也无需文本生成(每个决策耗时0.14毫秒)。其分析结果与教师模型接近(余弦相似度为0.943),在智能体之间交换语义输入时,64.7%的决策会发生变化,而匹配供体的这一比例仅为12.8%,因此该通道得以保留且有效。我们使用该替代模型研究迁移所携带的内容:在教师强制重放任务上达到0.8347的平衡准确率,在部署解码器任务上达到0.7783(95%置信区间[0.766,0.791]);与无语义重训练相比,5个随机种子的增益为+2.2(95%置信区间[1.21,3.14])。与教师模型自身的重采样水平相比,第一轮R值为97.1%(95%置信区间[95.8,98.4])和92.3%(95%置信区间[89.0,95.4]);R是诊断指标,而非准确率。一项5个随机种子的内容-调度研究分离出了增益来源:调度自历史带来了该增益(+2.2[1.21,3.14]);打乱和固定内容的控制实验重现了该结果,而内容在教师强制场景中起作用。设计规则为:投资于部署调度,让内容在教师强制操作点上发挥作用。一次包含20个随机种子、200000个决策的扫描耗时12分钟,无需LLM调用,而教师模型则需要3小时。本文是针对一个模拟器和一条轨迹的方法与案例研究贡献。

英文摘要:

Staged LLM agents make market and social simulators realistic, but one 102-day run of a 200-agent, ten-index market simulator issues 203,100 language-model calls and returns one realization. Conventional low-compute distillation drops their free-form intermediate state. We present staged semantic distillation, a low-compute method that preserves non-structured semantics in a non-LLM student trained from one recorded trace. A frozen encoder maps each teacher output to a 1024-d vector; the student sees typed stage-tagged vectors with stage-specific visibility, is jointly supervised, and trains with scheduled self-history. One TwinMarket trace yields a 13.2M-parameter deterministic student that trains in 1,658 seconds on one 8-GB GPU and runs with zero teacher or decoder calls and no text generation (0.14 ms per decision). Its analysis stays close to the teacher (cosine 0.943), and swapping semantic inputs between agents moves 64.7% of decisions against 12.8% for a matched donor, so the channel is preserved and live. We use the surrogate to study what the transfer carries. It reaches 0.8347 balanced accuracy on the teacher-forced replay and 0.7783 [0.766,0.791] on the deployment decoder; the five-seed gain over a no-semantic retrain is +2.2 [1.21,3.14]. Against the teacher's own re-sampling level, round-one R is 97.1% [95.8,98.4] and 92.3% [89.0,95.4]; R is a diagnostic, not an accuracy. A five-seed content-by-schedule study isolates the gain: scheduled self-history carries it (+2.2 [1.21,3.14]); shuffled and constant content controls reproduce it, while content matters teacher-forced. The design rule: invest in the deployment schedule, let content earn its place at the teacher-forced operating point. A 20-seed, 200,000-decision sweep takes 12 minutes with zero LLM calls, versus three hours for the teacher. The paper is a method-and-case-study contribution on one simulator and trace.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑