Elamur Research

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

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

Summary

Remembering that something appeared earlier is different from recovering exactly what appeared there. A language system can predict ordinary text reasonably well while losing track of associations buried in its context. This distinction becomes important when researchers replace standard attention with cheaper mechanisms for processing long sequences. Aksenov and colleagues investigate whether part of the resulting retrieval weakness comes from the mathematical function used to match current queries with earlier information. Their answer is ReBased: a revision of linear attention that learns adjustments to its kernel rather than accepting a fixed approximation to the exponential function.

The immediate starting point is Based, which combines kernel-based attention with short convolutions. Its similarity function contains constant, linear, and quadratic terms derived from an exponential expansion. The authors identify an awkward restriction: this function cannot produce an unnormalized similarity below 0.5. Unwanted matches therefore retain some positive support. Additionally, its lowest point occurs at a particular dot product, −1; pushing the dot product further in the same direction makes similarity rise again. ReBased changes this arrangement by using a square-based construction with learned scaling and shifting of query and key features. It also places layer normalization before the kernel operation. The objective is an adaptable relevance function that can suppress unwanted contributions while retaining an efficient computation.

The most targeted evaluation uses Multi-Query Associative Recall, abbreviated MQAR. Earlier parts of a sequence establish associations, and later queries demand the corresponding values. The experiments extend the tested sequence lengths to 2048 and examine how retrieval changes with hidden dimension and the number of associations. ReBased typically improves upon Based, especially when longer contexts expose weaknesses hidden by easier settings. Nonetheless, standard attention remains stronger. Every evaluated alternative to Attention struggles when the sequence length is 2048 and the hidden dimension is 64. The component experiments also show that replacing the old kernel with a square is insufficient on its own: feature normalization and learned transformations contribute materially to the successful revision.

Text prediction supplies a broader check. On Pile validation data, ReBased records perplexity 12.90, whereas Based records 12.99 and Attention records 11.98. For positions categorized as associative, the scores are 3.25, 3.27, and 3.07 respectively. ReBased also has the higher score on most downstream tasks evaluated through a 1-shot setup, although there are exceptions. These results favor the modification without establishing a large or universal advantage. The comparison with Attention also requires care because its parameter count is somewhat higher, and the architectures differ in depth and head dimension.

A final experiment asks whether correct retrieval answers imply precise selection of the supporting positions. They do not. In a controlled MQAR setting, Based achieves accuracy 0.956 and ReBased achieves 0.957, yet their intersection-over-union scores against the intended retrieval locations are only 0.157 and 0.173. Attention obtains accuracy 1 and overlap 0.999. ReBased moves towards more selective retrieval, but considerable irrelevant support remains. The paper therefore contributes both an architectural improvement and a diagnostic warning: answer accuracy can conceal substantial differences in how contextual information is accessed. Stronger copying, reliable retrieval under greater demands, and behavior at larger training scales remain open.

Interesting ideas

Study what a score makes impossible. Before adding capacity, examine the allowed outputs of the function making the decision. A relevance score with a positive floor cannot fully suppress an unwanted contribution, while a turning point can reverse the intended effect of moving an input. This kind of mathematical inspection is useful in ranking, matching, retrieval, and compatibility estimation. It can reveal restrictions that more training would otherwise have to work around.

Adapt the inputs to a simple function. ReBased preserves an inexpensive quadratic operation while learning how query and key features enter it. This offers a useful design pattern: keep the computational structure constrained, but expose the scale and location choices that strongly affect behavior. Small calibration mechanisms may be preferable to replacing an entire component when the underlying operation is suitable but poorly aligned with its inputs.

Investigate normalization together with nonlinearity. A nonlinear transformation cannot be evaluated independently of the distribution it receives. Squaring changes the influence of large and small features, making input scale consequential. The paper’s controlled variants show why a mathematically appealing replacement can disappoint until normalization is added. Comparable experiments are useful wherever feature magnitudes affect a score more strongly than their intended informational importance.

Control memory demand separately from distraction. The main MQAR sweep increases the challenge through several settings, but the component study fixes the association count while changing sequence length. That distinction helps reveal interference from additional context instead of attributing every failure to insufficient storage. Document readers, search systems, and state-tracking programs can benefit from similarly separating necessary information from irrelevant surrounding material.

Break broad scores into behaviorally meaningful subsets. Pile perplexity is reported for associative positions and for the remaining positions, alongside the overall value. This prevents an aggregate improvement from automatically being interpreted as improved recall. Elsewhere, an evaluation can distinguish decisions requiring stored evidence from those supported by immediate input, provided those categories have explicit definitions and their limitations remain visible.

Inspect supporting evidence when answers saturate. Nearly identical answer accuracy can coexist with substantially different attention patterns. The overlap experiment therefore measures a second property: whether retrieval concentrates on the intended source. This is useful for interpretability, evidence-based answering, and scientific evaluation, where a correct outcome alone may hide interference, accidental success, or reliance on the wrong material.

Assess the ease of obtaining a good result. Repeated seeds and a search over learning rates reveal whether successful training is dependable or fragile. The expected-validation-performance analysis treats tuning effort as part of the practical comparison. This perspective applies to statistical pipelines and learned repairs as well: a method’s best outcome does not describe how reliably a researcher can reproduce that outcome within a realistic search budget.

Deep dive: Linear Transformers with Learnable Kernel Functions are Better In-Context Models

How ReBased learns a linear attention kernel, what its recall experiments reveal, and why selective retrieval still trails standard attention. · about 37 minutes to read

How Mova uses it

Mova’s native language processing follows a different route from the neural attention mechanisms studied here. Its Rust implementation turns text into dependency structures, reads those structures into frames, and maintains contextual worlds. Explicit knowledge and rules cooperate with learned statistical parameters. ReBased is therefore most immediately relevant as a source of experimental designs, mathematical diagnostics, and questions about evidence selection. The connections below are proposed interpretations against documented Mova capabilities; none establishes a measured application of this paper.

Idea: Examine the attainable values of a decision score. Where: Section 4 and Figure 2. Area: mathematics and ranking. Mova: частково є (math supplies exact calculations; layers exposes routing scores and thresholds). A focused investigation could identify a statistical score that repeatedly admits irrelevant candidates, then inspect its range and extrema. This would give a concrete explanation to test before enlarging a reader or changing its features. The digest does not identify a Mova score with Based’s particular restriction.

