Weitong Zhang, Jinghui Chen, Lu Lin, Yuanpu Cao, Yifan Lan
8 of 13 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 0 have no contract verdict; 7 failures of our instrument; 5 no recorded run), measured 2026-11-24; 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/2509.12521.json · badge: /api/ran/2509.12521.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.
| Repository | Role | Ran |
|---|---|---|
| Yifan-Lan/Phi | canonical (classifier label) classifier basis: census |
8 ran · 5 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| convert_state_dict | Ran ran; our contract draft was wrong, not the code |
Yifan-Lan/Phi/trl/models/sd_utils.py code served (permissive licence) · get_code("8f1ce89b816a0734") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| convert_to_scalar | Ran ran; our contract draft was wrong, not the code |
Yifan-Lan/Phi/trl/core.py code served (permissive licence) · get_code("c32b636f13ed9ee5") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_all_parameters | Ran ran; our contract draft was wrong, not the code |
Yifan-Lan/Phi/trl/models/utils.py code served (permissive licence) · get_code("2f5119732e8dbd63") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned chain. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_image_data_url | Ran ran; our contract draft was wrong, not the code |
Yifan-Lan/Phi/GPT_test_score_phi.py code served (permissive licence) · get_code("d264a33695ddd017") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| iter_params | Ran ran; our contract draft was wrong, not the code |
Yifan-Lan/Phi/trl/models/utils.py code served (permissive licence) · get_code("48685a350888e505") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| read_csv_data | Ran ran; our contract draft was wrong, not the code |
Yifan-Lan/Phi/GPT_test_score_phi.py code served (permissive licence) · get_code("cac35be5cfe9eec0") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| strtobool | Ran ran, violated the contract we drafted |
Yifan-Lan/Phi/trl/env_utils.py code served (permissive licence) · get_code("f0cba5a1fca2a144") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| top_k_top_p_filtering | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
Yifan-Lan/Phi/trl/core.py code served (permissive licence) · get_code("072cc4ae40638ba1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| convert_state_dict_to_diffusers | Not yet run unverified (harvested, no recorded run) |
Yifan-Lan/Phi/trl/models/sd_utils.py code served (permissive licence) · get_code("fa59c920caf016e6") How it ranno invocation recorded. |
| flatten_dict | Not yet run unverified (harvested, no recorded run) |
Yifan-Lan/Phi/trl/core.py code served (permissive licence) · get_code("a51ae45a1f6c0b5b") How it ranno invocation recorded. |
| is_transformers_greater_than | Not yet run unverified (harvested, no recorded run) |
Yifan-Lan/Phi/trl/import_utils.py code served (permissive licence) · get_code("2a9ca02cb6e196ff") How it ranno invocation recorded. |
| scheduler_step | Not yet run unverified (harvested, no recorded run) |
Yifan-Lan/Phi/trl/models/modeling_sd_base.py code served (permissive licence) · get_code("31a4e1994101bdd7") How it ranno invocation recorded. |
| setup_chat_format | Not yet run unverified (harvested, no recorded run) |
Yifan-Lan/Phi/trl/models/utils.py code served (permissive licence) · get_code("ccaedb0c5f904b0b") How it ranno invocation recorded. |
Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 0 the same month, 6 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| top_k_top_p_filtering | 21 other papers 16 dated earlier, 3 later, 2 same year, order not determinable |
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 13 dated earlier, 3 later, 2 same year, order not determinable |
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 13 dated earlier, 3 later, 2 same year, order not determinable |
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 |
| scheduler_step | 4 other papers 3 dated earlier, 1 later |
2305.18290 (2023-05) Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
2410.06101 (2024-10) Coevolving with the Other You: Fine-Tuning LLM with Sequential Cooperative Multi-Agent Reinforcement Learning 2501.06911 (2025-01) Risk-Averse Fine-tuning of Large Language Models and 1 more not named here |
| is_transformers_greater_than | 3 other papers 3 dated earlier |
2305.18290 (2023-05) Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
2406.19371 (2024-06) Suri: Multi-constraint Instruction Following for Long-form Text Generation 2507.04976 (2025-07) Can Video LLMs Refuse to Answer? Alignment for Answerability in Video Large Language Models |
| convert_state_dict | 2 other papers 1 dated earlier, 1 later |
2305.18290 (2023-05) Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
2605.11974 (2026-05) Towards Order Fairness: Mitigating LLMs Order Sensitivity through Dual Group Advantage Optimization |
| convert_state_dict_to_diffusers | 2 other papers 1 dated earlier, 1 later |
2305.18290 (2023-05) Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
2605.11974 (2026-05) Towards Order Fairness: Mitigating LLMs Order Sensitivity through Dual Group Advantage Optimization |
| get_all_parameters | 2 other papers 2 dated earlier |
2305.18290 (2023-05) Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
2502.12853 (2025-02) S 2 R: Teaching LLMs to Self-verify and Self-correct via Reinforcement Learning |
| iter_params | 2 other papers 2 dated earlier |
2305.18290 (2023-05) Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
2502.12853 (2025-02) S 2 R: Teaching LLMs to Self-verify and Self-correct via Reinforcement Learning |
| setup_chat_format | 1 other paper 1 dated earlier |
2305.18290 (2023-05) Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
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-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Recently, Multi-modal Large Language Models (MLLMs) have gained significant attention across various domains. However, their widespread adoption has also raised serious safety concerns. In this paper, we uncover a new safety risk of MLLMs: the output preference of MLLMs can be arbitrarily manipulated by carefully optimized images. Such attacks often generate contextually relevant yet biased responses that are neither overtly harmful nor unethical, making them difficult to detect. Specifically, we introduce a novel method, Preference Hijacking (Phi), for manipulating the MLLM response preferences using a preference hijacked image. Our method works at inference time and requires no model modifications. Additionally, we introduce a universal hijacking perturbation -a transferable component that can be embedded into different images to hijack MLLM responses toward any attacker-specified preferences. Experimental results across various tasks demonstrate the effectiveness of our approach. The code for Phi is accessible at https://github.com/Yifan-Lan/Phi.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2509.12521")
get_code_for_paper("2509.12521")
have("2509.12521")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2509.12521.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2509.12521)
Connect an agent — have() is free.