VOOZH about

URL: https://thenewstack.io/detext-linkedins-open-source-deep-learning-framework-for-natural-language-processing/

⇱ DeText: LinkedIn's Open Source Deep Learning Framework for Natural Language Processing - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2020-08-04 08:46:37
DeText: LinkedIn's Open Source Deep Learning Framework for Natural Language Processing
news,
Software Development

DeText: LinkedIn’s Open Source Deep Learning Framework for Natural Language Processing

U.S. social networking company LinkedIn has released DeText, an open source natural language processing framework that uses deep neural networks to facilitate tasks such as search and recommendation ranking, multi-class classification, query understanding, and sequence completion.
Aug 4th, 2020 8:46am by Kimberley Mok
👁 Featued image for: DeText: LinkedIn’s Open Source Deep Learning Framework for Natural Language Processing

U.S. social networking company LinkedIn has released DeText, an open source natural language processing framework that uses deep neural networks to facilitate tasks such as search and recommendation ranking, multiclass classification, query understanding, and sequence completion.

So what does DeText add to the ever-growing field of machine learning? As one might imagine, getting machines to understand human language isn’t as easy as it might initially appear — different word choices and contexts can all add to the complexity of any given utterance. In the field of artificial intelligence, natural language processing (NLP) is what machines use to read, understand and derive meaning from human language. Well-known NLP models include Bidirectional Encoder Representations from Transformers or BERT, which allow machines to perform tasks like machine translation, speech recognition, text classification, and more. When put into practice, such models can extract data from the internet to automate research, or detect disinformation.

Not surprisingly though, such tasks can require quite a bit of computational power to perform, depending on the AI model used. “DeText is a framework for efficiently leveraging deep learning models (such as BERT) to understand the semantics of text data,” as LinkedIn senior engineering manager Weiwei Guo explained to us via email. “It is able to perform word sense disambiguation and identify similar words such as ‘software developer’ versus ‘programmer.’ BERT models require a large amount of computation time, so our focus in building and productionizing BERT-based DeText models has been to simplify the process of using BERT in commercial applications.”

Flexible and Swappable

To tackle this issue of computational inefficiency, DeText has been designed with flexibility in mind, so that different NLP models can be “swapped” in as needed, depending on the requirements of different production processes. For instance, DeText supports a range of state-of-the-art semantics understanding models like convolutional neural networks (CNNs), long short-term memory networks (LSTMs), as well as BERT.

“The ‘swappability’ component is what enables the wide applicability of the DeText framework,” said Guo. “In addition, users can conveniently search for the optimal network architecture for use in their applications.”

👁 Image

Different types of deep natural language processing tasks.

👁 Image

How DeText uses neural networks for ranking.

DeText is optimized for efficiency so that DeText models can be deployed in a production environment, and also offers a high level of flexibility when it comes to module configuration. These features make DeText relatively more versatile and potentially more powerful compared to BERT or other NLP models, especially when it comes to fine-tuning search, and understanding what certain words might mean within a certain domain, as opposed to what the same words might signify in another domain. Compared to BERT, DeText also offers a much more efficient way to rank search results in  a production environment, especially if a pre-trained BERT model is used.

“LinkedIn has deployed DeText models across three major applications: search ranking, query intent prediction, and query auto-completion,” explained Guo. “We use DeText with a version of BERT that is trained and calibrated on LinkedIn data, LiBERT. This is because LinkedIn is a professional social network with many domain-specific keywords. For example, applying LiBERT in DeText allows us to associate a query of ‘apple’ with ‘software engineer’ or ‘iOS’ instead of ‘fruits’. As you can see, the ‘swappability’ makes DeText a general language understanding tool that can be applied to many different tasks. In addition, users can quickly try out all the possible model structures to maximize the performance of their models.”

Notably, DeText is being offered as open source software, meaning that others can download it and easily adapt it for their own use. DeText features different components that can be modified through templates, such as an embedding layer, text encoding models, an interaction layer, feature processing, and a multilayer perceptron (a type of feedforward artificial neural network).

In the future, Guo says LinkedIn is looking to extend DeText as a general language understanding and generation library so that it can perform other important NLP tasks like sequence tagging (predicting labels on each word of an input sequence), sequence generation (creating a sequence from an input sequence), and unsupervised representation learning (so that it can learn language representations to act as a foundational model for the other deep learning NLP tasks).

To learn more, read LinkedIn’s blog post, and download DeText over at GitHub.

Images: Photo by Jason Leung via Unsplash; LinkedIn.

TRENDING STORIES
Kimberley Mok is a tech and design reporter who covers artificial intelligence, robotics, quantum computing, tech culture and science stories for The New Stack. Trained as an architect, she is also an illustrator and multidisciplinary designer who has been passionate...
Read more from Kimberley Mok
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.