• bitcoinBitcoin(BTC)$84,823.000.79%
  • ethereumEthereum(ETH)$2,708.980.83%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$778.490.63%
  • rippleXRP(XRP)$1.54-0.90%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$123.922.81%
  • tronTRON(TRX)$0.333764-0.92%
  • zcashZcash(ZEC)$1,659.588.22%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.063.68%
  • HyperliquidHyperliquid(HYPE)$93.091.13%
  • dogecoinDogecoin(DOGE)$0.097685-0.39%
  • chainlinkChainlink(LINK)$14.340.56%
  • moneroMonero(XMR)$556.470.68%
  • whitebitWhiteBIT Coin(WBT)$84.610.77%
  • USDSUSDS(USDS)$1.000.00%
  • cardanoCardano(ADA)$0.255958-0.59%
  • RainRain(RAIN)$0.0126826.10%
  • leo-tokenLEO Token(LEO)$9.020.53%
  • stellarStellar(XLM)$0.217136-1.06%
  • nearNEAR Protocol(NEAR)$5.226.46%
  • bitcoin-cashBitcoin Cash(BCH)$339.11-0.10%
  • uniswapUniswap(UNI)$9.983.19%
  • litecoinLitecoin(LTC)$71.73-2.34%
  • CantonCanton(CC)$0.1373571.25%
  • suiSui(SUI)$1.255.09%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • avalanche-2Avalanche(AVAX)$11.022.36%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.6412.85%
  • daiDai(DAI)$1.000.02%
  • USD1USD1(USD1)$1.000.01%
  • hedera-hashgraphHedera(HBAR)$0.0947130.21%
  • BittensorBittensor(TAO)$329.903.39%
  • shiba-inuShiba Inu(SHIB)$0.0000060.11%
  • crypto-com-chainCronos(CRO)$0.0692265.18%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • BitwayBitway(BTW)$1.1225.18%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • MemeCoreMemeCore(M)$1.22-0.77%
  • EthenaEthena(ENA)$0.271741-4.16%
  • tether-goldTether Gold(XAUT)$4,280.05-0.02%
  • OndoOndo(ONDO)$0.55-2.13%
  • okbOKB(OKB)$121.870.28%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • quant-networkQuant(QNT)$171.1360.52%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • aaveAave(AAVE)$155.590.64%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • mantleMantle(MNT)$0.69-1.75%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.03%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

The ‘strawberrry’ problem: How to overcome AI’s limitations

October 12, 2024
in AI & Technology
Reading Time: 5 mins read
A A
The ‘strawberrry’ problem: How to overcome AI’s limitations
ShareShareShareShareShare

Join our daily and weekly newsletters for the latest updates and exclusive content on industry-leading AI coverage. Learn More


By now, large language models (LLMs) like ChatGPT and Claude have become an everyday word across the globe. Many people have started worrying that AI is coming for their jobs, so it is ironic to see almost all LLM-based systems flounder at a straightforward task: Counting the number of “r”s in the word “strawberry.” They are not exclusively failing at the alphabet “r”; other examples include counting “m”s in “mammal”, and “p”s in “hippopotamus.” In this article, I will break down the reason for these failures and provide a simple workaround.

YOU MAY ALSO LIKE

AI Coding Agents for Enterprise: IP Indemnity, Data Residency and 500-Seat Cost Compared

A Coding Guide to Google Research’s MSEB: Writing Sound Encoders to the Benchmark Contract and Scoring Them Across Classification, Clustering, Retrieval and Segmentation

LLMs are powerful AI systems trained on vast amounts of text to understand and generate human-like language. They excel at tasks like answering questions, translating languages, summarizing content and even generating creative writing by predicting and constructing coherent responses based on the input they receive. LLMs are designed to recognize patterns in text, which allows them to handle a wide range of language-related tasks with impressive accuracy.

Despite their prowess, failing at counting the number of “r”s in the word “strawberry” is a reminder that LLMs are not capable of “thinking” like humans. They do not process the information we feed them like a human would.

Conversation with ChatGPT and Claude about the number of “r”s in strawberry.