Idea: Check whether rejection is representable. Where: Section 4, discussion of the positive kernel minimum. Area: retrieval and logical admission. Mova: частково є (en/src/french_rules.rs abstains outside closed evidence; the native deputy retains unsupported-request failures). Mova already has mechanisms that withhold an action or conclusion. The transferable question is whether statistical candidate ranking preserves the same possibility of giving irrelevant evidence no support. Logical abstention and zero attention have different meanings, so their effects would need separate evaluation.

Idea: Test whether score direction matches decision intent. Where: Section 4, comparison of the exponential curve with the polynomial minimum. Area: mathematical analysis. Mova: частково є (explicit mathematical components and source-bound descriptions in groupants). A scorer may become less favorable over one input interval and more favorable beyond it. Reviewing that behavior could catch counterintuitive rankings in a bounded statistical component. The paper motivates this inspection, but no such reversal is documented for Mova.

Idea: Learn a narrow adjustment around an explicit computation. Where: Section 4, affine transformations of queries and keys. Area: statistics. Mova: частково є (learned parser parameters, pragmatic classifiers, and school-reader weights). Instead of replacing a transparent rule with an unrestricted mechanism, Mova could investigate a small calibration layer around an identified statistical score. Its permissible adjustments, training evidence, and failure cases should remain inspectable. ReBased supplies a hypothesis about useful flexibility, rather than evidence that this transfer would improve Mova.

Idea: Compare normalized and raw features before nonlinear scoring. Where: Sections 4 and 5.3. Area: numerical statistics. Mova: нове. The proposed experiment would select a magnitude-sensitive statistical decision, compare its existing inputs with normalized alternatives, and retain the same evaluation cases. Novelty within the full project is unknown. Why Mova: this could expose scaling problems that currently resemble missing linguistic knowledge or an inadequate decision rule.

Idea: Permit different calibration for the requesting and supporting roles. Where: Sections 4 and 5.3, separate query and key parameters. Area: semantic matching. Mova: нове. A possible reader experiment would adjust question-side features independently of document-side features while preserving explicit frame roles. The digest does not establish whether an equivalent arrangement exists elsewhere. Why Mova: questions and stored observations serve different purposes, so forcing their statistical distributions into one shared calibration may obscure useful distinctions.

Idea: Separate irrelevant context from association count. Where: Section 5.3 and Figure 3. Area: reader evaluation. Mova: частково є (contrast sets, retained-reader comparisons, and controlled school assessments). A Mova test could preserve the facts needed for a question while inserting unrelated sentences. This would examine whether a correct world representation remains accessible under distraction. Existing controls support the principle, but the exact fixed-association design described here is not documented as a standard Mova benchmark.

Idea: Vary the number of associations independently. Where: Section 5.1 and Appendix A, Table 7. Area: memory evaluation. Mova: нове. A proposed benchmark could alter how many entity–fact relationships must remain available without simultaneously making all documents longer. Its implementation status outside the digest is unknown. Why Mova: the result could distinguish interference caused by surrounding language from limitations in the retained representation itself.

Idea: Evaluate context length together with resource capacity. Where: Section 5.2 and Figure 1. Area: systems evaluation. Mova: частково є (bounded execution, recorded costs, and prospective estimates in tools/twin). Reader or graph limits could be examined over several document conditions instead of under one convenient input size. The analogy concerns interactions between resources and task difficulty; Mova’s graph budgets are not equivalent to neural hidden dimensions. No matching performance relationship has been measured.

Idea: Define recall-dependent evaluation cases explicitly. Where: Sections 5.1 and 5.4, Table 2. Area: evaluation design. Mova: частково є (task-specific assessment and fast-reader error classification). Mova could distinguish questions requiring earlier contextual facts from those answerable through local structure or compiled knowledge. The paper’s repeated-token rule should not be imported as a definition of logical recall. A Mova category would require a declared dependency on retained evidence and examples where the classification fails.

Idea: Measure whether the supporting fact was selected. Where: Section 5.6 and Table 5. Area: evidence evaluation. Mova: частково є (answer explanations, school traces, and fast-reader comparisons with prepared evidence). A correct answer could be checked against the expected source observation, not only against answer text. This fits Mova’s existing emphasis on reasons. Its evidence measure would need to accommodate multiple legitimate proof paths rather than assuming that every question has one acceptable supporting sentence.

Idea: Record irrelevant contributions to successful answers. Where: Appendix D and Figure 9. Area: retrieval diagnostics. Mova: частково є (retained observations and explicit rule evidence). An additional analysis could inspect whether unrelated frames influence a decision that nonetheless succeeds. This might identify fragile reasoning before answer scores decline. Merely storing a trace does not yet establish that Mova measures unwanted influence, and the paper offers no ready-made metric for its graph representations.

Idea: Add a discriminating metric when accuracy becomes insensitive. Where: Section 5.6. Area: evaluation. Mova: частково є (negative controls, paired comparisons, and confidence analysis in prag eval). If most questions are answered correctly, evidence precision or unresolved ambiguity could reveal remaining weaknesses. Such an auxiliary measure should represent a declared concern and accompany answer quality. The paper demonstrates this role for attention overlap, not for every possible measure of explanation quality.

Idea: Distinguish deterministic reproducibility from training variation. Where: Section 5.3 and Appendix A. Area: experimental statistics. Mova: частково є (identical-run requirements and logged self-play experiments). Repeating a deterministic run checks reproducibility; changing a stochastic training seed checks sensitivity to initial conditions. These are different claims. Mova should retain its deterministic checks while assessing stochastic variation separately wherever a relevant training component introduces it. The digest does not establish that every learned component receives a seed sweep.

Idea: Include unsuccessful settings in the reliability account. Where: Appendix B and Figure 7. Area: experimental design. Mova: частково є (self-play journals retain positive and negative experiments). Those records could support reports of how often a proposed change works across the allowed configuration space. The exact expected-validation-performance procedure is not documented. Its possible contribution would be to distinguish an improvement that is easy to obtain from one requiring favorable selection among many attempts.

