SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.13360 · 2024

RAP: Retrieval-Augmented Personalization for Multimodal Large Language Models

arXiv · PDF · Open in the Atlas

Code that ran

7 of 10 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 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/2410.13360.json · badge: /api/ran/2410.13360.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
hoar012/rap-mllm canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
divide_to_patches Ran
ran; our contract draft was wrong, not the code
hoar012/rap-mllm/llava/mm_utils.py
pointer only (licence: NONE) · get_code("7e03b180fa317c9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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.

load_image Ran
ran, honoured the contract we drafted
hoar012/rap-mllm/retriever.py
pointer only (licence: NONE) · get_code("7a70c70cfc4f8bbb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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.

load_image Ran
ran, honoured the contract we drafted
hoar012/rap-mllm/eval/TQA.py
pointer only (licence: NONE) · get_code("20281a9b344a9430")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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
hoar012/rap-mllm/eval/eval_qa.py
pointer only (licence: NONE) · get_code("7927b07dcc328a1f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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.

resize_and_pad_image Ran
ran; our contract draft was wrong, not the code
hoar012/rap-mllm/llava/mm_utils.py
pointer only (licence: NONE) · get_code("468eedeba67f1b00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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_best_resolution Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hoar012/rap-mllm/llava/mm_utils.py
pointer only (licence: NONE) · get_code("3999ff487573f32c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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.

unpad_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from LLaVA-VL/LLaVA-NeXT
pointer only · get_code("7606525af238fb64")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_peft_state_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
hoar012/rap-mllm/llava/train/rap_train.py
pointer only (licence: NONE) · get_code("fa1225dfac92bc0d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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.

get_peft_state_non_lora_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
hoar012/rap-mllm/llava/train/rap_train.py
pointer only (licence: NONE) · get_code("1c53657305b66e9f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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.

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
hoar012/rap-mllm/llava/train/rap_train.py
pointer only (licence: NONE) · get_code("616ffbdc154ed2d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hoar012/rap-mllm 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 7 the same month, 9 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
select_best_resolution 73 other papers
34 dated earlier, 11 the same month, 28 later · 7 only as an assembly brick
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2304.08485 (2023-04)
Visual Instruction Tuning
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
and 70 more not named here
unpad_image 69 other papers
21 dated earlier, 5 the same month, 43 later · 5 only as an assembly brick
2304.08485 (2023-04)
Visual Instruction Tuning
2309.09958 (2023-09)
An Empirical Study of Scaling Instruct-Tuned Large Multimodal Models
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 66 more not named here
resize_and_pad_image 65 other papers
29 dated earlier, 10 the same month, 26 later
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
and 62 more not named here
divide_to_patches 64 other papers
28 dated earlier, 10 the same month, 26 later
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
and 61 more not named here
maybe_zero_3 37 other papers
19 dated earlier, 3 the same month, 15 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2311.16839 (2023-11)
Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
and 34 more not named here
get_peft_state_maybe_zero_3 23 other papers
11 dated earlier, 3 the same month, 9 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2401.02330 (2024-01)
LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Model
2402.12501 (2024-02)
Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selection
and 20 more not named here
get_peft_state_non_lora_maybe_zero_3 23 other papers
12 dated earlier, 3 the same month, 8 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
2401.02330 (2024-01)
LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Model
and 20 more not named here
load_image 10 other papers
7 dated earlier, 2 later, 1 same year, order not determinable
2311.06783 (2023-11)
Q-Instruct: Improving Low-level Visual Abilities for Multi-modality Foundation Models
2024.findings-acl.573 (2024 (year only))
Visual Hallucinations of Multi-modal Large Language Models
2402.06659 (2024-02)
Shadowcast: Stealthy Data Poisoning Attacks against Vision-Language Models
and 7 more not named here
normalize_answer 2 other papers
1 dated earlier, 1 later
2302.11713 (2023-02)
Can Pre-trained Vision and Language Models Answer Visual Information-Seeking Questions?
2604.05818 (2026-04)
WikiSeeker: Rethinking the Role of Vision-Language Models in Knowledge-Based Visual Question Answering

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

The development of large language models (LLMs) has significantly enhanced the capabilities of multimodal LLMs (MLLMs) as general assistants. However, lack of user-specific knowledge still restricts their application in human's daily life. In this paper, we introduce the Retrieval Augmented Personalization (RAP) framework for MLLMs' personalization. Starting from a general MLLM, we turn it into a personalized assistant in three steps. (a) Remember: We design a key-value database to store user-related information, e.g., user's name, avatar and other attributes. (b) Retrieve: When the user initiates a conversation, RAP will retrieve relevant information from the database using a multimodal retriever. (c) Generate: The input query and retrieved concepts' information are fed into MLLMs to generate personalized, knowledge-augmented responses. Unlike previous methods, RAP allows real-time concept editing via updating the external database. To further improve generation quality and alignment with user-specific information, we design a pipeline for data collection and create a specialized dataset for personalized training of MLLMs. Based on the dataset, we train a series of MLLMs as personalized multimodal assistants. By pretraining on large-scale dataset, RAP-MLLMs can generalize to infinite visual concepts without additional finetuning. Our models demonstrate outstanding flexibility and generation quality across a variety of tasks, such as personalized image captioning, question answering and visual recognition. The code, data and models are available at https://hoar012.github.io/RAP-Project/.

For agents

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

get_harvested_code_for_paper("2410.13360")
get_code_for_paper("2410.13360")
have("2410.13360")

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

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

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

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

Connect an agent — have() is free.