Row 6926

Row ID: 6926 | Dataset Entry | Axioma AXP Content Repository

Content Data

This page contains data entry 6926 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.

**Paper**: [https://arxiv.org/abs/2403.03183](https://arxiv.org/abs/2403.03183)

**Code**: [https://anonymous.4open.science/r/transformer\_higher\_order-B80B/](https://anonymous.4open.science/r/transformer_higher_order-B80B/)

**Abstract**:

>Transformer-based models have demonstrated remarkable in-context learning capabilities, prompting extensive research into its underlying mechanisms. Recent studies have suggested that Transformers can implement first-order optimization algorithms for in-context learning and even second order ones for the case of linear regression. In this work, we study whether Transformers can perform higher order optimization methods, beyond the case of linear regression. We establish that linear attention Transformers with ReLU layers can approximate second order optimization algorithms for the task of logistic regression and achieve ϵ error with only a logarithmic to the error more layers. As a by-product we demonstrate the ability of even linear attention-only Transformers in implementing a single step of Newton's iteration for matrix inversion with merely two layers. These results suggest the ability of the Transformer architecture to implement complex algorithms, beyond gradient descent.

FieldValue
text **Paper**: [https://arxiv.org/abs/2403.03183](https://arxiv.org/abs/2403.03183) **Code**: [https://anonymous.4open.science/r/transformer\_higher\_order-B80B/](https://anonymous.4open.science/r/transformer_higher_order-B80B/) **Abstract**: >Transformer-based models have demonstrated remarkable in-context learning capabilities, prompting extensive research into its underlying mechanisms. Recent studies have suggested that Transformers can implement first-order optimization algorithms for in-con…
label r/neuralnetworks
dataType post
communityName r/neuralnetworks
datetime 2024-05-14
username_encoded Z0FBQUFBQm5LakwzcnVzbnpyM0lwc2lFQ1NtM0hLd2xwN2JxRDVTaVY3MFhrNjhkZms5enpyV2J5Z2Q0NUNYVEVnckc4NjVPR0hESEloRnJzTVhtUkpaWjBCWkRTV1dzOEE9PQ==
url_encoded Z0FBQUFBQm5Lak9HdVFqdjR4OG85SHVCUGVOcE9ac3ZyMGxXT3NaUmFvTTl4V0RXalgzRXFJemNGRXA4VlhLalpYWU1qMERsdHJ4N1pSMHFiX3k4NTNvbDNMQU5RSElqdHhlcnZhMkVKeU9zSnM5X05UUGtVaHlET0x1OGFRWkl1MWZxLWp4ZE1pOEI2dzhnSDRCeFQwbmlQX3BRQXN3VU9rT3RNSFREYlZYVnY0cktUczJXV3NDdmJTa2U1ZTJ4OWR3ZmE1MTFfdm9VSTRQMHVvVHpZMDFYVXZ3SEFoVndEUT09

Raw Record

{
  "text": "**Paper**: [https://arxiv.org/abs/2403.03183](https://arxiv.org/abs/2403.03183)\n\n**Code**: [https://anonymous.4open.science/r/transformer\\_higher\\_order-B80B/](https://anonymous.4open.science/r/transformer_higher_order-B80B/)\n\n**Abstract**:\n\n>Transformer-based models have demonstrated remarkable in-context learning capabilities, prompting extensive research into its underlying mechanisms. Recent studies have suggested that Transformers can implement first-order optimization algorithms for in-context learning and even second order ones for the case of linear regression. In this work, we study whether Transformers can perform higher order optimization methods, beyond the case of linear regression. We establish that linear attention Transformers with ReLU layers can approximate second order optimization algorithms for the task of logistic regression and achieve ϵ error with only a logarithmic to the error more layers. As a by-product we demonstrate the ability of even linear attention-only Transformers in implementing a single step of Newton's iteration for matrix inversion with merely two layers. These results suggest the ability of the Transformer architecture to implement complex algorithms, beyond gradient descent.",
  "label": "r/neuralnetworks",
  "dataType": "post",
  "communityName": "r/neuralnetworks",
  "datetime": "2024-05-14",
  "username_encoded": "Z0FBQUFBQm5LakwzcnVzbnpyM0lwc2lFQ1NtM0hLd2xwN2JxRDVTaVY3MFhrNjhkZms5enpyV2J5Z2Q0NUNYVEVnckc4NjVPR0hESEloRnJzTVhtUkpaWjBCWkRTV1dzOEE9PQ==",
  "url_encoded": "Z0FBQUFBQm5Lak9HdVFqdjR4OG85SHVCUGVOcE9ac3ZyMGxXT3NaUmFvTTl4V0RXalgzRXFJemNGRXA4VlhLalpYWU1qMERsdHJ4N1pSMHFiX3k4NTNvbDNMQU5RSElqdHhlcnZhMkVKeU9zSnM5X05UUGtVaHlET0x1OGFRWkl1MWZxLWp4ZE1pOEI2dzhnSDRCeFQwbmlQX3BRQXN3VU9rT3RNSFREYlZYVnY0cktUczJXV3NDdmJTa2U1ZTJ4OWR3ZmE1MTFfdm9VSTRQMHVvVHpZMDFYVXZ3SEFoVndEUT09"
}

Entry Information