Idea: Isolate mathematical replacement, normalization, and calibration. Where: Section 5.3. Area: controlled comparison. Mova: вже є (regression gates, paired evaluations, and feature-specific comparisons represented in the application ledger). Mova already has a basis for testing bounded changes individually. This paper reinforces the need to preserve that discipline when a complete revision succeeds: a combined gain does not identify which constituent helped, nor whether one constituent introduced an avoidable regression.

Idea: Evaluate stability as a practical outcome. Where: Appendix B, expected validation performance. Area: training analysis. Mova: частково є (experiment histories and held-out admission checks). A candidate statistical revision could be judged by its sensitivity to permitted settings as well as its strongest score. That would be especially relevant when tuning consumes worker time. The paper’s stability evidence concerns its own learning-rate grid; it does not establish that a corresponding Mova calibration would behave reliably.

Idea: Give local processing and contextual retrieval separate tests. Where: Section 5.1 and Appendix C. Area: architecture. Mova: частково є (en, prag, and world have distinct structural responsibilities). ReBased combines short-range processing with associative access, suggesting a diagnostic separation instead of a direct component replacement. Mova could ask whether an error began in parsing, frame construction, retained representation, or retrieval. Existing fast-reader miss categories already support parts of this distinction.

Idea: Check whether a comparison’s surrounding pipeline suits each alternative. Where: Appendix A and Figure 6. Area: baseline design. Mova: частково є (CPU reference behavior and declared GPU-stage approximation boundaries). When comparing readers or statistical mechanisms, an identical wrapper may favor one design. The paper’s initial-layer experiments show why reasonable baseline-specific configurations can matter. Any Mova comparison would need to record such adaptations and avoid attributing their effects solely to the central component.

Idea: Report quality alongside relevant resource differences. Where: Appendix A, Table 6, and Appendix C, Table 8. Area: systems measurement. Mova: вже є (explicit budgets, measured execution, and CPU/GPU reporting). A result should retain the memory, runtime, representation size, and configuration information needed to interpret it. The paper’s unequal parameter counts illustrate the principle. No single resource measure should be treated as a complete account of the cost of Mova’s explicit structures.

Idea: Preserve tokenization as an experimental variable. Where: Appendix C. Area: data processing. Mova: вже є (language-specific tokenization and measured tokenizer changes). The authors acknowledge a tokenized Pile version that differs from the predecessor’s setup. Mova’s comparisons likewise need to retain segmentation identity when attributing changes downstream. A parser or reader can receive materially different inputs even when the underlying corpus name is unchanged.

Idea: Keep source versions and modifications visible. Where: Section 5.1 and Appendices A and C. Area: provenance. Mova: вже є (dictindex versions sources; mova-enrich fingerprints its inputs; workers retain configuration identity). Reproduction requires knowing which data, code, and architectural choices produced a result. These mechanisms already serve that purpose in Mova. The useful connection is to apply them to comparative experiments as carefully as to admitted knowledge.

Idea: Compare internal observations only after defining compatibility. Where: Section 5.6 and Appendix D. Area: mathematical modeling. Mova: частково є (groupants, typed complementary observations, and correspondence checks). A Mova reader could expose an observable describing evidence selection and compare it with a declared target. Different internal structures require their own correspondence rules. Coincident answers would not establish equivalent representations, and attention overlap cannot be treated as a universal measure of reasoning.

Idea: Preserve a controlled mechanism for interpretation. Where: Section 5.6, fixed first convolution. Area: diagnostic design. Mova: частково є (bounded probes and explicit interfaces between linguistic stages). Temporarily fixing one stage could make a downstream failure easier to locate, provided the resulting claim stays restricted to that diagnostic. This is distinct from improving the production path. The paper’s simplified first layer illustrates how a control can clarify behavior while narrowing the scope of the observation.

Idea: Keep tuning decisions separate from final reporting. Where: Appendix A, learning-rate search, and Appendix B. Area: evaluation methodology. Mova: вже є (held-out evaluation and release-specific restrictions on assessment access). Mova already distinguishes development choices from assessment. ReBased’s search procedure makes it useful to retain the tuning budget and selection rule beside the final result. Otherwise, the reported architecture label omits how much favorable selection contributed to its apparent reliability.

Idea: Examine variation across features rather than only their average. Where: Appendix D and Figure 10. Area: parameter interpretation. Mova: частково є (learned feature weights and confidence diagnostics). A small mean adjustment may conceal substantial differences among individual features. Mova could inspect the distribution of statistical weights alongside the decisions they affect. The paper’s observation motivates that analysis, but it supplies no evidence that Mova’s own parameter distributions have the same structure.

Idea: Test transfer between document-length regimes. Where: Appendix D, interpretation of Figure 10. Area: generalization evaluation. Mova: нове. Similar learned parameters under different lengths could motivate training under one document condition and evaluating under another. An equivalent experiment may exist beyond the digest, so the status remains provisional. Why Mova: successful transfer could reduce repeated tuning, while failure would expose a hidden dependence on document length.

Idea: Treat higher kernel expressiveness as a bounded hypothesis. Where: Conclusion and Future Work. Area: mathematics. Mova: частково є (exact mathematics, explicit groupants, and executable approximants). If a particular scoring family proves too restrictive, Mova could compare a small set of declared alternatives before adopting a more complex one. The paper suggests richer learned kernels but does not test them. Mova should retain that distinction between a research proposal and a demonstrated improvement.

Idea: Check asymptotic benefits against actual execution. Where: Section 3.1 and the experimental setups. Area: performance analysis. Mova: вже є (measured execution costs and explicit treatment of GPU approximants). A change in computational form does not supply all practical timing or memory information. Mova can use its existing measurement facilities to relate predicted cost to observed runs. ReBased’s sequence-length argument motivates the question without providing a deployment benchmark for Mova.

Idea: Verify agreement between alternative execution forms. Where: Section 3.1 and Section 5.6, regrouped computation and parallel attention inspection. Area: implementation validation. Mova: частково є (CPU reference stages and documented exact or approximate GPU behavior). When a convenient diagnostic form differs from the normal execution form, their relationship should be checked. Mova already declares such boundaries in several pipelines; an analogous scorer would require its own evidence before its diagnostic output could be trusted.

