Papers › Merging Weak and Active Supervision for Semantic Parsing

Merging Weak and Active Supervision for Semantic Parsing

29 Nov 2019arXiv:1911.12986archive 2025-07-28

Ansong Ni, Pengcheng Yin, Graham Neubig

A semantic parser maps natural language commands (NLs) from the users to executable meaning representations (MRs), which are later executed in certain environment to obtain user-desired results. The fully-supervised training of such parser requires NL/MR pairs, annotated by domain experts, which makes them expensive to collect. However, weakly-supervised semantic parsers are learnt only from pairs of NL and expected execution results, leaving the MRs latent. While weak supervision is cheaper to acquire, learning from this input poses difficulties. It demands that parsers search a large space with a very weak learning signal and it is hard to avoid spurious MRs that achieve the correct answer in the wrong way. These factors lead to a performance gap between parsers trained in weakly- and fully-supervised setting. To bridge this gap, we examine the intersection between weak supervision and active learning, which allows the learner to actively select examples and query for manual annotations as extra supervision to improve the model trained under weak supervision. We study different active learning heuristics for selecting examples to query, and various forms of extra supervision for such queries. We evaluate the effectiveness of our method on two different datasets. Experiments on the WikiSQL show that by annotating only 1.8% of examples, we improve over a state-of-the-art weakly-supervised baseline by 6.4%, achieving an accuracy of 79.0%, which is only 1.3% away from the model trained with full supervision. Experiments on WikiTableQuestions with human annotators show that our method can improve the performance with only 100 active queries, especially for weakly-supervised parsers learnt from a cold start.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1911.12986")

Code

Syntology Ran 0 of 11 code samples harvested from 1 repository linked to this paper; 11 have no recorded run.

By repository: official repository: 11 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

niansong1996/wassp officialmentioned in papermentioned on GitHubtfApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 0 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from niansong1996/wassp. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

attn_sum_bahdanau niansong1996/wassp/nsm/tf_utils.py official repository unverified Apache-2.0 (permissive) · c3104e5e2d8a40e4 · report
attn_sum_dot niansong1996/wassp/nsm/tf_utils.py official repository unverified Apache-2.0 (permissive) · f1f2fe840e5c928e · report
bleu_score niansong1996/wassp/nsm/nlp_utils.py official repository unverified Apache-2.0 (permissive) · 9073ba6a227f3a75 · report
create_lm_inputs_labels niansong1996/wassp/nsm/data_utils.py official repository unverified Apache-2.0 (permissive) · ba6719f38bfb57e9 · report
create_multilayer_fnn niansong1996/wassp/nsm/graph_factory.py official repository unverified Apache-2.0 (permissive) · 42891135110a96ff · report
create_seq2seq_inputs niansong1996/wassp/nsm/data_utils.py official repository unverified Apache-2.0 (permissive) · 451d8aadbc0755dd · report
create_seq_mse_loss niansong1996/wassp/nsm/graph_factory.py official repository unverified Apache-2.0 (permissive) · ee764e83c41c8784 · report
edit_distance niansong1996/wassp/nsm/nlp_utils.py official repository unverified Apache-2.0 (permissive) · 54fb9ba175e6c08b · report
tensormul niansong1996/wassp/nsm/tf_utils.py official repository unverified Apache-2.0 (permissive) · cc1113db8b905bd0 · report
tokenize niansong1996/wassp/nsm/nlp_utils.py official repository unverified Apache-2.0 (permissive) · 4fb20ccedc18c760 · report
with_graph_variable_scope niansong1996/wassp/nsm/graph_factory.py official repository unverified Apache-2.0 (permissive) · d34fbdeb6f1be262 · report

Tasks

Active LearningSemantic Parsing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections