Activating Latent Semantic Models with Natural Language Inference

andrew-lucker
1,119 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Next: Mixed Latent Variables

Introduction

Deep Learning has introduced methods capable of extracting latent variables from an amazing variety of inputs. Raw facial image data can be quickly converted into features such as emotional expression, face orientation, or even suspect identity. Deep Learning has similarly proven capable in the application of motor control and near-term action planning. With these technologies, and an abundance of training, we are discernably closer to Sci-Fi level Artifical Intelligence. However, there remains a large gap between the input and output applications. Here we propose a Natural Language model capable of interfacing between the two applications in the most general sense. The basic outline is that natural language becomes the output of recognizers and input of planners. The model must also take into account the appropriate usage of various models available.

To start let's imagine an app that maps the emotions of a user's face caught through a webcam onto that of a generic face. This app could be written as below, eliding the models for face recognition and generation:

1
2
3
4
5
6
7
8
9
10
fn read_happiness() -> f64 { 0.5 }
fn draw_happiness(happy: f64) {
if happy > 0.0 { println!("happy: {}", happy) }
else { println!("unhappy: {}", happy) }
}
fn main() {
draw_happiness( read_happiness() );
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

This model is directly semantic and thus can be hard to see the higher-level concepts used. In the next installment we will try to refactor this example to use common vocabulary and expand the "emotion" term to include the four core emotional states: happiness, sadness, fear, and anger.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content