Idea: Resist broad capability claims from a narrow retrieval success. Where: Limitations and the concluding discussion. Area: scope control. Mova: вже є (configured task boundaries, reader limits, and separate assessment claims). Retrieving an association does not establish unrestricted copying, general comprehension, or reliable action selection. This matters for Mova’s fast reader and mouse-team observations as well. Their bounded successes should remain tied to their declared inputs, evidence, and evaluation conditions.

Idea: Combine aggregate assessments with targeted probes. Where: Sections 5.2, 5.4, and 5.5. Area: evaluation strategy. Mova: вже є (school results, linguistic benchmarks, contrast sets, and application-specific probes). Different assessments answer different questions. A stronger aggregate score should be interpreted together with tests aimed at the mechanism believed to improve. The paper’s mixture of synthetic retrieval, text prediction, and downstream tasks illustrates why no one result should carry every capability claim.

Idea: Keep a proposed explanation distinct from the observed gain. Where: Section 4 and Section 5.3. Area: scientific reasoning. Mova: вже є (source-bound evidence, reviewed changes, and regression-gated learning). The geometric argument motivates ReBased, while the experiments establish performance under particular conditions. Mova can preserve the same separation in its journals: record the expected causal mechanism, the actual intervention, and the measured outcome independently. A persuasive explanation remains revisable when controlled tests disagree.

The problem and its context

Why cheap sequence processing creates a memory question

The paper sits within research on efficient language processing, but efficiency is only part of its concern. The central tension is whether reducing the cost of contextual processing also changes what information remains accessible. A system may continue producing plausible text while becoming less dependable when the answer depends on a particular earlier association.

Standard Transformer attention supplies a natural reference. In the architecture introduced by Attention Is All You Need, the current position can compare its query with keys representing earlier positions. Those comparisons determine how the earlier value representations contribute. This creates a direct mechanism for giving a specific past location substantial influence.

That mechanism becomes expensive as the input grows. The paper describes a quadratic dependence on sequence length for the usual attention computation. Longer contexts mean more interactions to calculate and retain. Avoiding that growth motivates alternatives that summarize the past instead of explicitly maintaining the same collection of pairwise relationships.

Linear attention changes the algebra of the computation. State-space approaches use another form of evolving state. The authors emphasize that both can be understood through recurrent processing: incoming information modifies a state, and later computation depends on that state. Such representations can be economical, but information from many positions must coexist within them.

This makes memory capacity and interference related concerns. A state may be large enough in principle to encode the required associations while still failing to retrieve them cleanly after irrelevant material arrives. Conversely, a retrieval failure may reflect genuine representational limits. The experiments need to distinguish these explanations instead of treating every long-context error as the same phenomenon.

Why ordinary prediction scores are inconclusive

Language prediction evaluates how well a system assigns probability to text. Perplexity aggregates that behavior over positions, making it useful for broad comparison. However, the aggregate does not explain which dependencies account for a result.

In the authors’ account, state-space systems had become competitive with Transformers on this measure. That success did not settle whether they could perform the contextual retrieval operations associated with in-context learning. Better treatment of common or nearby dependencies could compensate for weaker access to particular earlier items.

This is an evaluation problem as much as an architectural one. If the scientific question concerns retrieval, the benchmark needs situations where retrieving the right earlier association is necessary. A broad text score may contain such situations, but it mixes them with many others. The paper therefore treats targeted recall tasks as a complement to text prediction.

The authors also discuss Long Range Arena, which evaluates tasks involving long inputs. Their presentation notes concerns from earlier work about biases in architectural comparisons. A high score on long-sequence classification is consequently not accepted as a complete answer to whether a system has dependable associative memory.

From associative recall to multiple queries

Associative recall makes the required behavior more explicit. A sequence contains relationships between keys and values. Later queries ask for the values associated with particular keys. The system must use information introduced in the current context rather than rely only on a relationship stored during training.

The paper relates this line of investigation to In-context Learning and Induction Heads. It then draws on Zoology, which argues that recovering only one association can make the diagnostic too easy. MQAR requires multiple retrievals and permits separate variation of sequence length, representational capacity, and association count.

These controls matter because apparently similar results can arise under very different demands. A mechanism might retrieve a small number of associations in short inputs yet degrade when irrelevant positions multiply. Another might tolerate long inputs but fail once too many distinct relationships must be retained. A single convenient test setting would leave those differences hidden.

MQAR does not represent every form of in-context learning. Its strength is narrower: the intended retrieval operation is sufficiently clear to support controlled architectural comparisons. The paper uses that clarity to investigate an identifiable weakness before asking whether the intervention also helps on ordinary text and downstream tasks.

The kernel choice remains unsettled

The direct predecessor is Based. It combines short convolutions with a linear-attention construction derived from an exponential expansion. In the paper’s account, this hybrid improves recall relative to alternatives such as Mamba while retaining favorable computational scaling.

Yet Based still falls behind standard attention under difficult combinations of length and capacity. The authors therefore examine the function that converts query–key relationships into similarity. Their question is not whether all efficient architectures need a entirely different memory structure. It is whether a restrictive scoring function contributes to the remaining weakness.

Earlier kernel research supplies the setting for that question. The paper cites Random Feature Attention among alternative constructions and Linear Transformers Are Secretly Fast Weight Programmers among work on their interpretation. It presents kernel selection as consequential and unresolved.

Short convolutions also remain important. The paper associates them with local dependencies that need not demand associative retrieval, referring to work including Hyena Hierarchy. ReBased retains a hybrid design: local processing and longer-range access are complementary responsibilities, not interchangeable claims about one universal operation.

The method, step by step

Define what attention computes

The paper begins with a causal attention calculation. Causal means that the output at a position can use the current and preceding positions, without reading later ones.

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

Here, i identifies the position receiving an output, and yᵢ is that output vector. Qᵢ is its query. Kⱼ and Vⱼ are the key and value associated with an accessible position j. The function sim gives an unnormalized similarity. The numerator combines the value vectors with those similarities; the denominator supplies normalization. The index n simply runs through the accessible positions in the denominator.

The query describes what information the current computation seeks. Keys describe how available positions can be matched, while values carry the information those positions contribute. These are learned representations, not necessarily human-readable labels.

