#376376th of 433 in ML frameworks and libraries

neural-structured-learning

TensorFlow library for training neural networks with graph and adversarial signals

Stars
1k
License
Apache-2.0
Last commit
Oct 2026
Last release
Jul 2022
Language
Python
Stars, last 29 weeks+6
8 May 2026: 1,008 stars15 May 2026: 1,008 stars22 May 2026: 1,008 stars29 May 2026: 1,008 stars5 Jun 2026: 1,008 stars12 Jun 2026: 1,008 stars19 Jun 2026: 1,008 stars26 Jun 2026: 1,008 stars3 Jul 2026: 1,008 stars10 Jul 2026: 1,009 stars17 Jul 2026: 1,009 stars24 Jul 2026: 1,010 stars31 Jul 2026: 1,010 stars7 Aug 2026: 1,010 stars14 Aug 2026: 1,010 stars21 Aug 2026: 1,010 stars28 Aug 2026: 1,011 stars4 Sept 2026: 1,011 stars11 Sept 2026: 1,011 stars18 Sept 2026: 1,011 stars25 Sept 2026: 1,011 stars2 Oct 2026: 1,011 stars9 Oct 2026: 1,011 stars16 Oct 2026: 1,012 stars23 Oct 2026: 1,012 stars30 Oct 2026: 1,012 stars6 Nov 2026: 1,012 stars13 Nov 2026: 1,013 stars20 Nov 2026: 1,013 stars27 Nov 2026: 1,014 stars

1,008 on 8 May 20261,014 on 27 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Neural Structured Learning (NSL) adds structured signals to TensorFlow training: explicit graphs between samples, or implicit structure from adversarial perturbations. It provides Keras APIs, lower-level TF ops, and tools to build graphs and graph inputs. Structure is used only during training, so serving and inference are unchanged.

Who it is for: TensorFlow users training with graphs or adversarial regularization

Strengths

  • Keras APIs for graph regularization and adversarial training on any network type
  • Uses unlabeled data, which helps when labeled data is scarce
  • No inference-time change: structure is applied only during training
  • Colab tutorials for Cora, IMDB and MNIST, plus a research directory

Weaknesses

  • Tied to TensorFlow; requires 1.15 or higher, and 2.1 is incompatible
  • Last release was July 2022, so it may lag current TensorFlow and Keras
  • Unsupervised learning is only described as possible in theory
  • Install via pip or source build only, with no hosted demo

What it needs

  • Needs TensorFlow 1.15+ (not 2.1)
  • Models: Keras models, feed-forward, convolutional, recurrent

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#374pytorch_scatterPyTorch extension for scatter and segment reduce operations1.7k starsMIT25 out of 100
#375bert4torchPyTorch library for loading BERT and LLM weights to fine-tune and serve1.3k starsMIT25 out of 100
#377lightwoodAutoML framework that generates ML pipelines from a declarative JSON-AI spec515 starsGPL-3.025 out of 100
#378transmogrifaiScala AutoML library on Apache Spark for structured data2.3k starsBSD-3-Clause24 out of 100
#379keras-tcnKeras layer implementing Temporal Convolutional Networks for sequence modeling2k starsMIT24 out of 100