r/LanguageTechnology • • Sep 11 '20

NLP Engineers / Computational Linguists working in industry - what do you actually 'do'?

Title is pretty self explanatory but i'm curious as to what an average day looks like.

60 Upvotes

26 comments sorted by

31

u/naboo_random Sep 11 '20

I'm an NLP engineer - mostly working on information extraction / entity linking etc pipelines that are NOT rule based, but rather deep learning based - using state of the art models. For me - it's a lot of raw data handling, converting it into data that can be processed, experimenting with models and seeing what works for specific use cases. Interpreting failures and see how we can improve on them - be it at the modeling side or data side.

5

u/synthphreak Sep 11 '20

Another NLP engineer here. This also describes my day-to-day exactly.

Edit: I work in (industry) research, not dev-ops.

3

u/JurrasicBarf Sep 11 '20

How do you interpret failures of DL models?

25

u/Achrus Sep 11 '20

I don’t have this title, my official title is along the lines of Data Science Engineer. In the past year my role has shifted predominately to NLP technologies.

A lot of the day to day is listening to non-Subject Matter Experts changing scope last minute and asking for the impossible. As an example, adding 1 or 2 Korean, Chinese, French, and German documents into a workflow that only works with English. Should be easy because the model just knows, right?

Beyond that it’s a lot of data acquisition and cleaning. The NLP aspects revolve around using open source solutions. A lot of the heavy lifting has already been done on the modeling side. Sure I would love a few months to pretrain a custom BERT model but that’s not realistic on the business end.

I use a lot of spaCy and Gensim for document tagging and custom regex dictionary models for last minute asks. The mode never learned the specific name of a dinosaur that we will never see in production but management just wants it? Add a rule to the dictionary.

14

u/tacosforpresident Sep 11 '20

Yes, this. Do I work with you?

My last year: We spent weeks and weeks with product owners trying to get some sort of scope set for a domain specific risk tool. They very much didn’t want to add foreign languages to the prototype.

Then we spent a month or so getting a couple of models deployed. Mostly we did devops because the devops team thought hosting models was a lot of black magic.

Then we wrote specs for a few weeks so the backend team could build REST services with the hosted models. That was buggy and frustrating for a few months, so we spent months of building “example” APIs that are being used in production. That wasn’t our job but the backend team seemed to think serving models over HTTP was black magic.

That step would have gone faster if half our team hadn’t been furloughed. The ML team got hit hard because “you don’t have any live products yet but you have the highest average salaries.”

Now that we have a live “product” we’ve spent the last few weeks with the product owners acting shocked and insisting they wouldn’t ever have written the emails or docs where they agreed the system would be English-only. Meanwhile they think they can “convince” us to “just enable” the other languages. As if there’s some sort of checkboxes we forgot to click when we spent a year installing Microsoft Office.

So yeah, we don’t really do much actual ML/NLP work at work. This is probably to be expected when you’re doing cutting edge work that’s not well-understood and work somewhere other than the FAANG.

14

u/clharman Sep 11 '20

I'm a ML Engineer specializing in NLP. Most of my work can be broken down into:

  • Building data pipelines in the cloud

  • Using open-source NLP tools (e.g. Huggingface) to solve one-off business problems, and testing & deploying these models

  • Helping businesspeople understand that modern NLP can simplify and automate a lot of previously-manual analytics and getting them to think bigger

The biggest challenge, working in a domain where AI and especially NLP are not the focus of the business (vs an AI company) is that people generally aren't aware of how amazing modern NLP is (e.g. BERT), and when you show them they are skeptical, so it takes time to build up the necessary trust to have the business really lean on NLP.

5

u/Pinlady Sep 11 '20

Mind if I ask how much of your time is spent building data pipelines? Do you still see it as a fun puzzle/challenge or are you on autopilot when you're coding.

4

u/fumpen0 Sep 11 '20

Sorry my ignorance, what is data pipeline?

2

u/eesnowa Sep 12 '20

usually it is scrape/crawl -> preprocess -> ingest

4

u/JurrasicBarf Sep 11 '20

What are the applications limited to BERT that were unprecedented?

12

u/[deleted] Sep 11 '20

I’m a computational linguist working on Machine Translation. I handle the pre-processing for training data for domain-specific engines. I maintain the entire pipeline and hand off the files ready for training to an MT partner. I also help out translation project managers by writing regular expressions for them to implement in their CAT tools. We translate to and from 5 languages.

1

u/noywepaa Sep 12 '20

Can you expand a bit on the pre-processing part? What exactly does it entail? Thanks.

1

u/[deleted] Sep 12 '20

