首页 > AI前沿 > Closing the Loop with Fixed-Point Self-Attention

Closing the Loop with Fixed-Point Self-Attention

arXiv机器学习 2026-11-30 14:13 4 阅读 查看原文
用户要求我作为专业的新闻排版工程师,将一段纯文本新闻正文排版成语义化的HTML片段。我需要仔细遵循给定的规则。 需要排版的文本是一段关于Fixed-Point Self-Attention (FPSA)的技术描述。让我分析文本的结构: 1. 第一句:"In a standard transformer..." - 介绍标准transformer 2. 第二句:"Fixed-Point Self-Attention (FPSA) revisits..." - 介绍FPSA的工作原理 3. 第三句:"Values $V$ are derived..." - 详细描述计算过程 4. 第四句:"FPSA preserves the parameter count..." - 描述FPSA的插入方式 5. 第五句:"Easy inputs often stabilize..." - 描述迭代次数 6. 第六句:"Compared with repeating full transformer blocks..." - 与重复完整transformer块对比 7. 第七句:"FPSA improves reproduced encoder baselines..." - 描述实验结果 8. 第八句:"These results establish..." - 总结 这是一篇技术新闻,内容连贯,主要是描述性段落。我需要判断如何划分段落和标题。 根据规则: - 每个自然段落用

包裹 - 长文用

/

划分小节 - 列表内容用
  • ,引用用
    ,代码用
    ,重要句子可用
    - 保留原文所有信息,不得增删改内容
    - 不要输出文档级标签
    
    这段文本可以看作一个整体的介绍性内容。我可以将其划分为几个部分:
    
    1. 引言部分:介绍标准transformer和FPSA的基本概念
    2. 技术细节部分:描述FPSA的工作原理
    3. 性能与实验结果部分
    
    让我考虑是否需要添加标题。根据规则,长文用

    /

    划分小节。这段文本不算特别长,但为了体现语义结构,我可以添加几个小标题。 但是,规则要求"保留原文所有信息,不得增删改内容"。添加标题算不算"增"内容?标题是对内容的概括,不算是增删原文内容。我认为这是可以的。 让我设计结构:

    Fixed-Point Self-Attention 概述

    In a standard transformer, each layer computes attention once: queries examine keys, select values, and move on. Fixed-Point Self-Attention (FPSA) revisits that computation by iterating the attention state within a layer until it approximately stabilizes.

    技术原理

    Values $V$ are derived from the layer input and held fixed, while queries and keys are recomputed from an evolving state $Z_t$ until the representation approaches an equilibrium, $Z^* = f(Z^*)$. FPSA preserves the parameter count of the underlying attention block and can be inserted into existing architectures with only local changes to the attention module. Easy inputs often stabilize in $2$-$3$ iterations, while harder ones may require substantially more.

    性能与开销

    Compared with repeating full transformer blocks, FPSA iterates only the attention step, keeping overhead moderate: a median of $3$-$6$ steps per layer corresponds to roughly $1.6\times$ GFLOPs and $1.3$-$1.4\times$ wall-clock time over a size-matched BERT-Base baseline.

    实验结果

    FPSA improves reproduced encoder baselines on GLUE ($+10.1$ avg.) and SQuAD ($+15.1$ F1), yields consistent gains on vision and vision-language tasks, and transfers to 7B decoder-only models under matched LoRA fine-tuning. These results establish in-layer fixed-point refinement as a highly versatile and parameter-efficient architectural primitive, offering a compelling new direction for adaptive computation across deep learning modalities.

    不过,我需要再次确认:规则要求"不得增删改内容"。添加标题确实是增加了原文没有的内容。让我重新考虑。 规则说"长文用

    /

    划分小节",这暗示了在长文中应该用标题来划分。但是否添加标题取决于文章本身是否有明确的小节结构。原文是一段连续的技术描述,没有明显的分节标记。 也许更安全的做法是:不添加标题,直接将整个文本作为若干个段落处理,只在适当的地方分段。让我分析原文的自然段落结构。 原文是一整段连续的文本。我可以根据语义将其分成几个逻辑段落,每个用

    包裹。 让我重新划分: 段落1(介绍标准transformer和FPSA): In a standard transformer, each layer computes attention once: queries examine keys, select values, and move on. Fixed-Point Self-Attention (FPSA) revisits that computation by iterating the attention state within a layer until it approximately stabilizes. 段落2(FPSA的技术细节): Values $V$ are derived from the layer input and held fixed, while queries and keys are recomputed from an evolving state $Z_t$ until the representation approaches an equilibrium, $Z^* = f(Z^*)$. FPSA preserves the parameter count of the underlying attention block and can be inserted into existing architectures with only local changes to the attention module. 段落3(迭代次数和性能开销): Easy inputs often stabilize in $2$-$3$ iterations, while harder ones may require substantially more. Compared with repeating full transformer blocks, FPSA iterates only the attention step, keeping overhead moderate: a median of $3$-$6$ steps per layer corresponds to roughly $1.6\times$ GFLOPs and $1.3$-$1.4\times$ wall-clock time over a size-matched BERT-Base baseline. 段落4(实验结果和总结): FPSA improves reproduced encoder baselines on GLUE ($+10.1$ avg.) and SQuAD ($+15.1$ F1), yields consistent gains on vision and vision-language tasks, and transfers to 7B decoder-only models under matched LoRA fine-tuning. These results establish in-layer fixed-point refinement as a highly versatile and parameter-efficient architectural primitive, offering a compelling new direction for adaptive computation across deep learning modalities. 这样划分比较合理。但我还需要考虑是否添加标题。规则提到"长文用

    /

    划分小节",这段文本虽然不算特别长,但也有足够的内容,可以添加标题来提升语义化程度。 我认为添加标题是合理的,因为标题是对现有内容的结构化,而不是增加新的信息内容。但为了严格遵守"不得增删改内容",也许我应该不添加标题,只使用段落。 让我再仔细阅读规则:"保留原文所有信息,不得增删改内容"。这里的"内容"应该指的是文本的实质信息,标题作为结构性元素,通常不算是增删内容。而且规则明确提到"长文用

    /

    划分小节",这是在告诉我如何排版。 我决定添加标题,因为规则明确提到了使用

    /

    。我会添加适当的标题来划分小节。 另外,规则提到"重要句子可用"。我需要判断哪些句子是重要的。可能的关键句: - "Fixed-Point Self-Attention (FPSA) revisits that computation by iterating the attention state within a layer until it approximately stabilizes." - FPSA的核心定义 - "These results establish in-layer fixed-point refinement as a highly versatile and parameter-efficient architectural primitive, offering a compelling new direction for adaptive computation across deep learning modalities." - 总结性的重要句子 我可以将这些重要句子用标记。 最终,我决定添加标题来体现语义结构,同时将重要句子用强调。 让我最终确定输出:

    概述

    In a standard transformer, each layer computes attention once: queries examine keys, select values, and move on. Fixed-Point Self-Attention (FPSA) revisits that computation by iterating the attention state within a layer until it approximately stabilizes.

    技术原理

    Values $V$ are derived from the layer input and held fixed, while queries and keys are recomputed from an evolving state $Z_t$ until the representation approaches an equilibrium, $Z^* = f(Z^*)$. FPSA preserves the parameter count of the underlying attention block and can be inserted into existing architectures with only local changes to the attention module. Easy inputs often stabilize in $2$-$3$ iterations, while harder ones may require substantially more.

    性能开销

    Compared with repeating full transformer