SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.12674 · 2023

Improving Translation Faithfulness of Large Language Models via Augmenting Instructions

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 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, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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.12674.json · badge: /api/ran/2308.12674.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
pppa2019/swie_overmiss_llm4mt canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pppa2019/swie_overmiss_llm4mt/src/trainable_multiL_ins_llama.py
pointer only (licence: NONE) · get_code("9b4dff79d5e6102c")
How it ran

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

create_prompt Ran
ran; our contract draft was wrong, not the code
pppa2019/swie_overmiss_llm4mt/src/inference.py
pointer only (licence: NONE) · get_code("258ba32f9e3eb1d9")
How it ran

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

create_prompt Ran
ran; our contract draft was wrong, not the code
pppa2019/swie_overmiss_llm4mt/utils/convert_alpaca_to_hf.py
pointer only (licence: NONE) · get_code("54458e263ddc9222")
How it ran

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

read_input Ran
ran; our contract draft was wrong, not the code
pppa2019/swie_overmiss_llm4mt/src/inference.py
pointer only (licence: NONE) · get_code("2a686c7dfc4f6740")
How it ran

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

read_json Ran
ran; our contract draft was wrong, not the code
pppa2019/swie_overmiss_llm4mt/utils/convert_alpaca_to_hf.py
pointer only (licence: NONE) · get_code("a90bcd4fe56ecc9f")
How it ran

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

rotate_half Ran
ran; our contract draft was wrong, not the code
pppa2019/swie_overmiss_llm4mt/src/trainable_multiL_ins_llama.py
pointer only (licence: NONE) · get_code("b99eea6376d1e212")
How it ran

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

token_ids2seg_ids Ran
ran; our contract draft was wrong, not the code
pppa2019/swie_overmiss_llm4mt/src/trainable_multiL_ins_bloom.py
pointer only (licence: NONE) · get_code("8d2f5760a6dbad50")
How it ran

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

token_ids2seg_ids Ran
ran; our contract draft was wrong, not the code
pppa2019/swie_overmiss_llm4mt/src/trainable_multiL_ins_llama.py
pointer only (licence: NONE) · get_code("8a6488f48ccd46e2")
How it ran

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

read_instruct Not yet run
unverified (harvested, no recorded run)
pppa2019/swie_overmiss_llm4mt/src/inference.py
pointer only (licence: NONE) · get_code("dc9d6423c6ffdfea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pppa2019/swie_overmiss_llm4mt 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 4 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 3 the same month, 4 later) and 4 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
rotate_half 360 other papers
16 dated earlier, 7 the same month, 334 later, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
apply_rotary_pos_emb 47 other papers
6 dated earlier, 5 the same month, 36 later
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
2305.16355 (2023-05)
PandaGPT: One Model To Instruction-Follow Them All
and 44 more not named here
read_instruct 5 other papers
1 the same month, 4 later
2308.12097 (2023-08)
Instruction Position Matters in Sequence Generation with Large Language Models
2401.08350 (2024-01)
Salute the Classic: Revisiting Challenges of Machine Translation in the Age of Large Language Models
2401.12873 (2024-01)
Improving Machine Translation with Human Feedback: An Exploration of Quality Estimation as a Reward Model
and 2 more not named here
read_input 4 other papers
4 later
2311.09071 (2023-11)
How Vocabulary Sharing Facilitates Multilingualism in LLaMA?
2401.08350 (2024-01)
Salute the Classic: Revisiting Challenges of Machine Translation in the Age of Large Language Models
2402.07616 (2024-02)
Anchor-based Large Language Models
and 1 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-23.

Repositories linked to this paper

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

Abstract

Large Language Models (LLMs) present strong general capabilities, and a current compelling challenge is stimulating their specialized capabilities, such as machine translation, through low-cost instruction tuning. The standard instruction-following data is sequentially organized as the concatenation of an instruction, an input, and a response. As the attention mechanism of LLMs has limitations on local focus, LLMs tend to focus more on the words or sentences nearby at each position. This leads to a high risk of instruction forgetting during decoding. To alleviate the above issues, We propose SWIE (Segment-Weighted Instruction Embedding) and an instruction-following dataset OVERMISS. SWIE improves the model instruction understanding by adding a global instruction representation on the following input and response representations. OVERMISS improves model faithfulness by comparing over-translation and miss-translation results with the correct translation. We apply our methods to two main-stream open-source LLMs, BLOOM and LLaMA. The experimental results demonstrate significant improvements in translation performance with SWIE based on BLOOMZ-3b, particularly in zero-shot and long text translations due to reduced instruction forgetting risk. Additionally, OVERMISS outperforms the baseline in translation performance (e.g. an increase in BLEU scores from 0.69 to 3.12 and an average improvement of 0.48 percentage comet scores for LLaMA-7b) with further enhancements seen in models combining OVERMISS and SWIE (e.g. the BLUE scores increase up to 0.56 from English to German across three different backbones), and both exhibit improvements in the faithfulness metric based on word alignment.

For agents

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

get_harvested_code_for_paper("2308.12674")
get_code_for_paper("2308.12674")
have("2308.12674")

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

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

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

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

Connect an agent — have() is free.