Standard attention uses an exponential similarity:

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

The superscript T indicates transposition, making QᵢᵀKⱼ a dot product. The symbol d denotes the head dimension, and √d is its square root. The exponential converts the scaled dot product into positive support.

A useful property of this function is its consistent direction. Reducing the scaled dot product reduces similarity. There is no minimum followed by a reversal. This becomes important when the authors compare it with a quadratic approximation.

Replace pairwise scoring with separate feature transformations

Linear attention introduces a feature function φ that can be applied independently to a query and a key.

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

The function φ maps the input representation into kernel features. The transformed query and key are then compared through a dot product. The approximation symbol expresses its relationship to the original similarity being replaced.

Substituting this construction into attention gives the feature-based form:

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

The symbols retain their preceding meanings. The crucial fact is that φ(Qᵢ) is shared across all earlier positions contributing to this particular output. It can therefore be moved outside the corresponding sums.

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

The numerator now contains an accumulated key–value product, while the denominator contains an accumulated transformed-key sum. A query reads these summaries. Appropriate vector orientation is understood through the outer product φ(Kⱼ)Vⱼᵀ in the accumulated state.

This regrouping is the source of the efficiency claim. Earlier positions can be incorporated into a running representation instead of requiring every query to construct the full set of original pairwise scores.

O(d ∗ N²)

This is the paper’s stated sequence-processing complexity for standard attention. N denotes sequence length, d denotes the relevant representation dimension, and O describes asymptotic growth.

O(d² ∗ N)

This is the corresponding expression given for the linear-attention formulation. The dependence on N becomes linear, although dependence on representation size remains important. The formulas describe computational scaling, not a measured wall-clock comparison for every implementation.

Inspect the polynomial used by Based

Based obtains its similarity from an exponential expansion.

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

The lower-case q and k denote query and key vectors. Their dot product enters constant, linear, and quadratic terms. The construction approximates exponential behavior over a relevant interval, but it does not preserve every property of the exponential.

The authors emphasize the minimum value 0.5. An unwanted match cannot receive an unnormalized score below that value. Its final normalized influence can still be small, because the denominator includes other scores, but the function itself cannot remove its contribution.

The location of the minimum creates another difficulty. It occurs at dot product −1. Moving towards that point decreases support; continuing beyond it increases support. As a consequence, the desirable treatment of an irrelevant pair is tied to a particular region of the input range.

The proposed intervention follows from these observations. Rather than requiring training to accommodate one fixed parabola, the authors allow learned adjustments that change how inputs align with the quadratic operation. They also make a zero minimum available.

Introduce learned scales and shifts

The paper explains the adjustment through a scalar case.

q′ = γ_Q · q + β_Q

The original query feature is q, and q′ is the transformed feature. The learned parameter γ_Q controls scaling, while β_Q controls shifting. The multiplication sign indicates ordinary scalar multiplication.

k′ = γ_K · k + β_K

The key transformation has the same form, but γ_K and β_K belong to the key side. These parameters are separate from those used for the query. The two roles need not receive identical adjustments.

The transformed inputs enter the feature-based similarity:

sim(q′, k′) = φ(q′)ᵀφ(k′)

The primes identify the adjusted inputs. The function φ supplies their kernel features, and the transposed product combines them. This preserves the factorized structure needed for regrouped computation.

The authors simplify the feature operation to a square:

φ(x) = x²

The symbol x is the input to the operation. Its square is non-negative and can reach zero. This supplies the simple quadratic mechanism around which the learned transformations operate.

The scalar query expansion makes the resulting terms explicit:

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

The expansion contains a quadratic contribution, a linear contribution, and a constant contribution. Their coefficients depend on the learned scale and shift, rather than being fixed as in the starting construction.

The key expansion is analogous:

φ(k′) = γ_K²k² + 2γ_Kβ_Kk + β_K²

Its coefficients depend on the key parameters. The scalar explanation establishes how the affine transformation changes the effective quadratic. It should not be extended into a claim that the implementation represents every conceivable multidimensional similarity function.

Normalize before applying the revised kernel

The affine adjustment resembles the learned part of layer normalization. The authors therefore investigate including normalization itself before the kernel computation. The resulting shorthand for the complete variant is:

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

The function norm denotes normalization of the feature input. The parameters γ and β then scale and shift it before squaring. Query and key pathways retain their separate parameter sets.

The placement is central to the proposal. Normalization controls what enters a magnitude-sensitive operation. It is not merely an unrelated normalization layer elsewhere in the architecture. The ablation experiments test whether this placement helps, rather than assuming that the zero-valued minimum alone is enough.

From sequence features to ReBased retrieval

The steps in order.

From sequence features to ReBased retrievalStep 1: Encode nearby information through short convolution1. Encode nearby information through short convolutionStep 2: Produce queries, keys, and values2. Produce queries, keys, and valuesStep 3: Normalize query and key features3. Normalize query and key featuresStep 4: Learn separate scales and shifts4. Learn separate scales and shiftsStep 5: Apply the square-based kernel5. Apply the square-based kernelStep 6: Accumulate contextual key–value information6. Accumulate contextual key–value informationStep 7: Read the accumulated state with queries7. Read the accumulated state with queries

This describes the functional path instead of an identical layer template for every experiment. The synthetic architectures and the deeper Pile systems use different arrangements of their components.

Construct the retrieval experiments

The main MQAR experiments use the official recall code associated with the preceding work. The authors alter configurations to make the task more demanding and investigate sequence lengths 128, 256, 512, 1024, and 2048. Hidden dimensions extend from 64 to 512. The component study also includes 16, 24, 32, and 48.

Retrieval load changes with length in the main sweep. Length 128 uses 16 query–key pairs; length 256 uses 64; length 512 uses 128. The settings for lengths 1024 and 2048 use 256 and 512 pairs respectively. Therefore, this sweep explores increasingly demanding configurations instead of isolating sequence length alone.

The ablation serves a different purpose. It keeps the number of retrieval pairs at 32 while comparing lengths 256 and 2048. This makes it possible to examine extra surrounding context without increasing that association count.

All retrieval experiments use batch size 512. Gradient accumulation compensates when GPU memory cannot hold the required batch directly. Learning rates are selected from 5e-4, 1e-3, 3e-3, and 1e-2, with five seeds used for reported results.

