SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.11909 · 2024

SymDPO: Boosting In-Context Learning of Large Multimodal Models with Symbol Demonstration Direct Preference Optimization

arXiv · PDF · Open in the Atlas

Code that ran

4 of 8 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; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 2 failures of our instrument; 4 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/2411.11909.json · badge: /api/ran/2411.11909.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
APiaoG/SymDPO canonical (classifier label)
classifier basis: census
4 ran · 4 no recorded run
FunctionStatusWhere it lives
FeedForward Ran
ran; our contract draft was wrong, not the code
APiaoG/SymDPO/open_flamingo/src/helpers.py
pointer only (licence: NONE) · get_code("4d75570b4e91d0b4")
How it ran

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

convert_to_scalar Ran
ran; our contract draft was wrong, not the code
APiaoG/SymDPO/trl/core.py
pointer only (licence: NONE) · get_code("c32b636f13ed9ee5")
How it ran

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

exists Ran
ran, violated the contract we drafted
APiaoG/SymDPO/open_flamingo/src/helpers.py
pointer only (licence: NONE); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

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

scaled_multihead_dot_product_attention Ran
ran on a synthesized input
APiaoG/SymDPO/open_flamingo/src/attention.py
pointer only (licence: NONE) · get_code("41f09d65a32dd8bc")
How it ran

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

flash_attn_fn Not yet run
unverified (harvested, no recorded run)
APiaoG/SymDPO/open_flamingo/src/attention.py
pointer only (licence: NONE) · get_code("0861aab202cd8f62")
How it ran

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

flatten_dict Not yet run
unverified (harvested, no recorded run)
APiaoG/SymDPO/trl/core.py
pointer only (licence: NONE) · get_code("a51ae45a1f6c0b5b")
How it ran

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

top_k_top_p_filtering Not yet run
unverified (harvested, no recorded run)
APiaoG/SymDPO/trl/core.py
pointer only (licence: NONE) · get_code("2c3da386578af970")
How it ran

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

triton_flash_attn_fn Not yet run
unverified (harvested, no recorded run)
APiaoG/SymDPO/open_flamingo/src/attention.py
pointer only (licence: NONE) · get_code("b311f25d750d0626")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, APiaoG/SymDPO 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 5 the same month, 5 later) and 3 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
exists 486 other papers
397 dated earlier, 14 the same month, 64 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
FeedForward 47 other papers
28 dated earlier, 2 the same month, 16 later, 1 same year, order not determinable · 4 only as an assembly brick
2204.14198 (2022-04)
Flamingo: a Visual Language Model for Few-Shot Learning
2308.02463 (2023-08)
Towards Generalist Foundation Model for Radiology by Leveraging Web-scale 2D&3D Medical Data
2308.06721 (2023-08)
IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models
and 44 more not named here
top_k_top_p_filtering 21 other papers
9 dated earlier, 2 the same month, 10 later
2305.12191 (2023-05)
Pointwise Mutual Information Based Metric and Decoding Strategy for Faithful Generation in Document Grounded Dialogs
2305.18290 (2023-05)
Direct Preference Optimization: Your Language Model is Secretly a Reward Model
2311.17911 (2023-11)
OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation
and 18 more not named here
convert_to_scalar 18 other papers
6 dated earlier, 2 the same month, 10 later
2305.18290 (2023-05)
Direct Preference Optimization: Your Language Model is Secretly a Reward Model
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2406.19371 (2024-06)
Suri: Multi-constraint Instruction Following for Long-form Text Generation
and 15 more not named here
flatten_dict 18 other papers
6 dated earlier, 2 the same month, 10 later
2305.18290 (2023-05)
Direct Preference Optimization: Your Language Model is Secretly a Reward Model
2406.11280 (2024-06)
ISR-DPO: Aligning Large Multimodal Models for Videos by Iterative Self-Retrospective DPO
2406.19371 (2024-06)
Suri: Multi-constraint Instruction Following for Long-form Text Generation
and 15 more not named here

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

As language models continue to scale, Large Language Models (LLMs) have exhibited emerging capabilities in In-Context Learning (ICL), enabling them to solve language tasks by prefixing a few in-context demonstrations (ICDs) as context. Inspired by these advancements, researchers have extended these techniques to develop Large Multimodal Models (LMMs) with ICL capabilities. However, existing LMMs face a critical issue: they often fail to effectively leverage the visual context in multimodal demonstrations and instead simply follow textual patterns. This indicates that LMMs do not achieve effective alignment between multimodal demonstrations and model outputs. To address this problem, we propose Symbol Demonstration Direct Preference Optimization (SymDPO). Specifically, SymDPO aims to break the traditional paradigm of constructing multimodal demonstrations by using random symbols to replace text answers within instances. This forces the model to carefully understand the demonstration images and establish a relationship between the images and the symbols to answer questions correctly. We validate the effectiveness of this method on multiple benchmarks, demonstrating that with SymDPO, LMMs can more effectively understand the multimodal context within examples and utilize this knowledge to answer questions better. Code is available at https://github.com/APiaoG/SymDPO.

For agents

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

get_harvested_code_for_paper("2411.11909")
get_code_for_paper("2411.11909")
have("2411.11909")

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

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

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

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

Connect an agent — have() is free.