Natural Language Generation

Natural Language Generation

Generating new text from a given input (text,paragraphs,images,videos etc) is a new requirement in the tech world. All applications of AI or non-AI needs language generation technique to mitigate the communication challenges on all the areas.

NLG is a sub-component of

Language Creation
Abstractive Text Summarization
Machine Translation
Dialog generation in chatbot.
Creative Writing
Free-form Question Answering (Open Domain or Closed Domain based)
Image Captioning

Let's talk about it in mathematical terms. The language modeling is basically prediction of the next word given a set of words. The probability distribution is produced by the system known as Language Model.

Probablity of every word in the vocabulary. A language model is at the core of many NLP tasks, and is simply a probability distribution over a sequence of words:


No alt text provided for this image
probability distribution over a sequence of words

probability distribution over a sequence of words:

No alt text provided for this image

Conditional probability of the next word in a sequence:

Let's assume we have below sequence of words:(He , is ,selfish,like, me) and we would guess the final word.A language model would estimate the probability for every word in the vocabulary:

Some potential NLG Tasks

Text summarization ( Abstractive)
Dialogue
Conversational Q&A
Story Telling
Poem Writing
NMT


Further reading

By necessity, a lot of details have been glossed over, and some of the finer points may be confusing. Here are some helpful links to fill in the gaps.

Deep learning for NLP:

Reccurent neural networks:

seq2seq models:

Neural text generation




Jidhu Mohan

CTO @ DigiDxDoc | AI, Gen AI | BOSCH | SIEMENS | IBM | NITK

5 年

Nice efforts Indrajit S.. Keep rocking..

Mike Reznikov

Network|Math|ML Acceleration (C/C++/RTL)

5 年

neuro linguistic programming of?neural network

Mohana Murali Gurunathan

Strong expertise in delivering innovative platforms/products/solutions | Expert in Training, Product & Solution Design, BigData, Cloud & DevOps, Blockchain | Guest Faculty - BITS Pilani WILP

5 年

Indrajit S.?- Thanks for taking up the interesting topic. Looking forward to one or more deep dive sessions for this area.

Indrajit S.

Founding Member & CTO | HealthcareAI | GenerativeAi Solutions Architect | Deep learning | AI solutions

5 年

  • 该图片无替代文字

要查看或添加评论,请登录

Indrajit S.的更多文章

  • True Friendship

    True Friendship

    Whenever I reminisce about my childhood, I sense a profound connection with the period I experienced. It encapsulates…

  • How I discovered the Lion in Me

    How I discovered the Lion in Me

    We as a human grow up fantasizing about being rich, having a great job, get a beautiful spouse and a happy and…

    33 条评论

社区洞察

其他会员也浏览了