For Based, the authors use published Triton kernels. They revise the kernel implementation for ReBased. The synthetic hybrid includes an initial short convolution with kernel size 3, followed by the selected mixing mechanism, with baseline-specific exceptions established through additional comparisons.

Extend the test to ordinary text

The language-prediction experiment uses a tokenized Pile release. The authors acknowledge that its segmentation differs from the earlier Based setup. This matters for reproduction and prevents the new scores from being treated as interchangeable with every previously reported Based result.

Training uses sequence length 4096. The common configuration specifies 20,000 steps, learning rate 1e-3, and effective batch size 1024. It also specifies warmup of 200 steps, weight decay 0.1, and maximum gradient norm 1.

The architectures use model dimension 768 and 12 heads, but differ in depth and head dimension. Attention has 12 layers with head dimension 64. Based and ReBased have 18 layers with head dimension 16. Their odd-numbered layers use short convolution.

The setup omits rotary positional embeddings, associated with RoFormer, and follows the inherited architectural choices described by the authors. The result is a comparison among specified systems, rather than a claim about every possible implementation of their architecture families.

Experiments and results

Retrieval becomes more revealing as conditions become harder

The main synthetic comparison evaluates ReBased against Based and standard Attention. Additional alternatives include Mamba and RWKV, with Hyena also included in the experimental scope. The central outcome is accuracy at recovering the requested associations.

The broad pattern favors ReBased over its immediate predecessor. As hidden dimension grows, its performance reaches or exceeds Based’s under the examined conditions. However, this improvement does not remove the advantage of standard attention.

The difficult length-2048 setting makes that qualification especially clear. With hidden dimension 64, the authors describe ineffective performance for all evaluated alternatives except Attention. ReBased’s kernel revision helps within a constrained-memory approach; it does not make the representation immune to demanding combinations of length and retrieval load.

The authors also report failure of Mamba and RWKV on their MQAR configurations across the tested dimensions. This is a result about the specified task and training arrangements. It does not establish failure on language prediction generally, and the paper’s motivation explicitly recognizes that broad prediction scores can tell a different story.

An important experimental lesson concerns where the gap becomes visible. When sequences exceed 512, the separation between Attention and the linear alternatives becomes more pronounced. Evaluations ending at shorter lengths can consequently hide an architectural weakness that matters under more demanding retrieval.

The main curves combine changes in length and association count. They establish comparative behavior across those configurations. The fixed-pair component experiment is needed for the narrower interpretation that irrelevant surrounding context can itself expose the benefit of the modifications.

Pile perplexity favors ReBased over Based

Perplexity measures predictive fit, with smaller values preferred. The overall Pile validation comparison is:

Overall Pile validation perplexity

ReBased improves the Based result, but Attention retains the lowest perplexity.

Overall Pile validation perplexityAttention: 11.98Attention11.98Based: 12.99Based12.99ReBased (this paper): 12.90ReBased (this paper)12.90
The numbers
System or settingperplexity
Attention11.98
Based12.99
ReBased (this paper)12.90

The advantage over Based exists, but it is modest. These values should not be presented as a large change in general language ability. They demonstrate a favorable result for the revised architecture under the authors’ shared training procedure.

The associative subset asks a more targeted question. Positions are classified as associative when a token recurs in the text; subsequent appearances enter this category. The rule is a practical way to highlight contextual reuse, although it is not a full semantic annotation of memory dependence.

Pile associative-position validation perplexity

The revised kernel helps on the recall-oriented subset without matching Attention.

Pile associative-position validation perplexityAttention: 3.07Attention3.07Based: 3.27Based3.27ReBased (this paper): 3.25ReBased (this paper)3.25
The numbers
System or settingperplexity
Attention3.07
Based3.27
ReBased (this paper)3.25

The remaining positions also favor ReBased over Based. Their non-associative perplexities are 36.73 and 37.02 respectively, while Attention records 33.95. Improvement therefore occurs in both reported subsets.

That pattern supports practical usefulness but complicates a single-mechanism explanation. The overall gain cannot simply be labeled a pure recall gain. The evaluation shows better prediction in both categories, while the synthetic experiments provide more direct evidence about associative retrieval.

Capacity differences qualify the comparison with Attention. Its parameter count is 151,880,448. Based has 147,542,016, and ReBased has 147,548,928. The authors explicitly recognize the somewhat larger Attention system. These figures do not explain the entire quality difference, but they prevent an exact equal-parameter interpretation.

The layer and head arrangements also differ. As a consequence, the Pile results compare complete architectural configurations. They do not isolate only the kernel while keeping every other structural property identical across Attention and its alternatives.

Downstream performance is favorable but uneven

The paper evaluates the trained systems through a 1-shot procedure on tasks from the LM Evaluation Harness and SuperGLUE. This extends the evaluation beyond synthetic retrieval and validation perplexity.

For the Harness group, the reported macro score is 41.3 for Based and 42.1 for ReBased. The aggregate favors the revised architecture, but individual tasks show that its benefit is not universal.

Winogrande gives Based 50.4 and ReBased 54.6. Piqa gives 62.1 and 62.8 respectively. On Arc-E, Based records 40.4 while ReBased records 41.0. These outcomes agree with the overall direction of improvement.

Other tasks go the opposite way. Hellaswag gives Based 30.8 and ReBased 30.7. Arc-C gives Based 22.9 and ReBased 21.5. The appropriate conclusion is that ReBased performs better on most reported tasks, instead of every task.

The SuperGLUE entries consistently favor ReBased in the reported comparison. For WSC, the scores are 55.8 for Based and 56.7 for ReBased. WIC gives 46.5 and 46.9. RTE gives 47.6 and 53.1.

Record reports both F1 and exact match. Based obtains 62.7/62.1, while ReBased obtains 62.8/62.2. MultiRC gives 51.5 for Based and 51.9 for ReBased. Copa gives 66.0 and 67.0, and BoolQ gives 48.3 and 52.0.

These are downstream observations under a specified prompting arrangement. They do not reveal why each task changes. Some may benefit from contextual retrieval, but the tables alone do not establish that interpretation for every result.

