SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.11215 · 2026

Q-BridgeNet: A Quantization Network for Cross-Lingual Sign Language Translation

Zhiyong Wang, Kun Hu, Lintao Wang, Dehui Kong, Xiaochen Liu, Liqian Feng, Anusha Withana, Ken-Tye Yong

arXiv · PDF

Code that ran

4 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 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/2607.11215.json · badge: /api/ran/2607.11215.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
FengLiQ/Q-BridgeNet canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
load_dataset_file Ran
ran; our contract draft was wrong, not the code
FengLiQ/Q-BridgeNet/datasets.py
code served (permissive licence) · get_code("d7bddbc9c40ab1bc")
How it ran

Ran 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.

import pickle
import gzip
import tempfile
import os

# Create a temporary gzip file with pickled data
temp_dir = tempfile.mkdtemp()
test_data = {
    "key1": "value1",
    "key2": [1, 2, 3],
    "key3": {"nested": "data"}
}

filename = os.path.join(temp_dir, "test_dataset.pkl.gz")
with gzip.open(filename, 'wb') as f:
    pickle.dump(test_data, f)

ARGS = {
    "filename": filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tokenize_13a Ran
ran; our contract draft was wrong, not the code
FengLiQ/Q-BridgeNet/sacrebleu.py
code served (permissive licence) · get_code("b5ec86d615fa1553")
How it ran

Ran 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.

import re

def tokenize_13a(line):
    """
    Tokenizes an input line using a relatively minimal tokenization that is however equivalent to mteval-v13a, used by WMT.

    :param line: a segment to tokenize
    :return: the tokenized line
    """
    norm = line
    norm = norm.replace('<skipped>', '')
    norm = norm.replace('-\n', '')
    norm = norm.replace('\n', ' ')
    norm = norm.replace('&quot;', '"')
    norm = norm.replace('&amp;', '&')
    norm = norm.replace('&lt;', '<')
    norm = norm.replace('&gt;', '>')
    norm = ' {} '.format(norm)
    norm = re.sub('([\\{-\\~\\[-\\` -\\&\\(-\\+\\:-\\@\\/])', ' \\1 ', norm)
    norm = re.sub('([^0-9])([\\.,])', '\\1 \\2 ', norm)
    norm = re.sub('([\\.,])([^0-9])', ' \\1 \\2', norm)
    norm = re.sub('([0-9])(-)', '\\1 \\2 ', norm)
    norm = re.sub('\\s+', ' ', norm)
    norm = re.sub('^\\s+', '', norm)
    norm = re.sub('\\s+$', '', norm)
    return norm

ARGS = {
    'line': 'Hello world, this is a test-sentence with &quot;quotes&quot; and &amp; symbols.'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tokenize_v14_international Ran
ran; our contract draft was wrong, not the code
FengLiQ/Q-BridgeNet/sacrebleu.py
code served (permissive licence) · get_code("7863c21b724029ba")
How it ran

Ran 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.

import functools
import re
import sys
import unicodedata

class UnicodeRegex:
    """Ad-hoc hack to recognize all punctuation and symbols.

    without depending on https://pypi.python.org/pypi/regex/."""

    @staticmethod
    def _property_chars(prefix):
        return ''.join((chr(x) for x in range(sys.maxunicode) if unicodedata.category(chr(x)).startswith(prefix)))

    @staticmethod
    @functools.lru_cache(maxsize=1)
    def punctuation():
        return UnicodeRegex._property_chars('P')

    @staticmethod
    @functools.lru_cache(maxsize=1)
    def nondigit_punct_re():
        return re.compile('([^\\d])([' + UnicodeRegex.punctuation() + '])')

    @staticmethod
    @functools.lru_cache(maxsize=1)
    def punct_nondigit_re():
        return re.compile('([' + UnicodeRegex.punctuation() + '])([^\\d])')

    @staticmethod
    @functools.lru_cache(maxsize=1)
    def symbol_re():
        return re.compile('([' + UnicodeRegex._property_chars('S') + '])')

def tokenize_v14_international(string):
    """Tokenize a string following the official BLEU implementation.

    See https://github.com/moses-smt/mosesdecoder/blob/master/scripts/generic/mteval-v14.pl#L954-L983
    In our case, the input string is expected to be just one line
    and no HTML entities de-escaping is needed.
    So we just tokenize on punctuation and symbols,
    except when a punctuation is preceded and followed by a digit
    (e.g. a comma/dot as a thousand/decimal separator).

    Note that a number (e.g., a year) followed by a dot at the end of sentence is NOT tokenized,
    i.e. the dot stays with the number because `s/(\\p{P})(\\P{N})/ $1 $2/g`
    does not match this case (unless we add a space after each sentence).
    However, this error is already in the original mteval-v14.pl
    and we want to be consistent with it.
    The error is not present in the non-international version,
    which uses `$norm_text = " $norm_text "` (or `norm = " {} ".format(norm)` in Python).

    :param string: the input string
    :return: a list of tokens
    """
    string = UnicodeRegex.nondigit_punct_re().sub('\\1 \\2 ', string)
    string = UnicodeRegex.punct_nondigit_re().sub(' \\1 \\2', string)
    string = UnicodeRegex.symbol_re().sub(' \\1 ', string)
    return string.strip()

ARGS = {
    "string": "Hello, world! This is a test with numbers like 3.14 and dates like 2024."
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tokenize_zh Ran
ran; our contract draft was wrong, not the code
FengLiQ/Q-BridgeNet/sacrebleu.py
code served (permissive licence) · get_code("803bc06bd832fbfe")
How it ran

Ran 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.

import re

def tokenize_zh(sentence):
    """MIT License
    Copyright (c) 2017 - Shujian Huang <huangsj@nju.edu.cn>

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.

    The tokenization of Chinese text in this script contains two steps: separate each Chinese
    characters (by utf-8 encoding); tokenize the non Chinese part (following the mteval script).
    Author: Shujian Huang huangsj@nju.edu.cn

    :param sentence: input sentence
    :return: tokenized sentence
    """

    def is_chinese_char(uchar):
        """
        :param uchar: input char in unicode
        :return: whether the input char is a Chinese character.
        """
        if uchar >= u'㐀' and uchar <= u'䶵':
            return True
        elif uchar >= u'一' and uchar <= u'龥':
            return True
        elif uchar >= u'龦' and uchar <= u'龻':
            return True
        elif uchar >= u'豈' and uchar <= u'鶴':
            return True
        elif uchar >= u'侮' and uchar <= u'頻':
            return True
        elif uchar >= u'並' and uchar <= u'龎':
            return True
        elif uchar >= u'\u20000' and uchar <= u'⩭6':
            return True
        elif uchar >= u'⾀0' and uchar <= u'⾡d':
            return True
        elif uchar >= u'\uff00' and uchar <= u'\uffef':
            return True
        elif uchar >= u'⺀' and uchar <= u'\u2eff':
            return True
        elif uchar >= u'\u3000' and uchar <= u'〿':
            return True
        elif uchar >= u'㇀' and uchar <= u'㇯':
            return True
        elif uchar >= u'⼀' and uchar <= u'\u2fdf':
            return True
        elif uchar >= u'⿰' and uchar <= u'⿿':
            return True
        elif uchar >= u'\u3100' and uchar <= u'ㄯ':
            return True
        elif uchar >= u'ㆠ' and uchar <= u'ㆿ':
            return True
        elif uchar >= u'︐' and uchar <= u'\ufe1f':
            return True
        elif uchar >= u'︰' and uchar <= u'﹏':
            return True
        elif uchar >= u'☀' and uchar <= u'⛿':
            return True
        elif uchar >= u'✀' and uchar <= u'➿':
            return True
        elif uchar >= u'㈀' and uchar <= u'㋿':
            return True
        elif uchar >= u'㌀' and uchar <= u'㏿':
            return True
        return False
    sentence = sentence.strip()
    sentence_in_chars = ''
    for char in sentence:
        if is_chinese_char(char):
            sentence_in_chars += ' '
            sentence_in_chars += char
            sentence_in_chars += ' '
        else:
            sentence_in_chars += char
    sentence = sentence_in_chars
    sentence = re.sub('([\\{-\\~\\[-\\` -\\&\\(-\\+\\:-\\@\\/])', ' \\1 ', sentence)
    sentence = re.sub('([^0-9])([\\.,])', '\\1 \\2 ', sentence)
    sentence = re.sub('([\\.,])([^0-9])', ' \\1 \\2', sentence)
    sentence = re.sub('([0-9])(-)', '\\1 \\2 ', sentence)
    sentence = re.sub('\\s+', ' ', sentence)
    sentence = sentence.strip()
    return sentence


ARGS = {
    "sentence": "Hello 世界, this is a test! 你好123-456."
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

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, 0 the same month, 0 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
load_dataset_file 2 other papers
2 dated earlier
2003.13830 (2020-03)
Sign Language Transformers: Joint End-to-end Sign Language Recognition and Translation
2204.04916 (2022-04)
A Token-level Contrastive Framework for Sign Language Translation
tokenize_13a 1 other paper
1 dated earlier
2307.14768 (2023-07)
Gloss-free Sign Language Translation: Improving from Visual-Language Pretraining
tokenize_v14_international 1 other paper
1 dated earlier
2307.14768 (2023-07)
Gloss-free Sign Language Translation: Improving from Visual-Language Pretraining
tokenize_zh 1 other paper
1 dated earlier
2307.14768 (2023-07)
Gloss-free Sign Language Translation: Improving from Visual-Language Pretraining

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

Most sign language translation (SLT) methods focus on isolated native sign-spoken pairs (e.g., American Sign Language-English). Extending language-specific SLT models to multilingual translation would improve accessibility by enabling communication across diverse sign and spoken language communities. However, existing multilingual SLT approaches still struggle to learn a unified model that minimizes crosslingual conflicts while capturing shared cross-lingual semantics and preserving language-specific variations across different sign languages. Therefore, we propose Q-BridgeNet, a unified framework for multilingual SLT that jointly mitigates cross-lingual conflicts across both the sign language and spoken language sides. On the sign language side, Q-BridgeNet learns discrete Q-units via adaptive segmentation and residual vector quantization: a shared base codebook provides language-agnostic semantic primitives, while language-specific residual codebooks refine heterogeneous signing semantics. On the spoken language side, a multilingual LLM is fine-tuned to operate in the Q-unit space, leveraging cross-lingual priors to enable a unified SLT model. Experiments on PHOENIX14T, How2Sign, and CSL-Daily show that Q-BridgeNet effectively mitigates cross-lingual conflicts, achieving state-of-the-art performance on native sign-spoken pairs while also demonstrating strong generalization to non-native pairs. Our source code is publicly available at: https://github.com/FengLiQ/Q-BridgeNet

For agents

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

get_harvested_code_for_paper("2607.11215")
get_code_for_paper("2607.11215")
have("2607.11215")

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

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

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

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

Connect an agent — have() is free.