SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2022.findings-naacl.160 · NAACL Findings · 2022

Learning Structural Information for Syntax-Controlled Paraphrase Generation

Deyi Xiong, Yufeng Chen, Jinan Xu, Erguang Yang, Chenglin Bai, Yujie Zhang, Yao Meng

Code that ran

11 of 15 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 9 have no contract verdict; 2 failures of our instrument; 4 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/2022.findings-naacl.160.json · badge: /api/ran/2022.findings-naacl.160.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
malllabiisc/SGCP canonical (classifier label)
classifier basis: census
11 ran · 4 no recorded run
FunctionStatusWhere it lives
compute_bleu Ran
ran on a synthesized input
malllabiisc/SGCP/src/bleu.py
code served (permissive licence) · get_code("ae3b0a421287c5c9")
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 tuple. 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 collections
import math

def _get_ngrams(segment, max_order):
    """Extracts all n-grams upto a given maximum order from an input segment.
    Args:
      segment: text segment from which n-grams will be extracted.
      max_order: maximum length in tokens of the n-grams returned by this
          methods.
    Returns:
      The Counter containing all n-grams upto max_order in segment
      with a count of how many times each n-gram occurred.
    """
    ngram_counts = collections.Counter()
    for order in range(1, max_order + 1):
        for i in range(0, len(segment) - order + 1):
            ngram = tuple(segment[i:i + order])
            ngram_counts[ngram] += 1
    return ngram_counts

def compute_bleu(reference_corpus, translation_corpus, max_order=4, smooth=False):
    """Computes BLEU score of translated segments against one or more references.
    Args:
      reference_corpus: list of lists of references for each translation. Each
          reference should be tokenized into a list of tokens.
      translation_corpus: list of translations to score. Each translation
          should be tokenized into a list of tokens.
      max_order: Maximum n-gram order to use when computing BLEU score.
      smooth: Whether or not to apply Lin et al. 2004 smoothing.
    Returns:
      3-Tuple with the BLEU score, n-gram precisions, geometric mean of n-gram
      precisions and brevity penalty.
    """
    matches_by_order = [0] * max_order
    possible_matches_by_order = [0] * max_order
    reference_length = 0
    translation_length = 0
    for references, translation in zip(reference_corpus, translation_corpus):
        reference_length += min((len(r) for r in references))
        translation_length += len(translation)
        merged_ref_ngram_counts = collections.Counter()
        for reference in references:
            merged_ref_ngram_counts |= _get_ngrams(reference, max_order)
        translation_ngram_counts = _get_ngrams(translation, max_order)
        overlap = translation_ngram_counts & merged_ref_ngram_counts
        for ngram in overlap:
            matches_by_order[len(ngram) - 1] += overlap[ngram]
        for order in range(1, max_order + 1):
            possible_matches = len(translation) - order + 1
            if possible_matches > 0:
                possible_matches_by_order[order - 1] += possible_matches
    precisions = [0] * max_order
    for i in range(0, max_order):
        if smooth:
            precisions[i] = (matches_by_order[i] + 1.0) / (possible_matches_by_order[i] + 1.0)
        elif possible_matches_by_order[i] > 0:
            precisions[i] = float(matches_by_order[i]) / possible_matches_by_order[i]
        else:
            precisions[i] = 0.0
    if min(precisions) > 0:
        p_log_sum = sum((1.0 / max_order * math.log(p) for p in precisions))
        geo_mean = math.exp(p_log_sum)
    else:
        geo_mean = 0
    ratio = float(translation_length) / reference_length
    if ratio > 1.0:
        bp = 1.0
    elif ratio > 0.1:
        bp = math.exp(1 - 1.0 / ratio)
    else:
        bp = 0.01
    bleu = geo_mean * bp
    return (bleu, precisions, bp, ratio, translation_length, reference_length)


# Setup code to construct valid arguments
reference_corpus = [
    [["the", "cat", "sat", "on", "the", "mat"], ["a", "cat", "is", "on", "the", "mat"]],
    [["hello", "world"], ["hi", "world"]]
]

translation_corpus = [
    ["the", "cat", "sat", "on", "the", "mat"],
    ["hello", "world"]
]

ARGS = {
    "reference_corpus": reference_corpus,
    "translation_corpus": translation_corpus,
    "max_order": 4,
    "smooth": False
}
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 tuple — a tuple output has no array shape of its own; none is 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
dec Ran
ran; our contract draft was wrong, not the code
malllabiisc/SGCP/src/evaluation/eval_utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Maluuba/nlg-eval, is pointer only (licence: NOASSERTION) · get_code("ba9348aac71a3f72")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Maluuba/nlg-eval, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

deleaf Ran
ran on a synthesized input
malllabiisc/SGCP/src/evaluation/eval_utils.py
code served (permissive licence) · get_code("4002b8ead3cb2000")
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
from nltk.tree import Tree

# Create a valid parse string in Penn Treebank format
parse_string = "(S (NP (DT The) (NN cat)) (VP (VBD sat) (PP (IN on) (NP (DT the) (NN mat)))))"

