Papers › Augmenting Neural Networks with First-order Logic

Augmenting Neural Networks with First-order Logic

14 Jun 2019ACL 2019 7arXiv:1906.06298archive 2025-07-28

Tao Li, Vivek Srikumar

Today, the dominant paradigm for training neural networks involves minimizing task loss on a large dataset. Using world knowledge to inform a model, and yet retain the ability to perform end-to-end training remains an open question. In this paper, we present a novel framework for introducing declarative knowledge to neural network architectures in order to guide training and prediction. Our framework systematically compiles logical statements into computation graphs that augment a neural network without extra learnable parameters or manual redesign. We evaluate our modeling strategy on three tasks: machine comprehension, natural language inference, and text chunking. Our experiments show that knowledge-augmented networks can strongly improve over baselines, especially in low-data regimes.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="1906.06298")

Code

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

By repository: official repository: 10 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.

utahnlp/layer_augmentation officialmentioned in papermentioned on GitHubpytorchApache-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

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

10unverified

Licence: 0 of the 10 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 utahnlp/layer_augmentation. “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.

count_char_freq utahnlp/layer_augmentation/get_char_idx.py official repository unverified Apache-2.0 (permissive) · f0513ead2d6b4ffc · report
load_cache utahnlp/layer_augmentation/constraint_preprocess.py official repository unverified Apache-2.0 (permissive) · 47b31034a78a8672 · report
load_glove_vec utahnlp/layer_augmentation/get_pretrain_vecs.py official repository unverified Apache-2.0 (permissive) · 30ba2325f9cb9119 · report
load_lemma utahnlp/layer_augmentation/conceptnet.py official repository unverified Apache-2.0 (permissive) · e71afe5fa6eca56e · report
load_output utahnlp/layer_augmentation/conceptnet.py official repository unverified Apache-2.0 (permissive) · a6c6363796e66bd6 · report
load_sent utahnlp/layer_augmentation/constraint_preprocess.py official repository unverified Apache-2.0 (permissive) · 4eb4fae2d442e6a9 · report
load_table utahnlp/layer_augmentation/constraint_preprocess.py official repository unverified Apache-2.0 (permissive) · a23007de9c975680 · report
load_word_dict utahnlp/layer_augmentation/get_char_idx.py official repository unverified Apache-2.0 (permissive) · 403a59ace1d8b851 · report
open_url utahnlp/layer_augmentation/conceptnet.py official repository unverified Apache-2.0 (permissive) · 64dc7f17cd644fe2 · report
register_char utahnlp/layer_augmentation/get_char_idx.py official repository unverified Apache-2.0 (permissive) · 569cc35c329c33da · report

Tasks

ChunkingNatural Language InferenceOpen-Ended Question AnsweringReading ComprehensionWorld Knowledge

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