• bitcoinBitcoin(BTC)$76,033.00-5.63%
  • ethereumEthereum(ETH)$2,249.65-7.55%
  • tetherTether(USDT)$1.00-0.02%
  • binancecoinBNB(BNB)$691.47-3.75%
  • rippleXRP(XRP)$1.23-6.27%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$89.31-6.83%
  • tronTRON(TRX)$0.317104-0.86%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.051.62%
  • zcashZcash(ZEC)$1,239.00-5.38%
  • HyperliquidHyperliquid(HYPE)$77.93-7.97%
  • moneroMonero(XMR)$611.28-3.06%
  • dogecoinDogecoin(DOGE)$0.071619-7.07%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$73.23-6.20%
  • leo-tokenLEO Token(LEO)$9.330.05%
  • chainlinkChainlink(LINK)$10.71-7.21%
  • cardanoCardano(ADA)$0.181594-7.94%
  • bitcoin-cashBitcoin Cash(BCH)$272.78-3.26%
  • stellarStellar(XLM)$0.153235-8.49%
  • nearNEAR Protocol(NEAR)$3.67-10.82%
  • daiDai(DAI)$1.00-0.01%
  • Ethena USDeEthena USDe(USDE)$1.00-0.03%
  • RainRain(RAIN)$0.006129-2.26%
  • uniswapUniswap(UNI)$6.85-10.68%
  • litecoinLitecoin(LTC)$51.73-7.98%
  • CantonCanton(CC)$0.095508-2.40%
  • avalanche-2Avalanche(AVAX)$8.24-6.56%
  • USD1USD1(USD1)$1.00-0.07%
  • suiSui(SUI)$0.85-9.51%
  • tether-goldTether Gold(XAUT)$4,080.950.81%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.11-6.14%
  • hedera-hashgraphHedera(HBAR)$0.067530-6.69%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • quant-networkQuant(QNT)$190.34-7.15%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.000005-4.81%
  • Ripple USDRipple USD(RLUSD)$1.000.03%
  • BittensorBittensor(TAO)$217.66-7.95%
  • crypto-com-chainCronos(CRO)$0.048874-5.84%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.16%
  • okbOKB(OKB)$106.29-4.51%
  • EthenaEthena(ENA)$0.162165-11.21%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • pepePepe(PEPE)$0.000005-5.36%
  • aaveAave(AAVE)$127.55-3.89%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.140.01%
  • MemeCoreMemeCore(M)$0.82-3.08%
  • pax-goldPAX Gold(PAXG)$4,089.950.73%
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

Google Plans Its First Wyoming Data Center with Carbon-Capture Power – Unite.AI

Lyft’s New Subscription Bundles In DoorDash’s DashPass For $10 Per Month

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

Google Plans Its First Wyoming Data Center with Carbon-Capture Power – Unite.AI
AI & Technology

Google Plans Its First Wyoming Data Center with Carbon-Capture Power – Unite.AI

November 5, 2026
Lyft’s New Subscription Bundles In DoorDash’s DashPass For  Per Month
AI & Technology

Lyft’s New Subscription Bundles In DoorDash’s DashPass For $10 Per Month

November 5, 2026
Guardian Applies Sierra AI to High-Volume Insurance Service – Unite.AI
AI & Technology

Guardian Applies Sierra AI to High-Volume Insurance Service – Unite.AI

November 5, 2026
A Slight Upgrade, But Still The Most Accessible MacBook Pro
AI & Technology

A Slight Upgrade, But Still The Most Accessible MacBook Pro

November 5, 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
Stock futures mixed as Democrats win big in midterms, traders bet they will slow data center buildout: Live updates – CNBC

Stock futures mixed as Democrats win big in midterms, traders bet they will slow data center buildout: Live updates – CNBC

November 4, 2026
AI Can Unlock More Creativity in Video Games, Says Ex-EA Executive

AI Can Unlock More Creativity in Video Games, Says Ex-EA Executive

October 29, 2026
Trump’s tariff craze has derailed the GOP’s hopes to maintain their authority after the 2026 midterms

Trump’s tariff craze has derailed the GOP’s hopes to maintain their authority after the 2026 midterms

November 1, 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!