SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.07717 · EMNLP · 2020

Wasserstein Distance Regularized Sequence Representation for Text Matching in Asymmetrical Domains

Chen Xu, Jun Xu, Ji-Rong Wen, Liang Pang, Data Management, Analysis Methods, Weijie Yu, Xiaopeng Gao, Xiaozhao Wang

arXiv · PDF · Open in the Atlas

Code that ran

6 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 7 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/2010.07717.json · badge: /api/ran/2010.07717.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
RUC-WSM/WD-Match community
Papers with Code archive
6 ran · 7 no recorded run
FunctionStatusWhere it lives
Embedding Ran
ran on a synthesized input · constructed an object; no result was computed
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("6778af74cb726d32")
How it ran

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

Indexer Ran
ran on a synthesized input · constructed an object; no result was computed
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("91279a483b61cec8")
How it ran

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

RobustIndexer Ran
ran on a synthesized input · constructed an object; no result was computed
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("30c472375e338b82")
How it ran

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

Vocab Ran
ran on a synthesized input · constructed an object; no result was computed
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("c8b7c04d59cd2a4c")
How it ran

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

gelu Ran
ran, honoured the contract we drafted
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("83960d2d866210b0")
How it ran

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

pooling Ran
ran, honoured the contract we drafted
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("dc02d636fe86e94c")
How it ran

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

Encoder Not yet run
unverified (harvested, no recorded run)
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("e6a175b7788d584f")
How it ran

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

Model Not yet run
unverified (harvested, no recorded run)
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("f08c1468462f659f")
How it ran

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

Network Not yet run
unverified (harvested, no recorded run)
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("041417ef64376ab0")
How it ran

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

apply_bias Not yet run
unverified (harvested, no recorded run)
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("d922410cf802ee05")
How it ran

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

conv1d Not yet run
unverified (harvested, no recorded run)
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("e97b2113436b499c")
How it ran

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

dense Not yet run
unverified (harvested, no recorded run)
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("2d4063ceaaf34982")
How it ran

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

get_weight Not yet run
unverified (harvested, no recorded run)
RUC-WSM/WD-Match/src/model.py
pointer only (licence: NONE) · get_code("971d55d8f7b68385")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, RUC-WSM/WD-Match 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 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, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 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
pooling
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1908.00300 (2019-08)
Simple and Effective Text Matching with Richer Alignment Features

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

One approach to matching texts from asymmetrical domains is projecting the input sequences into a common semantic space as feature vectors upon which the matching function can be readily defined and learned. In realworld matching practices, it is often observed that with the training goes on, the feature vectors projected from different domains tend to be indistinguishable. The phenomenon, however, is often overlooked in existing matching models. As a result, the feature vectors are constructed without any regularization, which inevitably increases the difficulty of learning the downstream matching functions. In this paper, we propose a novel match method tailored for text matching in asymmetrical domains, called WD-Match. In WD-Match, a Wasserstein distance-based regularizer is defined to regularize the features vectors projected from different domains. As a result, the method enforces the feature projection function to generate vectors such that those correspond to different domains cannot be easily discriminated. The training process of WD-Match amounts to a game that minimizes the matching loss regularized by the Wasserstein distance. WD-Match can be used to improve different text matching methods, by using the method as its underlying matching model. Four popular text matching methods have been exploited in the paper. Experimental results based on four publicly available benchmarks showed that WD-Match consistently outperformed the underlying methods and the baselines.

For agents

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

get_harvested_code_for_paper("2010.07717")
get_code_for_paper("2010.07717")
have("2010.07717")

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

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

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

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

Connect an agent — have() is free.