The paper also does not provide uncertainty estimates alongside these task scores. Small favorable differences therefore should remain observed differences, without an additional claim of statistical reliability unsupported by the reported evaluation.

Correct answers do not imply clean retrieval

The internal analysis uses a deliberately simplified MQAR configuration. Sequence length is 128, with 32 retrieval pairs. The first convolution is fixed to select the preceding token, making the role of later attention easier to inspect.

The authors construct attention matrices through the parallel form of Based and ReBased. They compare the resulting attention with the positions that should supply the retrieved information. Intersection over union, or IoU, measures the reported agreement with this target pattern.

MQAR diagnostic over 10,000 examples, retrieval-position overlap

ReBased selects relevant positions more closely than Based, while Attention is far more concentrated.

MQAR diagnostic over 10,000 examples, retrieval-position overlapAttention: 0.999Attention0.999Based: 0.157Based0.157ReBased (this paper): 0.173ReBased (this paper)0.173
The numbers
System or settingIoU
Attention0.999
Based0.157
ReBased (this paper)0.173

Answer accuracy tells a less discriminating story. Attention reaches 1, Based reaches 0.956, and ReBased reaches 0.957. Both linear alternatives answer most cases correctly in spite of their much weaker overlap with the intended retrieval positions.

This is not a contradiction. A system can preserve enough useful signal to return the desired value even while assigning support elsewhere. Accuracy records whether the final output succeeds. The overlap diagnostic records a different property of the retrieval mechanism.

The controlled result supports a restrained interpretation of ReBased. The kernel change improves evidence localization relative to Based, but it does not reproduce Attention’s concentrated access pattern. When accuracy is already high, this secondary measurement reveals remaining differences that the answer score largely hides.

What the ablations show

A zero-valued minimum does not solve everything

The component experiments begin with the simplest possible replacement: remove the original polynomial construction and apply squaring. This tests whether merely allowing a zero minimum is enough.

The answer is unfavorable to that simple intervention. The authors observe degradation when using the square alone. The motivating geometric problem was real, but changing that property without managing the input representation does not automatically produce a better retrieval system.

Their interpretation concerns feature scale. A square amplifies magnitude differences, so unsuitable input magnitudes can undermine the intended behavior. This explanation is supported by improvements after normalization, although the study does not independently establish that scale accounts for every failure.

The distinction is useful. A function may have the right theoretical range yet receive inputs that rarely use that range effectively. Mathematical possibility and successful optimization are separate conditions.

The intermediate variants identify useful ingredients

The authors test normalization without an affine adjustment, learned scaling without shifting, and learned scaling together with shifting. The complete ReBased version combines normalization with both learned operations.

The corresponding normalization-only variant is:

φ(x) = norm(x)²

Here, norm applies normalization to input x before the square. This removes learned scale and bias from that particular comparison.

The scaling-only variant is:

φ(x) = (γ · x)²

The parameter γ changes input magnitude before squaring. Query and key features receive their corresponding separate parameters.

The affine variant without normalization is:

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

The additional parameter β shifts the feature input. This comparison asks what learned adjustment contributes without the normalization step.

These variants show that the successful intervention is not simply a different polynomial label. Normalization and learned feature adjustment each address aspects of how the operation is used. The authors present the complete configuration as the strongest overall version.

The aggregate means in Table 1 illustrate the pattern. For sequence length 256, Based has mean accuracy 0.58 and ReBased has 0.63. For sequence length 2048, the means are 0.51 and 0.61. These summarize the tabulated settings; they are not the score of every hidden dimension.

The detailed entries also contain variability across 5 seeds. That matters particularly in small configurations, where a mean can conceal unstable training. The combined method’s favorable aggregate should not be rewritten as a guarantee that it wins every individual run.

Fixing the retrieval count sharpens the interpretation

The component experiment uses 32 retrieval pairs at both tested lengths. The intended information load is therefore held constant in this respect, while sequence length changes from 256 to 2048.

This setup directly addresses a possible explanation for long-context failure. If the number of associations has not grown, a decline cannot be attributed solely to needing to store more associations. Additional positions and their effect on the computation become central.

The authors report that the complete revision preserves performance more effectively across these conditions. The result supports resistance to contextual interference. It does not establish unlimited storage capacity, and the harder main sweep shows that constraints remain.

The stronger effect at the longer length also explains why easier tests are insufficient. A design change can appear minor when unwanted contributions have little opportunity to accumulate. More demanding context can expose a difference that remains hidden near an easy benchmark ceiling.

The surrounding architecture matters

Appendix A compares hybrid arrangements with alternatives that retain the same kind of mixing in the initial layer. The authors find that an initial short convolution can improve stability, particularly when attention is the later mixing mechanism.

However, RWKV benefits from retaining its own initial layer. The main comparison therefore uses two RWKV layers. Mamba is not modified in the same way because convolutional processing is already part of its block.

This is an important qualification to architectural fairness. Giving every system an identical surrounding structure may seem controlled, yet it can disadvantage a component whose preferred arrangement differs. The authors instead report configuration choices informed by their comparisons.

The resulting evidence concerns trained architectures under those choices. It should not be reduced to a pure contest between isolated similarity functions. ReBased’s kernel remains the central intervention, but local processing contributes to the conditions in which it is evaluated.

Stable training is part of the contribution

Appendix B evaluates expected validation performance over the explored hyper-parameter settings. The authors average across five seeds and examine how performance behaves as the selection budget changes.

Where capacity is sufficient, they report ReBased obtaining 100% accuracy across the tested settings and seeds. Based can deteriorate under some learning rates. The plots therefore support an advantage in trainability as well as attainable quality.

This claim remains bounded by the explored grid. It does not imply immunity to optimization problems under arbitrary settings, different data, or much larger training runs. Its value is more concrete: the tested revision makes strong retrieval less dependent on a favorable choice within the authors’ experiment.

Parameter averages leave out important structure

The appendix also examines learned normalization parameters across sequence lengths. Figure 10 shows mean scaling approaching about 0.13 and mean bias approaching 0.

Those averages could misleadingly suggest that one common scale and no bias are sufficient. The authors instead draw attention to substantial standard deviations relative to the mean absolute values. Different features receive meaningfully different adjustments.

