Back To Blog

What Would UBI Be Like?

Sam Altman is fond of claiming that the advent of the LLMs means that, at some point, we’ll have to consider bringing in UBI because ‘AI will take all our jobs’. He’s even sponsored a study, done over a three year period, giving participants a grand a month.

For those not in the know, UBI stands for ‘Universal Basic Income’ and was first introduced as a concept (as we shall see, in its modern form) by Andrew Yang during his 2016 run to be the Democratic Presidential nominee. Yang’s idea was that every US resident (presumably limited to citizens and ‘resident aliens’ – ie green card holders) would receive $1200 a month as a base income, no matter what they made from their regular jobs. Such an idea had apparently been popular in parts of Silicon Valley (where Andrew Yang had been working) for some time; Yang just brought it to the public.

In other words, instead of just chidren of well-off baby boomer parents getting a trust fund – EVERYONE would get a trust fund. And why not? The US is a rich country. With some sensible, thoughtful taxation, UBI would be entirely feasible. Now with AI threatening to take everyone’s jobs, perhaps UBI is an idea whose time has come.

Thing is: I’ve lived through an early prototype of UBI, in Canada (and the UK) in the ’70s and ’80s. Only it wasn’t called UBI back then, it was called the welfare state, and came in the form of either unemployment or welfare payments. Montreal in particular, when a significant percentage of the population lived in whole or in part on UI (from the feds) or the Bien-Aide Sociale (BS, from the provincial government), supplemented by odd jobs, artistic or musical pursuits, or spells of grueling, physically intense work in the hinterlands. For many, it was more or less a way of life.

In those good old days, Canada’s second largest city, was recovering from the tumult of the ’60s and ’70s, when the FLQ had been setting off bombs and kidnapping government ministers, the election of the separatist Parti Quebecois and the subsequent referendum on Quebec’s sort-of-separation from the ROC (rest of Canada), along with the massive outflow of its Anglo population – and their money. This, at a time, when not only the opening of the St. Lawrence Seaway had reduced Montreal as a port, the ’76 Olympics which had left the city with ruinous debt, and the general industrial decline that bedevilled cities across the North-East. Montreal was not in great shape.

Into this void came the welfare state, attracting a generation of artists, slackers, and riff-raff from the ROC and the Montreal suburbs, drawn to a city where a two or even three bedroom apartment in a picturesque neighborhood with easy access to great food, cheap bars and restaurants, could be had for a couple of hundreds bucks a month. No deposit, no first and last: in most situations, you paid month by month. Basic BS was a mere $180/month, not enough to live on, but if you could scam medical BS, you could get up to $500/month. If you went out into the bush for the Great Canadian Migration that was tree-planting, and put in 8-12 weeks of back-breaking labour in all kinds of weather fighting off hordes of biting insects, you could come back with not just somewhere up to ten grand, but that prize of prizes, max UI weeks, which translated to over a grand a month (after taxes), paid in bi-monthly installments.

What a time.

Sounds great! Power to the People! But what did it mean in practice?

In St. Henri, a blue collar neighborhood just off downtown where I lived for a time, the factories that had been the neighborhood’s chief employer had long since closed and most of St. Henri’s residents had few options. For most of the month, the tavernes, the few diners that still existed, even the depanneurs (corner stores to those not familiar with Quebec) were largely empty. But come the last Friday of the month, when the BS cheques came out – hey presto! St. Henri came alive! Tavernes were suddenly full from noon ’til close. People lined up in the depanneurs for 24 cases of Cinquante, Molson Ex, cartons of cigarettes! For a weekend, St. Henri was as lively and vital as it must have been in its industrial glory days.

Then come Monday, everyone went back to staying home and watching TV.

Among my circle of bohemians and artists on the other side of the city, results were mixed. Some people got their UI weeks, then left the country to go traveling, or skiing, or to spend a few months on a beach, their bi-weekly check-in card filled out and signed by a trusted friend or relative. Many planned to use their newfound free time the BS or UI allowed to do their own work. And some did. Some had the discipline to set goals, then spend an allotted time – six months, a year – to fulfill them. But for most, myself included, the lack of structure was curiously dispiriting. One day stretched into another. We spent hours in coffee shops, nursing a single coffee, only to spend hours more on the phone, talking about more or less the same things we’d talked about in the coffee shop. Come evening, we’d gather in some cheap bar for the even cheaper happy hour, often with the same people we’d seen or talked to that day.

It kind of got stale. Fast.

That said, I wasn’t against it then, and I’m not against UBI now. It can’t just be the children of the rich – or the plain rich – who get to do art or work in media or launch startups. Or hang around and do nothing. Regular folks should be able to do all these things too. But if AI really does take all our jobs and we ended up with masses of leisure time, we’re going to be need to be trained on how to use that time. We’ll need to be trained as tinkerers, inventors, founders – or even just volunteers. We’ll need to be trained in how to be useful.

But this is only if AI takes all our jobs and the US government has the vision, the courage, to bring in some as profound as UBI. Since the US has been unable to even bring in a universal health care, this seems very unlikely, whatever Sam Altman says.

Back To Blog

Learn (Basic) Natural Language Processing (NLP) in 6 easy steps