Almost all the current high performance LLMs are built on transformers. This deep learning architecture doesn’t directly ingest text as their input. They use a process called tokenization, which transforms the text into numerical representations, or tokens. Some tokens might be full words (like “monkey”), while others could be parts of a word (like “mon” and “key”). Each token is like a code that the model understands. By breaking everything down into tokens, the model can better predict the next token in a sentence. 

LLMs don’t memorize words; they try to understand how these tokens fit together in different ways, making them good at guessing what comes next. In the case of the word “hippopotamus,” the model might see the tokens of letters “hip,” “pop,” “o” and “tamus”, and not know that the word “hippopotamus” is made of the letters — “h”, “i”, “p”, “p”, “o”, “p”, “o”, “t”, “a”, “m”, “u”, “s”.

A model architecture that can directly look at individual letters without tokenizing them may potentially not have this problem, but for today’s transformer architectures, it is not computationally feasible.

Further, looking at how LLMs generate output text: They predict what the next word will be based on the previous input and output tokens. While this works for generating contextually aware human-like text, it is not suitable for simple tasks like counting letters. When asked to answer the number of “r”s in the word “strawberry”, LLMs are purely predicting the answer based on the structure of the input sentence.

Here’s a workaround

While LLMs might not be able to “think” or logically reason, they are adept at understanding structured text. A splendid example of structured text is computer code, of many many programming languages. If we ask ChatGPT to use Python to count the number of “r”s in “strawberry”, it will most likely get the correct answer. When there is a need for LLMs to do counting or any other task that may require logical reasoning or arithmetic computation, the broader software can be designed such that the prompts include asking the LLM to use a programming language to process the input query.

Conclusion

A simple letter counting experiment exposes a fundamental limitation of LLMs like ChatGPT and Claude. Despite their impressive capabilities in generating human-like text, writing code and answering any question thrown at them, these AI models cannot yet “think” like a human. The experiment shows the models for what they are, pattern matching predictive algorithms, and not “intelligence” capable of understanding or reasoning. However, having a prior knowledge of what type of prompts work well can alleviate the problem to some extent. As the integration of AI in our lives increases, recognizing its limitations is crucial for responsible usage and realistic expectations of these models.

 Chinmay Jog is a senior machine learning engineer at Pangiam.

DataDecisionMakers

Welcome to the VentureBeat community!

DataDecisionMakers is where experts, including the technical people doing data work, can share data-related insights and innovation.

If you want to read about cutting-edge ideas and up-to-date information, best practices, and the future of data and data tech, join us at DataDecisionMakers.

You might even consider contributing an article of your own!

Read More From DataDecisionMakers

Credit: Source link
ShareTweetSendSharePin

Related Posts

AI Coding Agents for Enterprise: IP Indemnity, Data Residency and 500-Seat Cost Compared
AI & Technology

AI Coding Agents for Enterprise: IP Indemnity, Data Residency and 500-Seat Cost Compared

September 27, 2026
A Coding Guide to Google Research’s MSEB: Writing Sound Encoders to the Benchmark Contract and Scoring Them Across Classification, Clustering, Retrieval and Segmentation
AI & Technology

A Coding Guide to Google Research’s MSEB: Writing Sound Encoders to the Benchmark Contract and Scoring Them Across Classification, Clustering, Retrieval and Segmentation

September 27, 2026
Why We Won’t Know How Visible The iPhone Duo’s Crease Is For A Long Time
AI & Technology

Why We Won’t Know How Visible The iPhone Duo’s Crease Is For A Long Time

September 27, 2026
How Powerful Of A Power Bank Do You Need To Safely Charge A Laptop?
AI & Technology

How Powerful Of A Power Bank Do You Need To Safely Charge A Laptop?

September 27, 2026
Next Post
Medical debt canceled for thousands of patients

Medical debt canceled for thousands of patients

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
How To Get Your Cut Of Apple’s 0 Million Siri Settlement

How To Get Your Cut Of Apple’s $250 Million Siri Settlement

September 24, 2026
AI Extinction Fears Are ‘Science Fiction’: Andrew Ng

AI Extinction Fears Are ‘Science Fiction’: Andrew Ng

September 20, 2026
Lionel Messi announces retirement from Argentina soccer

Lionel Messi announces retirement from Argentina soccer

September 20, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!