Zihan Wang, Dawei Yin, Maarten De Rijke, Yougang Lyu, Lingyong Yan, Pengjie Ren, Zhaochun Ren
2 of 4 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-23; 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.07672.json · badge: /api/ran/2410.07672.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 |
|---|---|---|
| youganglyu/MACPO | canonical (classifier label) classifier basis: census |
2 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| count_parameters | Ran ran, honoured the contract we drafted |
youganglyu/MACPO/src/llmtuner/extras/misc.py pointer only (licence: NONE) · get_code("5995c2562cfcbc33") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, youganglyu/MACPO 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_logger | Ran ran; our contract draft was wrong, not the code |
youganglyu/MACPO/src/llmtuner/extras/logging.py pointer only (licence: NONE) · get_code("4049a2f89b11dd2f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, youganglyu/MACPO 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_eval_template | Not yet run unverified (harvested, no recorded run) |
youganglyu/MACPO/src/llmtuner/eval/template.py pointer only (licence: NONE) · get_code("81d83e0fa1ee57f3") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, youganglyu/MACPO 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. |
| infer_optim_dtype | Not yet run unverified (harvested, no recorded run) |
youganglyu/MACPO/src/llmtuner/extras/misc.py pointer only (licence: NONE) · get_code("0ace211ff2e7d07f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, youganglyu/MACPO 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. |
Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 4 the same month, 4 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| get_logger | 8 other papers 5 dated earlier, 2 the same month, 1 later |
2311.13246 (2023-11) CoachLM: Automatic Instruction Revisions Improve the Data Quality in LLM Instruction Tuning |
2312.02554 (2023-12) ULMA: Unified Language Model Alignment with Human Demonstration and Point-wise Preference 2403.13786 (2024-03) Chain-of-Interaction: Enhancing Large Language Models for Psychiatric Behavior Understanding by Dyadic Contexts and 5 more not named here |
| infer_optim_dtype | 5 other papers 3 dated earlier, 1 the same month, 1 later |
2303.18223 (2023-03) A Survey of Large Language Models |
2403.13786 (2024-03) Chain-of-Interaction: Enhancing Large Language Models for Psychiatric Behavior Understanding by Dyadic Contexts 2406.15786 (2024-06) What Matters in Transformers? Not All Attention is Needed and 2 more not named here |
| count_parameters | 4 other papers 2 dated earlier, 1 the same month, 1 later |
2403.13786 (2024-03) Chain-of-Interaction: Enhancing Large Language Models for Psychiatric Behavior Understanding by Dyadic Contexts |
2406.15786 (2024-06) What Matters in Transformers? Not All Attention is Needed 2410.14157 (2024-10) Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning and 1 more not named here |
| get_eval_template | 3 other papers 1 dated earlier, 1 the same month, 1 later |
2405.19266 (2024-05) PediatricsGPT: Large Language Models as Chinese Medical Assistants for Pediatric Applications |
2410.18640 (2024-10) Weak-to-Strong Preference Optimization: Stealing Reward from Weak Aligned Model aaai_34615 (2025 (year only)) Multi-Reference Preference Optimization for Large Language Models |
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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
As large language models (LLMs) are rapidly advancing and achieving near-human capabilities on specific tasks, aligning them with human values is becoming more urgent. In scenarios where LLMs outperform humans, we face a weak-to-strong alignment problem where we need to effectively align strong student LLMs through weak supervision generated by weak teachers. Existing alignment methods mainly focus on strong-to-weak alignment and self-alignment settings, and it is impractical to adapt them to the much harder weak-to-strong alignment setting. To fill this gap, we propose a multi-agent contrastive preference optimization (MACPO) framework. MACPO facilitates weak teachers and strong students to learn from each other by iteratively reinforcing unfamiliar positive behaviors while penalizing familiar negative ones. To get this, we devise a mutual positive behavior augmentation strategy to encourage weak teachers and strong students to learn from each other's positive behavior and further provide higher quality positive behavior for the next iteration. Additionally, we propose a hard negative behavior construction strategy to induce weak teachers and strong students to generate familiar negative behavior by fine-tuning on negative behavioral data. Experimental results on the HH-RLHF and PKU-SafeRLHF datasets, evaluated using both automatic metrics and human judgments, demonstrate that MACPO simultaneously improves the alignment performance of strong students and weak teachers. Moreover, as the number of weak teachers increases, MACPO achieves better weak-to-strong alignment performance through more iteration optimization rounds.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2410.07672")
get_code_for_paper("2410.07672")
have("2410.07672")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2410.07672.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2410.07672)
Connect an agent — have() is free.