They also observe similar final parameter behavior across training lengths. This motivates the possibility that training at every length may be unnecessary. However, similarity of parameter summaries is not a direct transfer experiment. The suggestion remains a research question.

The attention examples provide a complementary behavioral check. ReBased reduces irrelevant support relative to Based, while Attention retains a sharper peak at the required position. The parameter and attention analyses together indicate useful adaptation without showing that the filtering problem has disappeared.

Limitations

What the authors explicitly leave unresolved

The stated limitations include scale. The experiments operate within academic research resources, and the authors do not establish how the same intervention behaves in substantially larger systems. A favorable result at the tested scale cannot determine whether the gain persists, changes, or becomes unnecessary elsewhere.

They also explicitly reserve judgment about intensive copying and demanding reuse of earlier context. Their discussion cites Repeat After Me in connection with this concern. MQAR improvement supplies evidence about a controlled association task, not a complete answer to broader copying requirements.

The conclusion acknowledges the remaining gap with standard attention. This is a central boundary on the contribution. ReBased improves Based, but the experiments still show Attention performing better in demanding retrieval settings and selecting source positions much more precisely in the internal analysis.

More sophisticated kernels are proposed as a possible next step. The authors suggest that a quadratic family may remain too restrictive and that normalization might benefit other constructions. Neither suggestion is experimentally resolved in the paper. They are motivated directions rather than demonstrated extensions.

The paper also points toward tasks such as machine translation as places where associative access may matter. It reports no translation evaluation. An architectural motivation does not establish a downstream benefit in an untested application.

What a careful reading of the setup adds

MQAR offers a clear retrieval target, but that clarity comes from simplification. The benchmark does not by itself test how a system resolves conflicting statements, understands an implicit relationship, or combines a chain of contextual facts. These are limits of what the experiment can establish, rather than failures demonstrated by the paper.

The main sweep also changes more than one difficulty factor. Longer sequences contain more retrieval pairs under the selected configuration. Consequently, the main curves do not isolate an effect of length alone. The fixed-pair ablation supplies the relevant narrower control.

Even that control does not eliminate every possible confound. Keeping the number of required associations constant does not guarantee that every other computational demand is unchanged. Its strength is that it removes one important explanation, not that it proves a complete causal account of long-context degradation.

The Pile associative subset is similarly operational. Token recurrence identifies a plausible place to look for contextual reuse. Yet repetition does not necessarily require difficult retrieval, and meaningful contextual dependence can involve more than literal recurrence. The subset is useful evidence under its declared rule.

The architecture comparison is not perfectly parameter matched. Attention has a somewhat higher parameter count, and it differs in depth and head dimension. These differences are disclosed, but they limit claims that attribute the entire gap to the kernel mechanism alone.

The evidence for practical improvement has bounds

The improvement over Based in aggregate Pile perplexity is real in the reported comparison but limited in magnitude. Downstream evaluation also includes unfavorable results for ReBased. The evidence therefore does not support an unconditional statement that every task benefits.

Task-level uncertainty is another boundary. The downstream tables report scores without corresponding intervals or significance tests. The paper does not establish how consistently each small difference would recur across additional full training runs.

The synthetic experiments give more detailed information about variability and hyper-parameter sensitivity. That reporting strengthens their interpretation, but it cannot be automatically transferred to the Pile and downstream results. Different experimental stages support different levels of confidence.

Efficiency is primarily justified through computational structure. The paper explains why the factorized mechanism avoids quadratic dependence on sequence length, but it does not provide a comprehensive deployment study of runtime, peak memory, and other practical costs across all compared systems.

Implementation details can affect such costs. Kernel construction, feature dimensions, hardware behavior, and surrounding layers all matter. The reported asymptotic advantage is meaningful without being a universal guarantee of lower latency in every operating condition.

Internal maps are informative without being complete explanations

The attention-overlap analysis is particularly useful because MQAR identifies the desired retrieval positions. That makes it possible to compare an internal observable with an explicit target. Natural text tasks do not always offer such a clean target.

However, an attention map is not a complete description of all computation leading to an answer. Values and earlier transformations can encode information in ways not captured by interpreting one score matrix alone. The paper uses the maps as a diagnostic of retrieval concentration, and that scope should be retained.

The diagnostic also fixes the initial convolution. This control makes the target relationship easier to inspect but narrows the experiment. It does not establish that the same attention pattern describes every layer of the deeper Pile-trained architectures.

The reported IoU procedure is not elaborated enough in the main account to make every treatment of continuous attention weights transparent. Its values remain valid reported outcomes of the authors’ analysis, but readers should avoid assuming an undocumented conversion rule.

Finally, the proposed geometric explanation is not the same thing as a complete causal proof. The lower bound and turning point motivate a sensible intervention. The ablations show that input normalization and learned transformations matter together. They do not demonstrate that one property of the original polynomial explains every retrieval error or every downstream improvement.

What came after

No subsequent citing studies are identified for discussion, so there is no supported account of later adoption or extension to give. The earlier research that motivates ReBased belongs to its background, and should not be presented as work that followed it.

The paper itself nonetheless defines several next questions. One concerns expressiveness: can a richer learned kernel suppress irrelevant contributions more effectively while retaining an efficient factorization? Another concerns normalization: does integrating it into the kernel help families beyond the particular square-based construction tested here?

A further question concerns what successful recall should look like internally. ReBased’s high answer accuracy coexists with substantial off-target support. Later investigation would need to determine whether reducing that support improves performance under harder loads, or whether a different diagnostic better predicts breakdown.

The observations about similar parameter averages across sequence lengths also invite a direct generalization test. Training under one length condition and evaluating under another would address a question that parameter summaries alone cannot settle. Likewise, broader copying tasks and larger-scale training would test boundaries the authors explicitly acknowledge.

These remain prospective experiments. The demonstrated contribution is narrower and more secure: adjusting the kernel’s inputs and normalizing them improves Based under the reported retrieval and language-prediction conditions. At the same time, the comparison with Attention shows that efficient accumulation has not yet acquired the same selectivity. The paper makes that unresolved issue measurable rather than allowing an encouraging average score to conceal it.

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

@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}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/aksenov-2024-linear-transformers-learnable-kernel-functions/