Neural Structured Learning is an open-source TensorFlow framework to train neural networks with structured signals
Project description
Neural Structured Learning (NSL) is a new learning paradigm to train neural
networks by leveraging structured signals in addition to feature inputs.
Structure can be explicit as represented by a graph or implicit as induced
by adversarial perturbation.
Structured signals are commonly used to represent relations or similarity
among samples that may be labeled or unlabeled. Leveraging these signals
during neural network training harnesses both labeled and unlabeled data,
which can improve model accuracy, particularly when the amount of labeled
data is relatively small. Additionally, models trained with samples that are
generated by adversarial perturbation have been shown to be robust against
malicious attacks, which are designed to mislead a model's prediction or
classification.
NSL generalizes to Neural Graph Learning as well as to Adversarial Learning.
The NSL framework in TensorFlow provides the following easy-to-use APIs and
tools for developers to train models with structured signals:
* Keras APIs to enable training with graphs (explicit structure) and
adversarial perturbations (implicit structure).
* TF ops and functions to enable training with structure when using
lower-level TensorFlow APIs.
* Tools to build graphs and construct graph inputs for training.
The NSL framework is designed to be flexible and can be used to train any
kind of neural network. For example, feed-forward, convolution, and
recurrent neural networks can all be trained using the NSL framework. In
addition to supervised and semi-supervised learning (a low amount of
supervision), NSL can in theory be generalized to unsupervised learning.
Incorporating structured signals is done only during training, so the
performance of the serving/inference workflow remains unchanged.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neural-structured-learning-1.4.0.tar.gz
.
File metadata
- Download URL: neural-structured-learning-1.4.0.tar.gz
- Upload date:
- Size: 100.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48d5e87498a35c8d19c87734dad44f68229af477abe10cb079216cd7517f42ef |
|
MD5 | ec720e3369d5de490ffdc75a6c93be3a |
|
BLAKE2b-256 | caee532c37293c61624f8e6e3db05bb232259479027ba2b5c6d5b4d2f327db25 |
File details
Details for the file neural_structured_learning-1.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: neural_structured_learning-1.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 128.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdf98943f09a3e1aaad8f321d668fddb52663f2ca950046ca964a524d9464e2a |
|
MD5 | a2d3275d8e86cc230536a7c8f882bf34 |
|
BLAKE2b-256 | 5514f350952528cd69b47ca9f908ac153b841361824fec4e787830d8a9834100 |