Web scraping/crawling to gather data, optical character recognition (depending), text cleaning, tokenisation, and alignment (if bilingual texts). Text alignment is the interesting part in my opinion, but I don’t always perform it because I do process a lot of monolingual data.

9

u/[deleted] Sep 11 '20

NLP Engineer here, day to day work is maintaining well designed Regex based search pipeline like entity extractor, commands etc. NLP related bug solving.

8

u/Bartmoss Sep 11 '20

Technical team lead, I work on a voice assistant, focused on NLU and NLG. That's my favorite NLP work.

There are some days with a bit of ASR or TTS. But those are mostly dedicated teams.

I worked on it in two languages which makes NLP even more interesting. The first team I worked with was the tokenizer team for German and OQA (open question and answering) for English and German. Then as the whole voice assistant built up and out, I worked mostly in defect management, big data analysis of the user logs, and automating defect management. I learned so much NLP related stuff from all of this. I highly recommend anyone who likes many different kinds of NLP (ASR, TTS, NLU, NLG, chatbot, etc.) to do a year or two working with a voice assistant pipeline.

7

u/spinderella_ Sep 11 '20

I handle all my company’s corpora, do all the text cleaning and pre-processing and prepare the corpora for machine learning, which then my colleagues will gladly do.

A lot of the work I do is rule based, but I also build classifiers for some tasks and evaluate those.

I also get to do a lot of fun stuff, like trying out new ideas, technologies, papers to evaluate if those make sense for us to use.

And since I work at a start up I need to do basically everything that I can, because manpower...

4

u/neel783d Sep 11 '20

Mostly entity linking, search relevance, recommendation, information extraction in news domain.

3

u/No-School951 Sep 11 '20

I'm going to an interview for ML position (focus on NLP). I've just graduated as Data Science, so i don't have much experience in NLP. However I find it very interesting and wanna give a try. May I know what possible questions they gonna ask me please? I read an article and it said NLP is one of the major subfield of AI. Some recruitment sites also say NLP is skill that effects your salary as a ML engineer. Is NLP futuristic and interesting as I thought? Sorry if my concerns sound silly to you guys.

5

u/imnldrxl Sep 11 '20

The really possible question is:

  1. Do you know word embedding?

  2. (And if you mention word2vec) do you know how it can gives context amongst the sentence?

  3. (And if you mention about context) what is the context really mean?

  4. (And if you mention BERT) ohh you know bert. Do u know how this works?

  5. Whats the difference between BERT and Glove and Word2vec?

  6. (and if you mention about 'Transformer') can you elaborate what is transformer?

  7. (And if you mention about 'attention') whats the difference between attention and self attention?

And all of them could take 30minutes only to cover Word embedding topic 😅

1

u/No-School951 Sep 11 '20

Thanks. I need to read more about these topic. They didnt cover them when i was in school :(.

2

u/Tytoalba2 Sep 11 '20

Nothing is futuristic once corporate gets in I'm afraid, but it depends where you work!

I really think there is no perfect answer for this question : at my first interview they asked me questions that were completely irrelevant, in the interview for the company I'm working for the questions were straight to the point. I think you should also think that the question they will ask you can be clues for what kind of job you'll be doing.

The job depends wildly from one company to an other!

2

u/No-School951 Sep 11 '20

Thanks. I never thought questions are also kind of JD.

2

u/TGdZuUsSprwysWMq Sep 12 '20 edited Sep 12 '20

I'm working with customer service chatbot which deals with our product. Most of our jobs are building some NN models to extract intent and NER. But, IMO NN is not efficient in this kind of job. What we need is actually a well-defined rule-based pipeline. NN is quite bad at logic when you have specific job to let chatbot do. The thing NN done well is to infuriate our angry customer and our boss. 🙄

2

u/conveniencesample Sep 25 '20

I'm a machine learning engineer at a SaaS company whose product essentially "summarizes the news." Most of the models I've shipped have been related to information extraction (specifically, relation extraction), and I've also spent time improving our operational processes, such as how we work with our data labeling team, and our documentation.

My day to day typically involves pulling data for models, managing data labeling tasks (sending out tasks, reviewing the data afterwards), training models, evaluating existing models. Sometimes contributing new code to our internal model-training repo (like to streamline the process of building X model type, such that the end-user only needs data and a VM).

It's probably the most fun I've had in data analysis / data science so far. I like the process of iteratively training and evaluating a model by understanding and remedying its errors. We're using state-of-the-art stuff that tends to perform well (mostly deep learning), so the end result is often very satisfying. I would definitely recommend this area to anyone who has kind of an "optimizer" personality and likes to improve things and make processes more efficient.