Recently, I started the ‘Intro To NLP’ Course on the 365 Data Science platform. I’ve noticed the platform scrambling in recent months to introduce AI content after focusing almost exclusively on Data Science topics. Since the two are related, this wasn’t a bad thing, but glad to see it bringing in more high quality courses focusing exclusively on AI/LLM topics, and looking forward to seeing more.

The Intro to NLP consists of 7 sections of lessons with a Practical Task at the end of each section, then a section devoted to a whole project, finishing up with a ‘Future of NLP’ section before the Final Exam. So far it’s been a good course, about a subject I knew almost nothing about before I started, but which is central to LLM like Chat GPT and AI generally.

What is Natural Language Processing, or NLP? NLP is a technology that allows computers to understand, interpret and respond to human languages, both written and spoken. As it turns out, it has an astonishing number of uses, and was widely used in ways I never even thought about, even before the arrival of the LLMs:

  • Search engines: when we type a query into a search engine, NLP algorithms interpret our intent, understand the context, and deliver relevant search results. This involves processing the query, identifying key terms, and even understanding the context of our question.
  • Voice Assistants and Smart Home Devices: Devices like Amazon’s Alexa, Google Assistant, and Apple’s Siri use NLP to understand spoken commands. They can interpret our requests, respond to queries, control smart home devices, and even engage in casual conversation. Sort of.
  • Text Autocorrect and Predictive Text: The autocorrect and predictive text features on smartphones and other devices use NLP to understand the context of what we are typing, correct spelling errors, and predict the next word we might type. Sometimes this works, sometimes it doesn’t. I’ve sent many garbled text because of Autocorrect.
  • Language Translation Services: Online translation tools like Google Translate utilize NLP to convert text or spoken words from one language to another, understanding grammatical nuances and context to provide accurate translations.
  • Chatbots and Customer Service: Many websites and customer service platforms employ chatbots that use NLP to understand and respond to customer inquiries. These bots can handle a range of tasks from answering FAQs to helping with online shopping or troubleshooting. Next time you’re frustrated by some generic response from a chatbot and wish you were talking to an actual human – thank NLP.
  • Email Filtering: Email services use NLP to filter out spam or categorize emails into different folders (like social, promotions, primary). This is done by analyzing the content of the emails and identifying certain patterns or keywords. This has gotten dramatically better in recent years.
  • Social Media Feeds: NLP algorithms help in personalizing our social media feeds. They analyze our interactions, the content we engage with, and use this data to curate a feed that is supposedly tailored to our interests. I would say they mostly ruin them, but you get the idea.
  • Sentiment Analysis: Businesses use NLP for sentiment analysis to gauge public opinion about their products or services. By analyzing social media posts, reviews, and comments, they can understand customer satisfaction and general sentiment.
  • Content Recommendations: Streaming services like Netflix or Spotify use NLP to recommend movies, shows, or music based on our previous viewing or listening habits, search history, and preferences. I’ve found these to be mostly . . . if not quite useless, close to it.
  • Accessibility Tools: NLP aids in creating tools for individuals with disabilities, such as text-to-speech and speech-to-text applications, which allow users with visual or hearing impairments to interact with technology more effectively. Potentially very useful.
  • Educational Tools: NLP is used in educational software to aid in language learning, provide automated grading of essays, and even give feedback on writing style and grammar.
  • Resume Screening: In the hiring process, NLP is used to screen resumes and applications to identify the most suitable candidates by matching job requirements with the skills and experiences listed in the resumes. Another instance where we’d probably be better off without this. Ever wonder why you can’t get an interview? Thank some unknowable NLP algorithm.

But with the arrival of Chat GPT and the other LLMs a year ago, NLP really came into its own. Suddenly we were able to engage with a machine in a way eerily similar to how we interact with human beings. We can argue whether this, long term, a good thing, but seen purely as a technology, Chat GPT is amazing. Even with all its flaws, hallucinations, errors, the dubious practice of just scraping content without any permissions at all, and so on. Chat GPT and the other LLMs struggling to catch up, really are a leap ahead on a technological scale and NLP made them possible.

How is NLP used in the new Large Language Models?

  • Understanding Language: ChatGPT uses NLP to grasp the nuances of human language. When you type a sentence, NLP helps the model understand not just the words, but also the meaning and context behind them. This understanding is crucial for generating relevant and coherent responses.
  • Generating Text: Once ChatGPT understands our input, it uses its knowledge gained from NLP to construct a reply. NLP guides it in forming sentences that are not only grammatically correct but also contextually appropriate, maintaining a flow that resembles natural human conversation.
  • Learning from Large Datasets: ChatGPT has been trained on a vast array of text data. NLP is used to process and learn from this data, enabling the model to recognize patterns, understand various topics, and even mimic different writing styles.
  • Handling Different Tasks: Whether it’s answering questions, writing essays, or even creating ‘poetry’, ChatGPT uses NLP to tailor its responses to the specific task at hand. NLP provides the flexibility to switch between different types of language use, from formal to casual, technical to creative.
  • Continuous Learning: As ChatGPT interacts with users, it continually refines its understanding and use of language. NLP is key in this learning process, helping the model to adapt and improve over time based on new interactions and data.

In short, NLP is the ‘brain’ behind our LLM’s ability to communicate effectively with humans, using human language. It is what allows the model to understand our questions and respond in a way that is informative, engaging and eerily human-like.

So now we’re going to learn the basics of NLP and how to use it. First stop: Text Preparation.