用概率子空间表示词嵌入,让大模型更灵活地理解上下文。
Probabilistic Subspace Manifolds for Contextual Inference in Large Language Models
- 将词向量建模为学习流形上的概率分布,增强上下文表达力。
- 在微调中保持语义一致性,减少冗余,提升结构稳定性。
- 适合需要适应新领域或抗干扰的生成任务,如长文本生成。
将标记嵌入表示为学习流形上的概率分布,可实现更灵活的上下文推理,降低表征刚性并提升语义粒度。对比实验表明,概率嵌入能提高邻域一致性、降低冗余,在微调迭代中保持更强的结构连贯性。将概率子空间融入注意力机制,使模型能够自适应地加权上下文,捕捉传统嵌入中被掩盖的潜在依赖关系。实验结果表明,该方法在对抗性扰动下更具鲁棒性,即使在扰动评估场景中也能保持上下文完整性。性能评估显示,概率表示在特定领域应用中表现出更强的适应性,跨语言领域迁移时无需大量重训练。计算开销可控,推理延迟小幅增加但换来更高的表征稳定性和上下文表达能力。编码结构化不确定性在生成任务中具有优势,尤其在需维持长序列连贯性的场景中,对模糊或上下文相关的语言结构更具处理能力。
原文摘要 · Abstract (English)
Representing token embeddings as probability distributions over learned manifolds allows for more flexible contextual inference, reducing representational rigidity while enhancing semantic granularity. Comparative evaluations demonstrate that probabilistic embeddings improve neighborhood consistency and decrease redundancy, ensuring that token relationships remain more structurally coherent across fine-tuning iterations. The integration of probabilistic subspaces within attention mechanisms facilitates more adaptive contextual weighting, enabling models to capture latent dependencies that would otherwise be obscured in conventional embeddings. Experimental results highlight increased robustness against adversarial modifications, with probabilistic embeddings preserving contextual integrity even under perturbation-based evaluation scenarios. Performance assessments indicate that probabilistic representations achieve greater adaptability in domain-specific applications, mitigating the need for extensive retraining when shifting across linguistic domains. Computational trade-offs remain within operationally feasible limits, with marginal increases in inference latency balanced against the benefits of enhanced representation stability and contextual expressiveness. The capacity to encode structured uncertainty provides advantages in generative modeling tasks, particularly where maintaining coherence across extended sequences requires a representation framework capable of handling ambiguous or context-dependent linguistic constructs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。