---
title: "Linear Transformers with Learnable Kernel Functions are Better"
description: "How ReBased makes linear attention kernels learnable, improves associative recall, and tests the remaining gap with standard attention."
canonical: "https://research.elamur.ai/free/en/papers/aksenov-2024-linear-transformers-learnable-kernel-functions/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/aksenov-2024-linear-transformers-learnable-kernel-functions/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Linear Transformers with Learnable Kernel Functions are Better In-Context Models

# Linear Transformers with Learnable Kernel Functions are Better In-Context Models

Paper · 2024 · Yaroslav Aksenov, Nikita Balagansky, Sofia Lo Cicero Vaina et al.

**Authors:** [Yaroslav Aksenov](https://md.research.elamur.ai/free/en/authors/yaroslav-aksenov/), [Nikita Balagansky](https://md.research.elamur.ai/free/en/authors/nikita-balagansky/), [Sofia Lo Cicero Vaina](https://md.research.elamur.ai/free/en/authors/sofia-lo-cicero-vaina/), [Boris Shaposhnikov](https://md.research.elamur.ai/free/en/authors/boris-shaposhnikov/), [Alexey Gorbatovski](https://md.research.elamur.ai/free/en/authors/alexey-gorbatovski/) and [Daniil Gavrilov](https://md.research.elamur.ai/free/en/authors/daniil-gavrilov/) · **Year:** 2024 · **Venue:** Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.acl-long.518/)
- [PDF](https://aclanthology.org/2024.acl-long.518.pdf)
- [DOI 10.18653/v1/2024.acl-long.518](https://doi.org/10.18653/v1/2024.acl-long.518)

## What it is about

How ReBased makes linear attention kernels learnable, improves associative recall, and tests the remaining gap with standard attention. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

An efficient language system must do more than predict plausible continuations. It must also recover a particular piece of information from earlier context, even when many irrelevant tokens intervene. These abilities can come apart: an architecture may obtain a competitive average prediction score while struggling to retrieve an earlier association. Aksenov and colleagues investigate this problem in [linear attention](https://md.research.elamur.ai/free/en/topics/efficient-models/), where the computation avoids constructing the full collection of pairwise attention scores. Their proposal, ReBased, changes how a linear attention mechanism measures relevance. Rather than fixing the shape and location of its similarity function, it learns transformations of queries and keys and normalizes them before applying a quadratic kernel.

The starting point is Based, a hybrid architecture combining linear attention with short convolutions. Based approximates exponential attention using a polynomial derived from a Taylor expansion. The authors identify a restrictive property of that polynomial: its smallest unnormalized similarity is 0.5. As a consequence, an irrelevant query–key pair cannot receive an unnormalized score of zero. Its normalized weight can become small, but doing so requires sufficiently large competing scores. The polynomial also has a fixed turning point, so moving a query and key further apart in one direction can eventually increase their similarity again. ReBased retains a quadratic construction while allowing learned scales and shifts to reshape the effective features. It also incorporates [layer normalization](https://md.research.elamur.ai/free/en/papers/ba-2016-layer-normalization/) before the kernel calculation.

The main diagnostic is Multi-Query Associative Recall, or MQAR. This synthetic task asks a system to recover several values associated with keys encountered earlier in a sequence. The authors vary sequence length, hidden dimension, and retrieval load, extending the length range to 2048. ReBased generally improves on Based, with the distinction becoming clearer in longer sequences and constrained hidden dimensions. However, standard attention remains the strongest architecture in this comparison. At sequence length 2048 and hidden dimension 64, every tested architecture other than Attention has difficulty. The paper therefore presents an improvement within efficient attention, rather than a demonstration that compressed recurrent memory has fully matched direct attention.

The authors also train language predictors on the Pile and evaluate downstream tasks. ReBased obtains overall validation perplexity of 12.90, compared with 12.99 for Based and 11.98 for Attention. On token positions classified as associative, the corresponding values are 3.25, 3.27, and 3.07. ReBased also exceeds Based on most reported 1-shot benchmark tasks, although not on every task. These results support the practical usefulness of the modification, while showing that the advantage over its immediate predecessor is modest in aggregate language prediction. The Attention baseline has somewhat more parameters, an important qualification when interpreting its lead.

Finally, the paper examines whether successful answers arise from sharply targeted retrieval. On a controlled MQAR analysis, ReBased reaches accuracy of 0.957, close to Based’s 0.956, but its attention overlap with the required retrieval positions remains far below standard attention. The reported intersection-over-union scores are 0.173 for ReBased, 0.157 for Based, and 0.999 for Attention. This distinction is central to the paper: a nearly saturated answer score can conceal a substantial difference in how selectively information is accessed. Learnable kernels improve the situation, but the authors leave stronger copying, broader recall, and larger-scale training as unresolved questions.

### Ideas worth borrowing

Inspect the scoring function before enlarging the architecture. A fixed mathematical property can impose a persistent behavioral restriction. Here, the lower bound and turning point of a quadratic similarity motivate the intervention. The reusable lesson is to inspect what a score can represent, where its extrema occur, and whether its geometry matches the intended decision. This applies to retrieval functions, compatibility scores, ranking systems, and statistical rules whose failures might otherwise be attributed only to insufficient capacity.

Make useful structure adjustable. ReBased keeps a simple polynomial mechanism but learns how inputs enter it. This preserves an efficient computational form while reducing dependence on a manually chosen feature scale and offset. Elsewhere, the same principle can guide small calibration layers, weighted rule systems, or constrained statistical components: retain an understandable operation while learning the limited degrees of freedom that determine whether it fits the data.

Normalize before a sensitive nonlinear operation. Squaring makes the magnitude of its input consequential. The ablations show that changing the kernel without controlling feature scale can hurt performance, whereas normalization helps. This is useful beyond attention whenever a nonlinear score magnifies differences in magnitude. The appropriate question is whether the operation is receiving inputs in a useful range, rather than whether the operation is attractive in isolation.

Separate retrieval load from surrounding length. A longer input can introduce more irrelevant material without increasing the amount of information that must be recalled. The controlled MQAR ablation holds the retrieval-pair count at 32 while comparing sequence lengths 256 and 2048. This makes interference more visible. Similar tests can distinguish storage limitations from distractor sensitivity in document search, state tracking, memory systems, and structured readers.

Decompose the headline metric by mechanism. Overall perplexity mixes positions that benefit from recalling previous context with positions classified otherwise. Reporting associative and non-associative perplexity gives a more informative diagnosis than the aggregate alone. The broader idea is to define meaningful subsets before interpreting a global score, especially when an improvement could arise from an easier or more frequent class of decisions.

Measure evidence selection as well as answer correctness. ReBased and Based have similar answer accuracy in the attention-map experiment, yet their overlap with the required retrieval locations differs. A system can return the right answer while distributing substantial weight over irrelevant material. Evidence-sensitive evaluation can therefore reveal weaknesses that answer scoring misses, particularly near a benchmark ceiling.

Evaluate reliability across training choices. The paper supplements its best results with repeated seeds, a learning-rate search, and expected validation performance. This asks whether an architecture is consistently trainable rather than merely capable of a strong run. The same distinction matters for induced rules, statistical repairs, and experimental pipelines: a fragile improvement may require an impractical selection budget even when its best outcome looks attractive.

### How Mova uses it

Mova is a small language system implemented in Rust, with explicit linguistic rules, structured representations, and statistical components. Its current direction favors logic, rules, statistics, and a free dictionary. ReBased does not directly replace that architecture: its experiments concern neural sequence processing. The more immediate connections are its evaluation design, its analysis of scoring functions, and its distinction between correct answers and selective retrieval. The status marks below are proposed comparisons with documented Mova mechanisms; they do not establish that this paper has already been applied or that a proposed transfer will improve results.

Idea: Audit the mathematical range of relevance scores. Where: Section 4, especially Figure 2. Area: math and retrieval. Mova: частково є (exact mathematics in `math`, explicit scores and routing in `layers`). Mova could inspect boundedness, minima, and turning points in any statistical compatibility score before adjusting its parameters. The paper shows why a score that always gives some support can make distractors difficult to suppress. The usefulness of this audit for a particular Mova scorer is unknown until that scorer and its failures are examined.

Idea: Allow irrelevant candidates to receive no support. Where: Section 4 and Figure 2. Area: retrieval and reasoning. Mova: частково є (closed lexical rules that abstain, unsupported-task failures in the native deputy, and explicit gaps in world reasoning). Those mechanisms already avoid manufacturing an affirmative result from missing evidence. A related audit could ask whether ranking components retain weak candidates unnecessarily. The analogy concerns the ability to withhold support; the paper does not establish that a logical rejection rule and a zero-valued attention score have equivalent effects.

Idea: Learn limited adjustments around an understandable core. Where: Section 4, the affine query and key transformations. Area: statistics. Mova: частково є (learned parameters in the parser, pragmatics, and school readers, alongside explicit rules). ReBased suggests examining whether small, constrained calibration parameters could improve a fixed scoring mechanism without replacing its structure. For Mova, candidates would need an identified failure, held-out evaluation, and a readable account of the adjustment. No gain from this particular calibration strategy is documented.

Idea: Normalize features before applying a magnitude-sensitive score. Where: Sections 4 and 5.3. Area: statistics and numerical analysis. Mova: нове. A proposed use would be to compare normalized and unnormalized inputs wherever a statistical reader combines features with very different scales. Why Mova: this could distinguish a poorly scaled representation from a genuinely unsuitable decision rule. The neural normalization used by ReBased is not documented as a general Mova mechanism, and its value outside that setting remains an unverified hypothesis.

Idea: Keep separate calibration parameters for different roles. Where: Section 4 and the query–key parameter discussion in Section 5.3. Area: statistics and semantic matching. Mova: нове. A candidate experiment could calibrate question features separately from document-evidence features, rather than assuming their distributions are interchangeable. Why Mova: a question and a stored observation play different roles, so shared scaling could conceal useful distinctions. This is a proposed analogy to separate query and key transformations, not an implemented Mova result.

Idea: Compare distractor length at a fixed retrieval load. Where: Section 5.3. Area: evaluation. Mova: частково є (contrast sets, held-out checks, and fast-reader comparisons). Mova could keep the facts needed for an answer unchanged while adding irrelevant sentences around them. This would test whether errors arise from interference instead of missing knowledge. The paper’s controlled comparison motivates the design; the digest does not establish that Mova already runs this exact fixed-load experiment.

Idea: Vary retrieval load independently of input length. Where: Section 5.1 and Appendix A, including Table 7. Area: evaluation. Mova: нове. A reader benchmark could separately vary how many distinct entity–fact associations must be retained, while keeping the surrounding document conditions controlled. Why Mova: this would help distinguish a limited working representation from distraction by extra text. Such a benchmark would be a proposal, and its relationship to Mova’s existing world-state mechanisms would need measurement.

Idea: Evaluate interactions between capacity and context length. Where: Section 5.2 and Figure 1. Area: evaluation and resource planning. Mova: частково є (bounded worker budgets and measured execution costs, including `tools/twin`). Mova could compare reader or graph-budget settings across short and long documents, instead of reporting each budget under only one input condition. The paper demonstrates an interaction between hidden dimension and sequence length; whether Mova has an analogous interaction between graph limits and document length is unknown.

Idea: Separate recall-dependent decisions from other decisions. Where: Sections 5.1 and 5.4, especially Table 2. Area: evaluation. Mova: частково є (task-specific school reports and fast-reader miss categories). A Mova evaluation could mark questions that require an earlier retained fact separately from those answerable through local structure or compiled knowledge. This would expose whether a headline gain reflects improved memory use. The categories would need explicit definitions, because the paper’s repeated-token proxy cannot simply be imported as a definition of logical recall.

Idea: Compare answer correctness with evidence localization. Where: Section 5.6 and Table 5. Area: evaluation and interpretability. Mova: частково є (answer reasons, school traces, and fast-reader evidence comparisons). Mova could score whether a correct answer cites the intended source fact, rather than merely accepting any plausible justification. This directly fits a system designed to explain its conclusions. The paper’s attention overlap is a different observable, so a Mova evidence measure would require its own formal definition.

Idea: Inspect irrelevant support even when the answer is right. Where: Appendix D and Figure 9. Area: retrieval diagnostics. Mova: частково є (transparent rule evidence and retained reader observations). A proposed diagnostic would record which unrelated frames or graph facts contributed to a successful decision. This could reveal accidental success or fragile tie-breaking before answer accuracy deteriorates. Mova already retains reasons, but the digest does not document a standard measure of irrelevant support comparable to the paper’s attention analysis.

Idea: Use an auxiliary metric near an accuracy ceiling. Where: Section 5.6. Area: evaluation. Mova: частково є (negative controls, paired comparisons, and confidence diagnostics in `prag eval`). Where answer accuracy changes little, Mova could compare evidence precision, ambiguity, or unnecessary dependencies. The auxiliary measure should describe a declared weakness and should not silently replace answer quality. The paper motivates this approach through attention overlap; it does not validate any particular substitute metric for Mova.

Idea: Repeat experiments across initial conditions. Where: Section 5.3 and Appendix A. Area: statistics. Mova: вже є (`world selfplay`, held-out checks, and the requirement for repeated identical deterministic runs). Mova already treats reproducibility as part of an improvement claim. The paper adds a useful distinction: variation across stochastic training seeds differs from failure to reproduce a deterministic run. If a Mova component uses stochastic training, its variation should be assessed separately from deterministic inference reproducibility.

Idea: Evaluate the practical cost of hyper-parameter selection. Where: Appendix B and Figure 7. Area: statistics and experimental design. Mova: частково є (journals of positive and negative experiments in self-play). Mova could use its experiment history to report how reliably a proposed statistical change succeeds across allowed settings, rather than showing only the best setting. The exact expected-validation-performance analysis is not documented in the digest. Its potential value would be a clearer account of selection effort and fragility.

Idea: Change one mechanism at a time. Where: Section 5.3 and Figure 3. Area: evaluation. Mova: вже є (regression-gated changes, paired tests, and controlled feature comparisons in the application ledger). The paper’s sequence of kernel variants is a concrete example of separating mathematical simplification, normalization, and learned calibration. Mova should preserve that separation when evaluating an analogous change, because a successful combined revision does not show which part helped or whether another part introduced a weakness.

Idea: Distinguish local processing from associative retrieval. Where: Section 5.1 and Appendix C. Area: architecture and reasoning. Mova: частково є (`en`, `prag`, and `world` separate linguistic structure, frames, and contextual state). ReBased’s hybrid design assigns short-range processing and broader retrieval to different components. Mova already has explicit processing stages, but the useful proposal is diagnostic: test each stage for the behavior it is meant to provide. The paper does not show that neural convolutions should replace any native Mova stage.

Idea: Check whether a baseline benefits from a different surrounding architecture. Where: Appendix A and Figure 6. Area: evaluation fairness. Mova: частково є (CPU reference paths and explicit GPU approximation boundaries). A comparison between Mova readers or statistical components should account for whether each alternative receives an appropriate surrounding pipeline. The authors found that replacing the initial layer helped some architectures while a different arrangement suited RWKV. A uniform wrapper can therefore be a confound rather than a guarantee of fairness.

Idea: Report parameter and resource differences beside quality. Where: Appendix A, Table 6, and Appendix C, Table 8. Area: evaluation and systems. Mova: вже є (explicit budgets, measured cost tools, and CPU/GPU execution reporting). The paper’s Attention baseline is not exactly parameter-matched to its alternatives. Mova can apply the same reporting discipline to memory, runtime, graph size, and stored state. A quality difference should be interpreted together with the resources that produced it, without assuming that any single count captures all costs.

Idea: Treat tokenization as part of the experimental condition. Where: Appendix C. Area: data processing. Mova: вже є (`en` tokenization, language-specific tokenization paths, and measured French tokenization changes). The paper states that its Pile tokenization differs from the earlier Based setup. For Mova, comparisons should retain the tokenizer identity and input segmentation alongside parser or reader results. Otherwise, a downstream change can be attributed to the wrong component even when both systems use a dataset with the same name.

Idea: Preserve source and configuration identity when reproducing an experiment. Where: Section 5.1 and Appendices A and C. Area: data and reproducibility. Mova: вже є (source-version controls in `dictindex`, source fingerprints in `mova-enrich`, and explicit worker configuration). The authors specify inherited code, altered kernels, architecture choices, and training settings. Mova’s existing provenance mechanisms support this principle. A reproduction should identify what was reused and what changed, rather than treating an architecture label as a complete experimental description.

Idea: Compare internal observables through declared compatibility rules. Where: Section 5.6 and Appendix D. Area: mathematical modeling and interpretability. Mova: частково є (source-bound groupants and typed correspondence tooling). Mova could describe an evidence-selection observable for each candidate reader and compare it with a declared target. The paper’s attention maps illustrate why internal behavior can matter, but Mova’s comparisons must respect differing representations. Similar-looking outputs or coincident answers would not establish equivalent mechanisms.

Idea: Separate a simple kernel experiment from a richer-kernel research program. Where: Conclusion and Future Work. Area: mathematics and architecture. Mova: частково є (exact mathematical tools, groupants, and experimental approximants). A bounded investigation could compare simple, explicitly specified scoring families before considering more elaborate alternatives. The authors’ suggestion that richer kernels may help is a research direction, not an established result. Mova’s logical orientation favors testing small interpretable families before adding complexity.

Idea: Test transfer across sequence lengths explicitly. Where: Appendix D and Figure 10. Area: evaluation. Mova: нове. If a statistical Mova component learns similar parameter values under different document lengths, a follow-up could train under one length regime and evaluate under another. Why Mova: this could reduce unnecessary training or tuning while exposing hidden length dependence. The paper’s parameter observations motivate the question but do not establish that such transfer already works, either for ReBased generally or for Mova.

Idea: Inspect parameter variation rather than relying only on averages. Where: Appendix D and Figure 10. Area: statistics and interpretability. Mova: частково є (learned feature weights and pragmatic confidence evaluation). Mova could examine whether a small average adjustment hides large, opposing feature-specific adjustments. ReBased’s scale and bias analysis suggests that feature heterogeneity matters. The value of this diagnostic for any Mova component remains unknown until its parameter distribution is examined alongside behavior.

Idea: Keep uncertainty about copying separate from success on recall benchmarks. Where: Limitations and the concluding discussion. Area: evaluation and task scope. Mova: вже є (explicit implementation limits, task-family boundaries, and assessment separation). Mova should not treat a successful story question or retained school fact as evidence of unrestricted copying or document comprehension. The paper itself preserves that distinction despite improved MQAR results. Existing scope statements deserve continued use, especially when a narrow benchmark produces a strong score.

Idea: Use aggregate benchmarks and targeted probes together. Where: Sections 5.2, 5.4, and 5.5. Area: evaluation. Mova: вже є (school assessments, linguistic benchmarks, contrast sets, and fixed application probes). The paper combines synthetic retrieval tests, language prediction, and downstream tasks because each reveals a different aspect of behavior. Mova already uses several assessment types. The proposed lesson is to connect their interpretations explicitly, instead of assuming that movement on one metric explains movement on another.

Idea: Keep an architectural hypothesis distinct from its measured effect. Where: Section 4, Section 5.3, and Conclusion and Future Work. Area: scientific reasoning. Mova: вже є (regression gates, source-bound evidence, and separate reviewed training admission). The authors motivate ReBased through kernel geometry, then test the complete intervention. Mova should likewise record why a change is expected to help separately from what its evaluation establishes. A plausible mechanism is useful for designing experiments, but it is not itself evidence of improvement.

### The problem and its context

#### Prediction quality does not settle the memory question

The paper concerns [language modeling](https://md.research.elamur.ai/free/en/topics/language-models/), but its central question is more specific than whether an architecture assigns good probabilities to text. The authors want efficient sequence processors to recover information from earlier context. That ability matters when the next correct output depends on an association established previously, rather than on nearby wording alone.

Their account begins with the computational burden of the [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/), introduced in [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/). Attention compares a query at the current position with keys from relevant earlier positions. Those comparisons determine how stored value representations contribute to the output. As the sequence grows, the collection of pairwise interactions becomes expensive.

The paper describes standard attention using a cost that grows quadratically with sequence length. Its alternatives aim to avoid this growth. Linear attention changes the order of computation, while state-space approaches maintain a compact evolving state. Both provide attractive ways to process longer sequences without retaining the same explicit pattern of pairwise comparisons.

However, the memory that makes such systems efficient can also become a bottleneck. The authors describe linear attention and state-space systems through their recurrent interpretations: past information is accumulated into a state that later inputs must query. A fixed representation can face increasing interference as more information arrives. Having a recurrent computation does not prove failure, but it makes capacity and interference important experimental questions.

This is why a low perplexity score is insufficient for the paper’s purpose. Perplexity summarizes predictive quality over many positions. A system may improve common local predictions enough to obtain a strong aggregate result while still failing to recover a particular earlier value. The authors are interested in detecting that separation rather than assuming that competitive text prediction implies competitive contextual retrieval.

#### Why associative recall is useful

Associative recall provides a controlled version of the memory problem. Earlier positions establish relationships between keys and values; later queries require the corresponding values to be recovered. Success depends on using the sequence as a source of associations. Unlike a broad text benchmark, the required retrieval operation is comparatively explicit.

The paper traces this line of evaluation through [In-context Learning and Induction Heads](https://md.research.elamur.ai/free/en/papers/olsson-2022-context-learning-induction-heads/) and [Zoology](https://md.research.elamur.ai/free/en/papers/arora-2023-zoology-measuring-improving-recall-efficient/). It contrasts an earlier single-retrieval setting with MQAR, which demands several retrievals. Requiring multiple associations makes it harder for an architecture to succeed through a narrow shortcut suited to recovering only one value.

The authors also discuss [Long Range Arena](https://md.research.elamur.ai/free/en/papers/tay-2020-long-range-arena-benchmark-efficient/) as an established way to test long-input processing. In their account, classification results on that benchmark do not provide an uncontested comparison of architectural memory, because other work has questioned possible evaluation biases. They therefore use associative retrieval as a more targeted instrument for the behavior they want to improve.

MQAR is still a diagnostic task, not a complete definition of in-context learning. The authors use it to examine whether an architecture can retain and retrieve contextual associations under controlled demands. Their language-prediction and downstream experiments then ask whether the architectural change also helps beyond that synthetic setting.

#### Based as the immediate predecessor

The most direct precursor is [Simple linear attention language models balance the recall-throughput tradeoff](https://md.research.elamur.ai/free/en/papers/arora-2024-simple-linear-attention-language-models/), which introduces Based. Based combines an efficient attention mechanism with convolutions intended to support short-range dependencies. Its kernel comes from a low-order approximation to the exponential function used in standard attention.

According to the paper, Based improves associative recall relative to several efficient alternatives. Yet it still loses ground to standard attention when sequences become longer and representational capacity is limited. ReBased therefore begins from a comparatively strong efficient architecture and asks whether a small change to its scoring mechanism can reduce that remaining weakness.

The broader context includes kernel alternatives such as [Random Feature Attention](https://md.research.elamur.ai/free/en/papers/hao-2021-random-feature-attention/) and the recurrent interpretation discussed in [Linear Transformers Are Secretly Fast Weight Programmers](https://md.research.elamur.ai/free/en/papers/schlag-2021-linear-transformers-secretly-fast-weight/). The paper positions kernel selection as an unresolved design choice. Efficiency alone does not identify which similarity function will preserve the retrieval behavior needed for a task.

Convolutional sequence processing also appears in this background, including [Hyena Hierarchy](https://md.research.elamur.ai/free/en/papers/poli-2023-hyena-hierarchy-towards-larger-convolutional/). The authors do not frame the problem as a choice between one universally superior family and all others. Instead, they examine how local processing, compressed memory, kernel geometry, and retrieval demands interact.

### The method, step by step

#### Start with causal attention

At a position in a sequence, attention produces an output by combining earlier value vectors. A query represents what the current position seeks; a key represents how an earlier position can be matched; a value contains the information contributed if that position receives weight.

The paper writes the causal attention operation in normalized form:

```
yᵢ = [Σⱼ₌₀ⁱ sim(Qᵢ, Kⱼ)Vⱼ] / [Σₙ₌₀ⁱ sim(Qᵢ, Kₙ)]
```

Here, yᵢ is the output at position i. Qᵢ is its query, Kⱼ is the key at position j, and Vⱼ is the value at that position. The function sim supplies an unnormalized similarity. The numerator combines values using those similarities; the denominator normalizes their total contribution. The index n serves the same positional role in the denominator that j serves in the numerator.

For standard attention, the similarity is exponential:

```
sim(Qᵢ, Kⱼ) = exp((QᵢᵀKⱼ) / √d)
```

The expression QᵢᵀKⱼ is the dot product between query and key. The superscript T denotes transposition, and d is the head dimension. The square-root scaling adjusts the dot product before the exponential function is applied.

The important behavioral property is monotonicity. Increasing the scaled dot product increases the unnormalized score; decreasing it reduces the score. There is no turning point after which further movement in the same direction raises the score again.

#### Factor the similarity to change the computation

Linear attention replaces the direct similarity calculation with a feature-based construction:

```
sim(Qᵢ, Kⱼ) ≈ φ(Qᵢ)ᵀφ(Kⱼ)
```

The function φ transforms a query or key into a feature representation. The approximation sign indicates the relationship to the original similarity formulation. The resulting dot product allows the calculation to be regrouped so that information from past keys and values can be accumulated.

The regrouped output is:

```
yᵢ = {φ(Qᵢ)ᵀ[Σⱼ₌₀ⁱ φ(Kⱼ)Vⱼᵀ]} / {φ(Qᵢ)ᵀ[Σₙ₌₀ⁱ φ(Kₙ)]}
```

The bracketed term in the numerator accumulates products of transformed keys and values. The bracketed denominator term accumulates transformed keys. A new query acts on these summaries rather than requiring a separately stored score for every earlier position.

This rearrangement supplies the efficiency argument. The paper contrasts standard attention’s sequence-length dependence, written as O(d ∗ N²), with the linear-attention formulation O(d² ∗ N). N denotes sequence length. The crucial change is how cost grows with N; the dependence on representation size remains important.

The recurrent view follows naturally. As each token arrives, its transformed key and value update the accumulated state. Later queries read from that state. This avoids retaining the same full interaction structure, but it also means that multiple past items share a compressed representation.

#### Examine the Based polynomial

Based chooses a polynomial similarity motivated by the exponential function’s Taylor expansion:

```
sim(q, k) = 1 + qᵀk + (qᵀk)² / 2
```

The vectors q and k are a query and key, and qᵀk is their dot product. The constant, linear, and quadratic terms make up the approximation used in the paper’s discussion of Based.

The authors focus on two consequences. First, this expression has minimum value 0.5. An irrelevant pair therefore contributes a positive unnormalized score even at the polynomial’s lowest point. Normalization can reduce its final weight, but only in relation to the other scores.

Second, the minimum occurs when qᵀk equals −1. Moving the dot product toward that value reduces similarity, but moving past it increases similarity again. The kernel therefore has a relevance geometry that differs from exponential attention. A training process must arrange unwanted matches near a particular turning point rather than simply push their scores downward without reversal.

The paper does not prove that this property alone explains every failure of Based. It uses the property to motivate an architectural hypothesis: the position and scale of the effective polynomial should be adaptable, and the minimum should permit zero.

#### Learn how queries and keys enter the kernel

For a scalar illustration, the authors introduce an affine transformation of the query:

```
q′ = γ_Q · q + β_Q
```

Here, q is the original scalar query feature, q′ is the transformed feature, γ_Q is a learned scale, and β_Q is a learned shift. The dot denotes multiplication.

The key receives its own transformation:

```
k′ = γ_K · k + β_K
```

The symbols k and k′ have the corresponding meanings for a key. Its scale γ_K and shift β_K are distinct from the query parameters. This allows the two roles to be adjusted independently.

The simplified feature operation is then squaring:

```
φ(x) = x²
```

The input x represents the feature to which the operation is applied. Squaring supplies a non-negative quadratic form with a zero-valued minimum. In combination with learned transformations, its effective location and scale can adapt.

For the transformed query, the scalar expansion is:

```
φ(q′) = γ_Q²q² + 2γ_Qβ_Qq + β_Q²
```

The terms show how learned scaling and shifting introduce quadratic, linear, and constant contributions. The same construction applies to keys using their separate parameters. This scalar explanation makes the source of flexibility visible without requiring the reader to treat the efficient implementation as an ordinary pairwise softmax calculation.

There is a useful precision here. The paper moves between a dot-product description of Based’s polynomial and a feature-map description of the revised mechanism. The scalar derivation explains the effect of affine transformations; it should not be stretched into an unsupported claim that every multidimensional quadratic similarity can be represented without constraint.

#### Add normalization

The learned transformations resemble part of layer normalization, but initially omit normalization itself. The authors therefore test whether controlling query and key feature distributions before the quadratic operation improves behavior.

The complete ablation shorthand is:

```
φ(x) = (γ · norm(x) + β)²
```

The function norm denotes the normalization applied before the affine transformation. The learned parameters γ and β scale and shift the normalized feature. In the actual query–key mechanism, the corresponding parameter sets remain separate. The final square is the quadratic operation.

The placement matters. Normalization is integrated into the inputs to the kernel, instead of being discussed only as a general operation elsewhere in the network. Because squaring is sensitive to input magnitude, the distribution entering that operation can substantially affect the resulting scores.

ReBased within the sequence-processing pipeline The steps in order.

This diagram summarizes the responsibilities involved. The exact alternation of convolutional and attention components differs between the synthetic experiments and Pile training, so it should not be read as a claim that every layer follows an identical arrangement.

#### Train under controlled retrieval demands

The MQAR experiments use the official implementation associated with the preceding recall research, with changes described by the authors. They evaluate sequence lengths 128, 256, 512, 1024, and 2048. The main hidden dimensions range from 64 to 512, while smaller dimensions are added for the component study.

The dataset configuration increases retrieval demand with sequence length. Table 7 associates length 128 with 16 query–key pairs, length 256 with 64, length 512 with 128, length 1024 with 256, and length 2048 with 512. These settings make the main experiment increasingly demanding along more than one axis.

The separate ablation holds the pair count at 32. That distinction is essential: the main comparison explores challenging configurations, whereas the ablation is better suited to asking what extra surrounding length does when retrieval load is unchanged.

Training uses batch size 512, with gradient accumulation when memory is insufficient. The learning-rate grid contains 5e-4, 1e-3, 3e-3, and 1e-2. Reported results use five seeds. The architecture includes a short convolution with kernel size 3 in the initial layer and the selected mixing mechanism afterwards, subject to the baseline-specific choices discussed in the appendix.

For language prediction, the authors use a tokenized Pile release. They explicitly note that its tokenization differs from the earlier Based experiment. Their setup uses sequence length 4096 and trains for 20,000 steps. This is a new controlled comparison under their configuration, not a direct continuation of every earlier reported number.

### Experiments and results

#### What the synthetic comparison tests

The MQAR comparison includes standard attention and several efficient alternatives. Based and ReBased are the central pair; Mamba, RWKV, and Hyena provide additional architectural context. The measured outcome is retrieval accuracy as hidden dimension and sequence length change.

The principal finding is conditional rather than universal. ReBased generally matches or exceeds Based as capacity increases, but standard attention retains an advantage. The caption to Figure 1 presents ReBased as stronger than the other alternatives while placing Attention above it.

At sequence length 2048, hidden dimension 64 is difficult for every compared architecture except Attention. This setting is especially informative because an efficient recurrent state must support many contextual associations within a small representation. Enlarging the hidden dimension helps ReBased, but it does not erase the broader distinction between compressed-state retrieval and direct attention.

The authors report that RWKV and Mamba do not successfully solve their MQAR configurations over the tested dimensions. That statement belongs to these experiments. It should not be generalized into a claim that either architecture fails at all contextual learning or all language tasks.

The paper also emphasizes that shorter tests can conceal the gap. Beyond sequence length 512, the distinction between Attention and the linear alternatives becomes more apparent. A benchmark restricted to easier lengths could therefore support a much stronger impression of equivalence than the extended evaluation warrants.

Exact point values for the main curves are not enumerated throughout the prose. Their clearest contribution is the pattern across length and capacity. The paper’s tabulated follow-up experiments provide more precise numerical comparisons for language prediction and evidence localization.

#### Language prediction on the Pile

The Pile experiment compares validation perplexity, where lower values indicate better predictive performance. Attention obtains overall perplexity 11.98. Based records 12.99, and ReBased records 12.90. ReBased therefore improves on its immediate predecessor under the shared experimental setup, while Attention remains ahead.

The authors subdivide positions into associative and non-associative categories. Their operational rule treats later occurrences of repeated tokens as associative positions. This is intended to make contextual reuse more visible, although repeated-token status is not a complete semantic account of whether a prediction requires recall.

Pile validation, associative-position perplexity ReBased improves on Based, while standard attention remains stronger.

**The numbers**

| System or setting | perplexity |
| --- | --- |
| Based | 3.27 |
| ReBased (this paper) | 3.25 |
| Attention | 3.07 |

The non-associative perplexities are 33.95 for Attention, 37.02 for Based, and 36.73 for ReBased. Thus, ReBased’s improvement is not restricted to the associative subset. Its overall result reflects better scores in both reported categories.

These findings matter because they connect the targeted synthetic diagnosis to ordinary text prediction. They do not show that every language-prediction improvement comes from better recall. In fact, the improvement in the non-associative category reinforces the need to keep those explanations separate.

The systems are also not exactly matched in parameter count. Table 8 lists 151,880,448 parameters for Attention, 147,542,016 for Based, and 147,548,928 for ReBased. The authors flag Attention’s larger count when interpreting the comparison. Parameter count alone does not explain the results, but the discrepancy prevents treating the experiment as a perfectly equal-capacity test.

The common training settings include learning rate 1e-3, weight decay 0.1, and effective batch size 1024. The configuration uses 12 heads and model dimension 768. Warmup lasts 200 steps, and the maximum gradient norm is 1.

Architecture depth and head size differ. Attention uses 12 layers with head dimension 64; Based and ReBased use 18 layers with head dimension 16. In the hybrid linear architectures, odd-numbered layers use short convolution as their mixer. These are comparisons of complete configured systems, not isolated kernel calls embedded in otherwise identical networks.

The authors do not add rotary positional embeddings or additional techniques beyond the inherited architectural choices they describe. Their reference to [RoFormer](https://md.research.elamur.ai/free/en/papers/su-2021-roformer-enhanced-transformer-rotary-position/) identifies a technique omitted from this setup, instead of a component responsible for ReBased’s gains.

#### Downstream 1-shot evaluation

The downstream experiments ask whether the trained language predictors also benefit when given a task through a 1-shot setup. The paper uses tasks from the LM Evaluation Harness and [SuperGLUE](https://md.research.elamur.ai/free/en/papers/wang-2019-superglue-stickier-benchmark-general-purpose/).

LM Evaluation Harness tasks, reported 1-shot macro score ReBased has the higher reported aggregate across these tasks.

**The numbers**

| System or setting | macro score |
| --- | --- |
| Based | 41.3 |
| ReBased (this paper) | 42.1 |

The individual Harness results are mixed. On Winogrande, Based records 50.4 and ReBased 54.6. On Piqa, the scores are 62.1 and 62.8. ReBased also has the higher Arc-E score, 41.0 compared with 40.4.

However, ReBased scores 30.7 on Hellaswag against Based’s 30.8. On Arc-C, it obtains 21.5 against 22.9. The aggregate improvement therefore should not be described as a uniform downstream gain.

The SuperGLUE table favors ReBased throughout the reported entries. WSC changes from 55.8 for Based to 56.7 for ReBased, while WIC changes from 46.5 to 46.9. RTE shows 47.6 and 53.1 respectively.

For Record, the reported F1/EM pairs are 62.7/62.1 for Based and 62.8/62.2 for ReBased. MultiRC records 51.5 and 51.9. Copa records 66.0 and 67.0, and BoolQ records 48.3 and 52.0.

These results broaden the evidence beyond synthetic retrieval. They still do not isolate the mechanism behind every task-level gain. The tables demonstrate observed behavior under the evaluation setup; they do not prove that an individual improvement arose specifically because fewer irrelevant tokens received attention.

#### Retrieval accuracy versus attention overlap

For a more mechanistic analysis, the authors train a compact system with sequence length 128 and 32 retrieval pairs. They fix the first convolutional layer so that it selects information from the preceding token. This makes the subsequent retrieval pattern easier to interpret.

They then compare the attention distribution with the locations from which the correct values should be recovered. The overlap measure is intersection over union, abbreviated IoU. It is intended to capture whether the attention mechanism concentrates on the relevant retrieval positions.

Controlled MQAR analysis, retrieval-position IoU ReBased improves overlap over Based but remains far below Attention.

**The numbers**

| System or setting | IoU |
| --- | --- |
| Based | 0.157 |
| ReBased (this paper) | 0.173 |
| Attention | 0.999 |

The analysis covers 10,000 examples. Attention achieves answer accuracy 1, while Based achieves 0.956 and ReBased 0.957. The contrast between these answer scores and the overlap results is more revealing than either measure alone.

ReBased’s answers are usually correct in this setting, but its attention remains much less selective than Attention’s. The improvement over Based is consistent with the proposed direction, yet the internal evidence does not suggest that the revised kernel has reproduced the same sharply localized retrieval behavior.

### What the ablations show

#### Removing the old polynomial is insufficient

The component study compares several modifications rather than treating ReBased as an indivisible package. The simplest replaces the original Based construction with squaring. Another normalizes features before squaring. Further variants introduce learned scaling or learned scaling together with a shift. The complete version combines normalization with the affine transformation.

The plain-square variant is important because it tests a tempting interpretation of the motivation. If Based’s positive minimum is the whole problem, allowing a zero minimum might appear sufficient. The experiments do not support that simple conclusion. Merely replacing the original kernel can reduce performance.

The authors suggest that the scale of the features entering the square is responsible. This is a plausible explanation because the normalization variant recovers performance, but it remains an interpretation of the controlled comparisons instead of an independently proven causal account of every error.

The practical lesson is that the representational range of a function and the numerical regime in which it operates are different concerns. A theoretically attractive minimum does not guarantee that training will place useful and irrelevant pairs in the right parts of the function.

#### Normalization and learned transformations work together

Normalization before squaring improves results relative to the unnormalized square. Learned affine transformations also make the simple kernel more effective. The complete combination is the strongest overall configuration in the authors’ presentation.

The ablation compares sequence lengths 256 and 2048 while keeping 32 retrieval pairs. This holds the required association count steady. The longer sequence therefore introduces a more difficult surrounding context without increasing that particular measure of stored information.

Table 1 reports mean accuracy 0.58 for Based and 0.63 for ReBased in the length-256 comparison. For length 2048, the reported means are 0.51 and 0.61. These are the table’s aggregate summaries, not results for every individual hidden dimension.

The longer setting makes the advantage clearer. This supports the idea that the changes help reduce sensitivity to surrounding context. It does not mean that sequence length becomes irrelevant or that ReBased has unlimited memory. The main MQAR comparison still shows important capacity restrictions.

The ablation table includes standard deviations across 5 seeds. That reporting is valuable because some small configurations vary substantially between runs. A mean advantage should be read together with that variability rather than treated as a guarantee for every training outcome.

#### Architecture choices affect the comparison

Appendix A examines whether the initial processing layer should use the same mixing mechanism as the later layer. Replacing an initial attention layer with short convolution improves stability in the authors’ setup, particularly for longer sequences.

The same change is not best for every baseline. RWKV performs better without that replacement, so the main comparison retains two RWKV layers. Mamba is left unchanged because its block already includes convolutional processing.

These decisions make the comparison more responsive to each architecture, but they also mean that the experiment is not a completely uniform wrapper around interchangeable mixers. The relevant object of comparison is each configured architecture as trained.

This is a useful controlled analysis because it shows how an apparent kernel result could be affected by neighboring components. ReBased’s main contribution remains the kernel modification, yet the surrounding local-processing design is part of the conditions under which the reported results were obtained.

#### Training stability is a separate benefit

The appendix uses expected validation performance to examine sensitivity to hyper-parameter selection. Rather than showing only a best run, the analysis asks how performance behaves across the tested learning-rate choices and training seeds.

For configurations with sufficient hidden dimension, the authors report ReBased reaching 100% accuracy for every tested hyper-parameter setting and seed. Based can degrade at some learning rates. Figure 7 presents this behavior across the displayed dimensions and selection budgets.

This analysis supports a reliability claim within the explored grid. It suggests that the architectural changes can make successful training easier to obtain. It does not establish robustness to arbitrary optimization settings or to larger-scale training conditions outside the experiment.

The distinction matters operationally. An architecture with a strong but rare outcome may require extensive tuning, while a consistently strong alternative can be more useful even when their best scores are similar. The paper’s stability analysis addresses that difference directly.

#### Internal diagnostics reveal remaining noise

The attention-map analysis is not a kernel ablation, but it provides additional evidence about what the change accomplishes. Figures 8 and 9 show that the linear alternatives distribute support over irrelevant positions more than standard attention does.

ReBased reduces the noisy support relative to Based. Nevertheless, Attention has a much sharper concentration at the required retrieval position. This matches the IoU comparison and helps explain why high answer accuracy should not be interpreted as identical retrieval behavior.

The parameter analysis in Figure 10 adds another perspective. The mean learned scale approaches about 0.13, while the mean bias approaches 0. The authors observe similar endpoint behavior across training lengths.

At the same time, the parameter standard deviations are large relative to the mean absolute values. The authors interpret this as evidence that different features need different scales. A small average bias or a stable average scale therefore does not imply that the learned affine transformation is unnecessary.

The suggestion that similar parameter endpoints might reduce the need to train at every length remains tentative. Parameter similarity is an observation; successful transfer between training lengths would require a separate behavioral test.

### Limitations

#### Limits stated by the authors

The authors explicitly restrict the scale of their evidence. Their experiments use academic-scale systems, so extrapolation to substantially larger training settings is uncertain. The results establish that the intervention works under their tested conditions, not that its advantage will grow or even persist under every scaling regime.

They also leave demanding copying and contextual recall unresolved. The paper cites [Repeat After Me](https://md.research.elamur.ai/free/en/papers/jelassi-2024-repeat-after-me-transformers-better/) when discussing this limitation. That reference situates copying as an important challenge, but ReBased’s own experiments do not settle its performance across all copying-intensive tasks.

The conclusion likewise recognizes that standard attention retains an advantage on long-context associative retrieval. ReBased narrows the gap relative to Based without removing it. This remaining gap is visible both in the main MQAR behavior and in the attention-localization analysis.

The authors propose exploring more expressive learned kernels and normalization strategies. These are future research directions. The experiments support revisiting fixed kernel choices, but they do not demonstrate that any particular higher-order or more elaborate kernel will improve results.

They also mention applications requiring associative retrieval, including [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/), as a motivation for further work. No translation experiment is reported. The relevance of recall to a task does not on its own establish that ReBased will improve that task.

#### Limits visible in the experimental design

A careful reader should distinguish a benchmark’s operational definition from the broader ability it is intended to probe. MQAR isolates a useful retrieval operation, but natural contextual reasoning can require resolving ambiguity, combining facts, understanding discourse, or tracking changes in meaning. Strong associative retrieval does not establish all those abilities.

Similarly, the Pile associative category uses token recurrence as its selection rule. A repeated token may be predictable without a demanding retrieval operation, and a context-dependent prediction may involve more than repeating a token. The category is informative, but it is not a complete annotation of semantic memory use.

The main MQAR sweep changes retrieval-pair count alongside sequence length. This makes the longer settings harder, but it means that the main curves alone cannot attribute every decline to surrounding length. The fixed-pair ablation is therefore necessary for the more specific claim about interference.

Architecture differences also complicate attribution. The Pile comparison changes depth and head dimension between Attention and the linear alternatives, while their parameter counts are close but unequal. The study evaluates useful complete configurations, not a perfectly isolated kernel intervention across every system.

Within Based versus ReBased, the evidence is more directly focused on the proposed modification. Even there, the full gain combines normalization and learned transformations. The paper’s explanation about zero similarity is a motivation for the package, not a demonstration that one geometric property accounts for its entire effect.

The numerical language-prediction gains over Based are limited in size, and the downstream task results are not uniformly favorable. The Harness comparison includes tasks where ReBased scores lower. A general statement that it always improves downstream performance would therefore go beyond the tables.

The downstream tables do not report uncertainty intervals or significance tests. They establish the observed scores under the reported setup, but they do not show how stable every small task-level difference would be across additional language-training runs.

#### What the internal analysis cannot establish

Attention overlap is a useful diagnostic because the synthetic task supplies identifiable retrieval targets. It is not a universal explanation of computation. A system can represent and combine information in ways that make a single attention map an incomplete account of its decision.

The paper reports IoU as its overlap metric, but does not fully elaborate the conversion of continuous attention weights into the compared structures in the main discussion. Readers should therefore treat the tabulated metric as a reported diagnostic under the authors’ procedure, rather than assume a uniquely determined interpretation of every attention value.

The first convolution is fixed in this analysis to make the retrieval pattern easier to inspect. That control improves interpretability, but it also narrows the setting. The resulting maps describe a deliberately simplified mechanism, not every interaction inside the Pile-trained architectures.

The kernel remains imperfect at filtering irrelevant positions. This is not merely an abstract possibility: the attention examples and overlap scores show it. ReBased’s improvement should therefore be understood as reduced interference under the tested conditions, not complete elimination of noisy support.

Finally, the paper’s efficiency argument is primarily architectural. It explains why the computation can avoid quadratic sequence-length dependence, but the reported evidence does not supply a comprehensive runtime, memory, or energy comparison for all evaluated configurations. Better asymptotic behavior and better measured quality are both valuable, yet neither alone establishes the practical speed–quality tradeoff on a particular deployment.

### What came after

No later citing studies are identified in the available record. A documented account of subsequent adoption, scaling, or replacement therefore cannot be given. The earlier works discussed throughout the paper should not be presented as descendants of ReBased.

The authors themselves leave a clear research agenda: investigate more adaptable kernels, test whether normalization helps other kernel families, and address the remaining difference from standard attention on demanding retrieval. Those proposals follow from the experiments, but they remain proposals rather than later achievements. The lasting question raised by the paper is whether efficient contextual memory can gain selectivity through better learned scoring without surrendering the computational structure that makes linear attention attractive.

## Cite

Cite as Yaroslav Aksenov, Nikita Balagansky, Sofia Lo Cicero Vaina, Boris Shaposhnikov, Alexey Gorbatovski and Daniil Gavrilov. 2024. Linear Transformers with Learnable Kernel Functions are Better In-Context Models. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.acl-long.518](https://doi.org/10.18653/v1/2024.acl-long.518)

```bibtex
@inproceedings{aksenov2024linear,
  title = {{Linear Transformers with Learnable Kernel Functions are Better In-Context Models}},
  author = {Yaroslav Aksenov, Nikita Balagansky, Sofia Lo Cicero Vaina, Boris Shaposhnikov, Alexey Gorbatovski and Daniil Gavrilov},
  booktitle = {Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.518},
  url = {https://doi.org/10.18653/v1/2024.acl-long.518}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
