arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.06902cs.LG
收藏

TALAN:面向大型语言模型目标后训练的任务对齐潜在自适应网络

TALAN: Task-Aligned Latent Adaptation Networks for Targeted Post-Training of Large Language Models

Meta AI

Chengkai Zhang, Ziteng Liu, Junpu Wang, Zeyi Tao, Yang Wang, Sagar Chordia, Qin Huang

AI总结:

提出TALAN,一种序列条件潜在旁路,插入Transformer残差流并与低秩适配器协同训练,在STEM/代码基准上平均提升LoRA 1.41点、DoRA 1.85点,仅增加<1%可训练参数和1.01-1.02倍推理开销。

摘要:

目标后训练旨在提升推理、数学和代码能力而不损害原有优势。低秩适配器高效但任务全局;激活干预输入感知但通常需要独立的探针、向量或推理时引导。我们提出TALAN(任务对齐潜在自适应网络),一种序列条件潜在旁路,插入Transformer的残差流中,并在一个SFT循环中与低秩适配器协同训练。TALAN将活动序列压缩为潜在记忆,将其重新混合为令牌级扰动,并通过受控残差更新写回。它沿六个轴配置:插入位置、记忆大小、混合器、写回规则、可训练范围和梯度尺度。在四个Qwen3系列骨干和四个STEM/代码基准上,TALAN改进了匹配的LoRA和DoRA基线。使用LoRA,它实现了+1.41点的跨模型平均增益,在所有四个骨干上为正,在所有16个模型-基准单元上非负。使用DoRA,它实现了+1.85点的平均增益,在所有骨干上为正,在16个单元中的13个上为正。配对种子检查支持正平均效应但显示非平凡方差,因此我们将其视为敏感性检查。成本很小:相对于骨干的可训练参数<1%,推理开销为匹配LoRA的1.01-1.02倍。在Llama-3.2-1B上的迁移探针在LoRA和rsLoRA下,跨七个配对种子也呈正效应,支持超越Qwen的迁移。内部状态分析表明TALAN是一种小的互补激活干预。匹配的适配器更新比TALAN扰动大80-1700倍,但它们的余弦接近零;逐层测量显示这种小的正交扰动通过深度传播和放大。TALAN为在标准适配器后训练中研究可引导的激活级自适应提供了一个实用平台。

英文摘要:

Targeted post-training aims to improve reasoning, math, and code without degrading strengths. Low-rank adapters are efficient but task-global; activation interventions are input-aware but often require separate probes, vectors, or inference-time steering. We introduce TALAN (Task-Aligned Latent Adaptation Networks), a sequence-conditioned latent side path inserted into a transformer's residual stream and co-trained with a low-rank adapter in one SFT loop. TALAN compresses the active sequence into latent memory, remixes it into token-level perturbations, and writes them back through a controlled residual update. It is configured along six axes: insertion location, memory size, mixer, writeback rule, trainability scope, and gradient scale. Across four Qwen3-family backbones and four STEM/code benchmarks, TALAN improves matched LoRA and DoRA baselines. With LoRA, it yields a +1.41 point cross-model mean gain, positive on all four backbones and non-negative on all 16 model-benchmark cells. With DoRA, it yields a +1.85 point mean gain, positive on all backbones and on 13 of 16 cells. Paired seed checks support positive average effects but show nontrivial variance, so we treat them as sensitivity checks. Cost is small: <1% trainable parameters relative to the backbone and 1.01-1.02x inference overhead versus matched LoRA. A Llama-3.2-1B transfer probe is also positive under LoRA and rsLoRA across seven paired seeds, supporting a transfer beyond Qwen. Internal-state analyses suggest TALAN is a small complementary activation intervention. The matched adapter update is 80-1,700x larger than the TALAN perturbation, yet their directions have near-zero cosine; per-layer measurements show this small orthogonal perturbation propagates and amplifies through depth. TALAN offers a practical platform for studying steerable activation-level adaptation within standard adapter-based post-training.

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

↑