SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.07922 · 2023

RAVEN: In-Context Learning with Retrieval-Augmented Encoder-Decoder Language Models

arXiv · PDF · Open in the Atlas

Code that ran

11 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2308.07922.json · badge: /api/ran/2308.07922.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jeffhj/raven canonical (classifier label)
classifier basis not recorded on the link
11 ran · 3 no recorded run
FunctionStatusWhere it lives
all_gather Ran
ran, honoured the contract we drafted
jeffhj/raven/src/dist_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("59ea1420911ddd97")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

deserialize_listdocs Ran
ran; our contract draft was wrong, not the code
jeffhj/raven/src/index.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("a47d716bd6cdafab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

em Ran
ran; our contract draft was wrong, not the code
jeffhj/raven/src/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("38c3b1ee62b65838")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

encode_passages Ran
ran; our contract draft was wrong, not the code
jeffhj/raven/src/atlas.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/atlas, is pointer only (licence: NOASSERTION) · get_code("e4a21bc7a716330c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

f1 Ran
ran, honoured the contract we drafted
jeffhj/raven/src/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("5e2f0b798a3d70d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gather_wgrad Ran
ran, honoured the contract we drafted
jeffhj/raven/src/dist_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("094781db771538f0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_checkpoint_path Ran
ran; our contract draft was wrong, not the code
jeffhj/raven/src/model_io.py
pointer only (licence: NONE); the stored copy get_code serves, from hqsiswiliam/lapdog, is pointer only (licence: NONE) · get_code("c3e2125348379a5c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_answer Ran
ran; our contract draft was wrong, not the code
jeffhj/raven/src/evaluation.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("6205dd62c2627dde")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

select_crossattention_scores Ran
ran, honoured the contract we drafted
jeffhj/raven/src/atlas.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/atlas, is pointer only (licence: NOASSERTION) · get_code("c4bca944bda65eb2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

serialize_listdocs Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jeffhj/raven/src/index.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("55955fc3f98f2a29")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

varsize_all_gather Ran
ran, violated the contract we drafted
jeffhj/raven/src/dist_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("fc996bc980b83cab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cross_attention_forward Not yet run
unverified (harvested, no recorded run)
jeffhj/raven/src/fid.py
pointer only (licence: NONE); the stored copy get_code serves, from m3hrdadfi/rag-memory-interplay, is pointer only (licence: NONE) · get_code("a94b66d049f10dc8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_tf_weights_in_bert Not yet run
unverified (harvested, no recorded run)
jeffhj/raven/src/modeling_bert.py
pointer only (licence: NONE); the stored copy get_code serves, from hqsiswiliam/lapdog, is pointer only (licence: NONE) · get_code("d009b630f4496e64")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_tf_weights_in_t5 Not yet run
unverified (harvested, no recorded run)
jeffhj/raven/src/modeling_t5.py
pointer only (licence: NONE); the stored copy get_code serves, from suntea233/DualLoRA, is pointer only (licence: NONE) · get_code("136abfa3e8ce028d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jeffhj/raven when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 14 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 14 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_tf_weights_in_t5 20 other papers
7 dated earlier, 1 the same month, 12 later
2201.05966 (2022-01)
UNIFIEDSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
2205.06983 (2022-05)
RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL
and 17 more not named here
load_tf_weights_in_bert 14 other papers
7 dated earlier, 6 later, 1 same year, order not determinable
2112.02505 (2021-12)
Causal Distillation for Language Models
2022.findings-emnlp.24 (2022 (year only))
AssistSR: Task-oriented Video Segment Retrieval for Personal AI Assistant
2206.07699 (2022-06)
Write and Paint: Generative Vision-Language Models are Unified Modal Learners
and 11 more not named here
normalize_answer 11 other papers
11 later
2403.04797 (2024-03)
Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding
2403.15268 (2024-03)
Awakening Augmented Generation: Learning to Awaken Internal Knowledge of Large Language Models for Question Answering
2406.02536 (2024-06)
Mitigate Position Bias in Large Language Models via Scaling a Single Dimension
and 8 more not named here
em 4 other papers
4 later
2406.18187 (2024-06)
Selective Prompting Tuning for Personalized Conversations with LLMs
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
and 1 more not named here
f1 4 other papers
4 later
2406.18187 (2024-06)
Selective Prompting Tuning for Personalized Conversations with LLMs
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
and 1 more not named here
encode_passages 3 other papers
1 dated earlier, 2 later
2208.03299 (2022-08)
Atlas: Few-shot Learning with Retrieval Augmented Language Models
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
select_crossattention_scores 3 other papers
1 dated earlier, 2 later
2208.03299 (2022-08)
Atlas: Few-shot Learning with Retrieval Augmented Language Models
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
varsize_all_gather 3 other papers
3 later
2402.09906 (2024-02)
Generative Representational Instruction Tuning
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
all_gather 2 other papers
2 later
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
cross_attention_forward 2 other papers
2 later
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
deserialize_listdocs 2 other papers
2 later
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
gather_wgrad 2 other papers
2 later
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
serialize_listdocs 2 other papers
2 later
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation
2410.05162 (2024-10)
Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Models
get_checkpoint_path 1 other paper
1 later
2406.18847 (2024-06)
Learning Retrieval Augmentation for Personalized Dialogue Generation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this paper, we investigate the in-context learning ability of retrieval-augmented encoder-decoder language models. We first conduct a comprehensive analysis of existing models and identify their limitations in in-context learning, primarily due to a mismatch between pretraining and inference, as well as a restricted context length. To address these issues, we propose RAVEN, a model that combines retrieval-augmented masked language modeling and prefix language modeling. We further introduce Fusion-in-Context Learning to enhance the few-shot performance by enabling the model to leverage more in-context examples without requiring additional training. Through extensive experiments, we demonstrate that our simple yet effective design significantly improves performance, achieving results comparable to the most advanced language models in certain scenarios, despite having substantially fewer parameters. Our work underscores the potential of retrieval-augmented encoder-decoder language models for in-context learning and encourages further research in this direction.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2308.07922")
get_code_for_paper("2308.07922")
have("2308.07922")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2308.07922.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2308.07922.svg)](https://syntology.ai/paper/2308.07922)

Connect an agent — have() is free.