From Digital Age to Nano Age. WorldWide.

Tag: solve

Robotic Automations

Uber has a new way to solve the concert traffic problem | TechCrunch


Uber is taking a shuttle product it developed for commuters in India and Egypt and converting it for an American audience. The ride-hail and delivery giant announced Wednesday at its annual Go-Get event in New York City it will launch a shuttle service in certain U.S. cities this summer. The service will eventually cater to […]

© 2024 TechCrunch. All rights reserved. For personal use only.


Software Development in Sri Lanka

Robotic Automations

Why RAG won't solve generative AI's hallucination problem | TechCrunch


Hallucinations — the lies generative AI models tell, basically — are a big problem for businesses looking to integrate the technology into their operations.

Because models have no real intelligence and are simply predicting words, images, speech, music and other data according to a private schema, they sometimes get it wrong. Very wrong. In a recent piece in The Wall Street Journal, a source recounts an instance where Microsoft’s generative AI invented meeting attendees and implied that conference calls were about subjects that weren’t actually discussed on the call.

As I wrote a while ago, hallucinations may be an unsolvable problem with today’s transformer-based model architectures. But a number of generative AI vendors suggest that they can be done away with, more or less, through a technical approach called retrieval augmented generation, or RAG.

Here’s how one vendor, Squirro, pitches it:

At the core of the offering is the concept of Retrieval Augmented LLMs or Retrieval Augmented Generation (RAG) embedded in the solution … [our generative AI] is unique in its promise of zero hallucinations. Every piece of information it generates is traceable to a source, ensuring credibility.

Here’s a similar pitch from SiftHub:

Using RAG technology and fine-tuned large language models with industry-specific knowledge training, SiftHub allows companies to generate personalized responses with zero hallucinations. This guarantees increased transparency and reduced risk and inspires absolute trust to use AI for all their needs.

RAG was pioneered by data scientist Patrick Lewis, researcher at Meta and University College London, and lead author of the 2020 paper that coined the term. Applied to a model, RAG retrieves documents possibly relevant to a question — for example, a Wikipedia page about the Super Bowl — using what’s essentially a keyword search and then asks the model to generate answers given this additional context.

“When you’re interacting with a generative AI model like ChatGPT or Llama and you ask a question, the default is for the model to answer from its ‘parametric memory’ — i.e., from the knowledge that’s stored in its parameters as a result of training on massive data from the web,” David Wadden, a research scientist at AI2, the AI-focused research division of the nonprofit Allen Institute, explained. “But, just like you’re likely to give more accurate answers if you have a reference [like a book or a file] in front of you, the same is true in some cases for models.”

RAG is undeniably useful — it allows one to attribute things a model generates to retrieved documents to verify their factuality (and, as an added benefit, avoid potentially copyright-infringing regurgitation). RAG also lets enterprises that don’t want their documents used to train a model — say, companies in highly regulated industries like healthcare and law — to allow models to draw on those documents in a more secure and temporary way.

But RAG certainly can’t stop a model from hallucinating. And it has limitations that many vendors gloss over.

Wadden says that RAG is most effective in “knowledge-intensive” scenarios where a user wants to use a model to address an “information need” — for example, to find out who won the Super Bowl last year. In these scenarios, the document that answers the question is likely to contain many of the same keywords as the question (e.g., “Super Bowl,” “last year”), making it relatively easy to find via keyword search.

Things get trickier with “reasoning-intensive” tasks such as coding and math, where it’s harder to specify in a keyword-based search query the concepts needed to answer a request — much less identify which documents might be relevant.

Even with basic questions, models can get “distracted” by irrelevant content in documents, particularly in long documents where the answer isn’t obvious. Or they can — for reasons as yet unknown — simply ignore the contents of retrieved documents, opting instead to rely on their parametric memory.

RAG is also expensive in terms of the hardware needed to apply it at scale.

That’s because retrieved documents, whether from the web, an internal database or somewhere else, have to be stored in memory — at least temporarily — so that the model can refer back to them. Another expenditure is compute for the increased context a model has to process before generating its response. For a technology already notorious for the amount of compute and electricity it requires even for basic operations, this amounts to a serious consideration.