ARGS = {
    "parse_string": parse_string
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
nltk — 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
enc Ran
ran; our contract draft was wrong, not the code
malllabiisc/SGCP/src/evaluation/eval_utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Maluuba/nlg-eval, is pointer only (licence: NOASSERTION) · get_code("eaab50b5d9fea58a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Maluuba/nlg-eval, and GitHub could not classify the licence of that repository (NOASSERTION). 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 on a synthesized input
malllabiisc/SGCP/src/helper.py
code served (permissive licence) · get_code("34d6b7a9ac97b02f")
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 Logger. 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 logging
import tempfile
import os

# Create a temporary file for logging
temp_dir = tempfile.mkdtemp()
log_file_path = os.path.join(temp_dir, "test.log")

ARGS = {
    "name": "test_logger",
    "expt_name": "experiment_001",
    "log_format": "%(asctime)s - %(name)s - %(expt_name)s - %(levelname)s - %(message)s",
    "logging_level": logging.INFO,
    "log_file_path": log_file_path
}
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 Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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
get_tag Ran
ran on a synthesized input
malllabiisc/SGCP/src/evaluation/kappa.py
code served (permissive licence) · get_code("a41731788f641f43")
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 torch
import numpy as np

torch.manual_seed(0)

# The function get_tag takes a single parameter x
# Looking at the function body, it simply calls str(x) and returns it
# So x can be any value that str() can convert

# Test with a few different types to ensure versatility
x_value = 5

ARGS = {
    'x': x_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — 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
load_checkpoint Ran
ran on a synthesized input
malllabiisc/SGCP/src/helper.py
code served (permissive licence) · get_code("62e48323a804eeae")
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 tuple, 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.

import torch
import torch.nn as nn
import logging
from io import StringIO

torch.manual_seed(0)

# Create a minimal logger
logger = logging.getLogger('test')
logger.setLevel(logging.INFO)
stream = StringIO()
handler = logging.StreamHandler(stream)
logger.addHandler(handler)

# Create a minimal model with the required structure
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.encoder = nn.Linear(4, 3)
        self.decoder = nn.Linear(3, 2)
        # Model needs optimizer dict with 'tree', 'rnn', 'encoder' keys
        self.optimizer = {
            'tree': torch.optim.SGD(self.parameters(), lr=0.01),
            'rnn': torch.optim.SGD(self.parameters(), lr=0.01),
            'encoder': torch.optim.SGD(self.parameters(), lr=0.01),
        }
    
    def forward(self, x):
        return self.decoder(self.encoder(x))

# Create model instance
model = MinimalModel()

# Create a valid checkpoint file and save it
checkpoint_data = {
    'model_state_dict': model.state_dict(),
    'optimizer_tree_state_dict': model.optimizer['tree'].state_dict(),
    'optimizer_rnn_state_dict': model.optimizer['rnn'].state_dict(),
    'optimizer_enc_state_dict': model.optimizer['encoder'].state_dict(),
    'epoch': 5,
    'train_loss': 0.123,
    'val_loss': 0.456,
    'voc': {'word1': 1, 'word2': 2},
    'bleu': 0.789,
}

# Save to a temporary file path (we won't actually use file I/O, just pass the path)
file_path = '/tmp/checkpoint_test.pt'

# Create mode options
mode = 'train'

# Device
device = 'cpu'

# Pretrained encoder (can be None)
pretrained_encoder = None

ARGS = {
    'model': model,
    'mode': mode,
    'file_path': file_path,
    'logger': logger,
    'device': device,
    'pretrained_encoder': pretrained_encoder,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
load_word_embedding Ran
ran on a synthesized input
malllabiisc/SGCP/src/word_embedding_utils.py
code served (permissive licence) · get_code("0b85c3632627796b")
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 tuple. 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 os
import sys
import tempfile
import pickle
from six.moves import cPickle

# Create a temporary directory for the embedding file
temp_dir = tempfile.mkdtemp()

# Create a sample embedding (could be a tuple of various things)
# The function just loads and returns whatever is pickled
sample_embedding = (
    ["word1", "word2", "word3"],
    [[0.1, 0.2], [0.3, 0.4], [0.5, 0.6]]
)

# Write the pickle file
pickle_file_path = os.path.join(temp_dir, 'random.pkl')
with open(pickle_file_path, 'wb') as f:
    pickle.dump(sample_embedding, f)

# Define ARGS
ARGS = {
    'embed_path': temp_dir,
    'pickle_fname': 'random.pkl'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
six — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
para2id Ran
ran on a synthesized input
malllabiisc/SGCP/src/dataloader.py
code served (permissive licence) · get_code("17c4637a70ab41e1")
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 tuple, ndim 2, dtype family int; 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.

class Vocabulary:
    def __init__(self):
        self.w2id = {
            'SOS': 0,
            'EOS': 1,
            'UNK': 2,
            'hello': 3,
            'world': 4,
            'test': 5,
            'word': 6,
        }
        self.nwords = len(self.w2id)


voc = Vocabulary()

para = ['hello', 'world', 'unknown_word', 'test']

sent_oov = ['unknown_word', 'another_oov']

ARGS = {
    'voc': voc,
    'para': para,
    'max_length': 20,
    'sent_oov': sent_oov,
}
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 tuple, ndim 2, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
sent2id Ran
ran on a synthesized input
malllabiisc/SGCP/src/dataloader.py
code served (permissive licence) · get_code("cb8f9e6b3f4a0793")
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 tuple. 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 torch
import numpy as np

class Vocab:
    def __init__(self):
        self.w2id = {
            'hello': 1,
            'world': 2,
            'foo': 3,
            'bar': 4,
            'UNK': 0
        }
        self.nwords = len(self.w2id)

voc = Vocab()
sent = ['hello', 'world', 'foo', 'unknown_word', 'bar']
max_length = 3
is_ptr = True

ARGS = {
    'voc': voc,
    'sent': sent,
    'max_length': max_length,
    'is_ptr': is_ptr
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
sents2ids Ran
ran on a synthesized input
malllabiisc/SGCP/src/dataloader.py
code served (permissive licence) · get_code("e86e6cf79a1321f0")
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 tuple. 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 json

class SimpleVocab:
    def __init__(self):
        self.w2id = {
            'hello': 0,
            'world': 1,
            'foo': 2,
            'bar': 3,
            'UNK': 4
        }
        self.nwords = len(self.w2id)

voc = SimpleVocab()

sent1 = json.dumps(['hello', 'world', 'foo'])
sent2 = json.dumps(['bar', 'UNK', 'hello', 'unknown_word'])

sents = [sent1, sent2]

max_length = 5
is_ptr = False

ARGS = {
    'voc': voc,
    'sents': sents,
    'max_length': max_length,
    'is_ptr': is_ptr
}
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 tuple — a tuple output has no array shape of its own; none is 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
add_vocab_for Not yet run
unverified (harvested, no recorded run)
malllabiisc/SGCP/src/create_vocab.py
code served (permissive licence) · get_code("6c738c0ce19693af")
How it ran

no invocation recorded.

create_vocab_dict Not yet run
unverified (harvested, no recorded run)
malllabiisc/SGCP/src/create_vocab.py
code served (permissive licence) · get_code("4c12386936addc19")
How it ran

no invocation recorded.

merge_vocabs Not yet run
unverified (harvested, no recorded run)
malllabiisc/SGCP/src/create_vocab.py
code served (permissive licence) · get_code("f9bed04da1813eed")
How it ran

no invocation recorded.

run_multi_bleu Not yet run
unverified (harvested, no recorded run)
malllabiisc/SGCP/src/helper.py
code served (permissive licence) · get_code("42bf6b6efb0d4240")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 12 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
dec 4 other papers
2 dated earlier, 2 later
1706.09799 (2017-06)
Relevance of Unsupervised Metrics in Task-Oriented Dialogue for Evaluating Natural Language Generation
2109.08365 (2021-09)
CodeQA: A Question Answering Dataset for Source Code Comprehension
2309.09812 (2023-09)
R2GenGPT: Radiology Report Generation with Frozen LLMs
and 1 more not named here
enc 4 other papers
2 dated earlier, 2 later
1706.09799 (2017-06)
Relevance of Unsupervised Metrics in Task-Oriented Dialogue for Evaluating Natural Language Generation
2109.08365 (2021-09)
CodeQA: A Question Answering Dataset for Source Code Comprehension
2309.09812 (2023-09)
R2GenGPT: Radiology Report Generation with Frozen LLMs
and 1 more not named here
compute_bleu 1 other paper
1 dated earlier
2006.09286 (2020-06)
On the Computational Power of Transformers and its Implications in Sequence Modeling

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.

Repositories linked to this paper

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

Abstract

Syntax-controlled paraphrase generation aims to produce paraphrase conform to given syntactic patterns. To address this task, recent works have started to use parse trees (or syntactic templates) to guide generation. A constituency parse tree contains abundant structural information, such as parent-child relation, sibling relation, and the alignment relation between words and nodes. Previous works have only utilized parent-child and alignment relations, which may affect the generation quality. To address this limitation, we propose a Structural Information-augmented Syntax-Controlled Paraphrasing (SI-SCP) model. Particularly, we design a syntax encoder based on tree-transformer to capture parent-child and sibling relations. To model the alignment relation between words and nodes, we propose an attention regularization objective, which makes the decoder accurately select corresponding syntax nodes to guide the generation of words. Experiments show that SI-SCP achieves state-ofthe-art performances in terms of semantic and syntactic quality on two popular benchmark datasets. Additionally, we propose a Syntactic Template Retriever (STR) to retrieve compatible syntactic structures. We validate that STR is capable of retrieving compatible syntactic structures. We further demonstrate the effectiveness of SI-SCP to generate diverse paraphrases with retrieved syntactic structures.

For agents

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

get_harvested_code_for_paper("2022.findings-naacl.160")
get_code_for_paper("2022.findings-naacl.160")
have("2022.findings-naacl.160")

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

curl https://syntology.ai/api/ran/2022.findings-naacl.160.json

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

[![Syntology run record](https://syntology.ai/api/ran/2022.findings-naacl.160.svg)](https://syntology.ai/paper/2022.findings-naacl.160)

Connect an agent — have() is free.