Skip to content

Commit dcd8cc7

Browse files
Neural-Link Teamtensorflow-copybara
authored andcommitted
Updates to README.md and framework.md.
PiperOrigin-RevId: 266432540
1 parent c33bacb commit dcd8cc7

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ Structure can be explicit as represented by a graph [1,2,5] or implicit as
88
induced by adversarial perturbation [3,4].
99

1010
Structured signals are commonly used to represent relations or similarity
11-
among samples that may be labeled or unlabeled. Therefore, leveraging these
12-
signals during neural network training harnesses both labeled and unlabeled
13-
data, which can improve model accuracy, particularly when **the amount of labeled
14-
data is relatively small**. Additionally, models trained with samples that are
15-
generated by adding adversarial perturbation have been shown to be
16-
**robust against malicious attacks**, which are designed to mislead a model's
17-
prediction or classification.
18-
19-
NSL generalizes to Neural Graph Learning [1] as well as Adversarial
11+
among samples that may be labeled or unlabeled. Leveraging these signals during
12+
neural network training harnesses both labeled and unlabeled data, which can
13+
improve model accuracy, particularly when **the amount of labeled data is
14+
relatively small**. Additionally, models trained with samples that are generated
15+
by adversarial perturbation have been shown to be **robust against malicious
16+
attacks**, which are designed to mislead a model's prediction or classification.
17+
18+
NSL generalizes to Neural Graph Learning [1] as well as to Adversarial
2019
Learning [3]. The NSL framework in TensorFlow provides the following easy-to-use
2120
APIs and tools for developers to train models with structured signals:
2221

@@ -29,12 +28,11 @@ APIs and tools for developers to train models with structured signals:
2928
The NSL framework is designed to be flexible and can be used to train any kind
3029
of neural network. For example, feed-forward, convolution, and recurrent neural
3130
networks can all be trained using the NSL framework. In addition to supervised
32-
and semi-supervised learning (low amount of supervision), NSL can also be
33-
generalized to unsupervised learning. Furthermore, incorporating structure
34-
is done only during training; there is no change to the serving/inference
35-
workflow. As a result, no additional cost (latency, memory consumption, etc)
36-
because of neural structured learning is incurred during serving. Please visit
37-
our tutorials for a practical introduction to NSL.
31+
and semi-supervised learning (a low amount of supervision), NSL can in theory be
32+
generalized to unsupervised learning. Incorporating structured signals is done
33+
only during training, so the performance of the serving/inference workflow
34+
remains unchanged. Please check out our tutorials for a practical introduction
35+
to NSL.
3836

3937
## Getting started
4038

@@ -80,7 +78,7 @@ for tracking requests and bugs. For questions, please direct them to [Stack Over
8078
["nsl"](https://stackoverflow.com/questions/tagged/nsl)
8179
tag.
8280

83-
## Reference
81+
## References
8482

8583
[[1] T. Bui, S. Ravi and V. Ramavajjala. "Neural Graph Learning: Training Neural Networks Using Graphs." WSDM 2018](https://ai.google/research/pubs/pub46568.pdf)
8684

g3doc/tutorials/framework.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ To obtain hands-on experience with Neural Structured Learning, we have three
8080
tutorials that cover various scenarios where structured signals may be
8181
explicitly given, induced or constructed:
8282

83-
* [Graph regularization for document classification using natural graphs](graph_keras_mlp_cora#top_of_page).
83+
* [Graph regularization for document classification using natural graphs](graph_keras_mlp_cora.ipynb).
8484
In this tutorial, we explore the use of graph regularization to classify
8585
documents that form a natural (organic) graph.
8686

87-
* [Graph regularization for sentiment classification using synthesized graphs](graph_keras_lstm_imdb#top_of_page).
87+
* [Graph regularization for sentiment classification using synthesized graphs](graph_keras_lstm_imdb.ipynb).
8888
In this tutorial, we demonstrate the use of graph regularization to classify
8989
movie review sentiments by constructing (synthesizing) structured signals.
9090

91-
* [Adversarial learning for image classification](adversarial_keras_cnn_mnist#top_of_page).
91+
* [Adversarial learning for image classification](adversarial_keras_cnn_mnist.ipynb).
9292
In this tutorial, we explore the use of adversarial learning (where
9393
structured signals are induced) to classify images containing numeric
9494
digits.

0 commit comments

Comments
 (0)