That’s not to suggest RAG can’t be improved. Wadden noted many ongoing efforts to train models to make better use of RAG-retrieved documents.

Some of these efforts involve models that can “decide” when to make use of the documents, or models that can choose not to perform retrieval in the first place if they deem it unnecessary. Others focus on ways to more efficiently index massive datasets of documents, and on improving search through better representations of documents — representations that go beyond keywords.

“We’re pretty good at retrieving documents based on keywords, but not so good at retrieving documents based on more abstract concepts, like a proof technique needed to solve a math problem,” Wadden said. “Research is needed to build document representations and search techniques that can identify relevant documents for more abstract generation tasks. I think this is mostly an open question at this point.”

So RAG can help reduce a model’s hallucinations — but it’s not the answer to all of AI’s hallucinatory problems. Beware of any vendor that tries to claim otherwise.


Software Development in Sri Lanka

Robotic Automations

Seso is building software to fix farm workforces and solve agriculture's HR woes | TechCrunch


Migrant workers are a critical labor force for U.S. farms, but getting them here on proper H-2A visas can be complicated, and the compliance surrounding these employees is taxing for farms. Seso was founded five years ago to help streamline that process and now looks to expand into a one-stop-shop HR platform for the agriculture industry.

Michael Guirguis co-founded the startup after his cousin asked for his advice on whether her organic farm should expand. Despite demand for her harvests, Guirguis, whose entire career has involved job creation and the labor market, told her expanding wouldn’t be smart because the industry’s labor shortage would make hiring enough workers hard. That inspired Guirguis to found Seso to automate the H-2A visa process to help fix that issue and help farms stay compliant. Once he started talking to potential farm customers, he realized that farms could use a lot more help with their HR beyond just finding workers.

“When it comes to the back office, every farm we visited had thousands of filing cabinets,” Guirguis said. “It’s one of the most laggard industries in the U.S. That was the eye-opening moment. We can address the labor shortage and build an end-to-end modern operating system starting with HR and modernize a lot of these really complex tasks.”

The startup just raised $26 million to expand its platform’s capabilities. The Series B round was led by Bond’s Mary Meeker with participation from Index Ventures, NFX, SV Angel, several Seso customers, and others. The company doubled its customer base in 2023 and works with 27 of the largest 100 agriculture employers in the U.S.

While agriculture is a massive industry ripe for disruption, it’s been relatively reticent to adopt new technology, he said. Guirguis thinks Seso has been successful in selling to farms so far, when many other startups haven’t been, because Seso isn’t trying to change the actual farming process, something farmers made clear to him that they weren’t ready for yet. Adopting back office tech is an easier sell.

“Your HR team is in the back office doing traditional HR work,” Guirguis said. “That is who we are trying to change behavior for, which is easier than for someone 50 years in the field still using pen and paper. They can still keep doing their process we have built products to adapt. You can take a picture of a [handwritten] time sheet and then use AI to make sure that is accurate.”

Guirguis’s focus on getting feedback from farmers directly is what pushed Nina Achadjian, a partner at Index Ventures, to invest. Achadjian initially passed on Seso when it first tried to raise from Index, but how the company sells and interacts with farmers changed her mind.

“I remember this one customer call, I got chills,” Achadjian told TechCrunch. “[He said], ‘I get pitched by these Silicon Valley entrepreneurs all the time and they show up at your farm and they are like, ‘Here is how you should run their business.’ I always ask each of them to come and spend a day and work alongside me so they can understand what is a day in the life of the end customer and they never show up. Michael was the only one who showed up at 4 a.m. in the freezing cold, in the dark, to pick artichokes.’”

That feedback from farmers is why the company is expanding into automating payroll next. Guirguis said due to various agriculture employment laws, farm payroll is incredibly complicated. Workers are paid for how much crop they pick, Guirguis said, and the rate for each crop picked is different for a migrant worker versus a domestic worker and different again if migrant workers and domestic workers are picking from the same field. Guirguis sees numerous ways to expand after that.


Software Development in Sri Lanka

Back
WhatsApp
Messenger
Viber