• bitcoinBitcoin(BTC)$76,164.00-3.59%
  • ethereumEthereum(ETH)$2,415.13-5.02%
  • tetherTether(USDT)$1.00-0.05%
  • binancecoinBNB(BNB)$719.71-0.82%
  • rippleXRP(XRP)$1.30-11.47%
  • usd-coinUSDC(USDC)$1.00-0.02%
  • solanaSolana(SOL)$97.94-5.22%
  • tronTRON(TRX)$0.332680-2.25%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.04-0.39%
  • zcashZcash(ZEC)$1,130.10-5.52%
  • HyperliquidHyperliquid(HYPE)$77.19-4.87%
  • dogecoinDogecoin(DOGE)$0.080895-4.60%
  • RainRain(RAIN)$0.014156-1.08%
  • USDSUSDS(USDS)$1.00-0.04%
  • moneroMonero(XMR)$500.52-2.70%
  • whitebitWhiteBIT Coin(WBT)$78.30-4.28%
  • chainlinkChainlink(LINK)$11.10-5.53%
  • leo-tokenLEO Token(LEO)$8.88-1.30%
  • cardanoCardano(ADA)$0.198341-6.70%
  • stellarStellar(XLM)$0.178501-8.45%
  • Ethena USDeEthena USDe(USDE)$1.00-0.08%
  • daiDai(DAI)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$218.17-3.77%
  • USD1USD1(USD1)$1.00-0.04%
  • litecoinLitecoin(LTC)$51.67-4.09%
  • uniswapUniswap(UNI)$6.42-3.87%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.32-2.33%
  • CantonCanton(CC)$0.092589-5.46%
  • hedera-hashgraphHedera(HBAR)$0.075683-3.02%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • avalanche-2Avalanche(AVAX)$7.35-3.45%
  • nearNEAR Protocol(NEAR)$2.34-8.17%
  • shiba-inuShiba Inu(SHIB)$0.000005-5.65%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.05%
  • suiSui(SUI)$0.69-6.12%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.056024-6.00%
  • tether-goldTether Gold(XAUT)$4,294.720.22%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • MemeCoreMemeCore(M)$1.111.78%
  • BittensorBittensor(TAO)$222.32-6.45%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • okbOKB(OKB)$110.03-3.51%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.00%
  • aaveAave(AAVE)$123.95-5.91%
  • BitwayBitway(BTW)$0.706.17%
  • pax-goldPAX Gold(PAXG)$4,297.230.19%
  • AsterAster(ASTER)$0.68-2.96%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.057117-1.46%
  • mantleMantle(MNT)$0.54-5.49%
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

Meet ChatDB: A Framework that Augments LLMs with Symbolic Memory in the Form of Databases

June 13, 2023
in AI & Technology
Reading Time: 5 mins read
A A
Meet ChatDB: A Framework that Augments LLMs with Symbolic Memory in the Form of Databases
ShareShareShareShareShare

Large language models, like GPT-4 and PaLM 2, have evolved into a crucial part of contemporary AI systems, revolutionizing their grasp of natural language processing and changing various sectors. Despite great advancements in comprehension and producing contextually appropriate replies, LLMs still have certain drawbacks. The fact that multi-turn interactions with language models make a lot of tokens that are easily more than the input token limit of LLMs is one of the key problems. GPT-4, for instance, is limited to 32,000 tokens. The LLMs must keep contextual information during the encounter and produce replies depending on the gathered information. 

Simply concatenating all contextual information and cramming it into LLMs, however, can easily exceed the processing capabilities of LLMs and accumulate errors, causing the model to lose track of the conversation and produce less accurate responses. Some neural memory mechanisms have been explored to overcome LLMs’ limited token input issue. The memory components serve as a storage and retrieval system for relevant information from previous interactions. However, augmenting LLMs with conventional neural memory usually leads to difficulties in storing, retrieving, and manipulating historical information in memory, especially for tasks requiring complex multi-hop reasoning. 

Two primary reasons are that They don’t retain historical data in a structured fashion and don’t manipulate it symbolically since they all rely on vector similarity computations, which might be mistaken and cause an accumulation of mistakes. Researchers from Tsinghua University, Beijing Academy of Artificial Intelligence and Zhejiang University advocate using databases as innovative symbolic memory for LLMs to solve the problems above. ChatDB is the name of the entire framework. Figure 1 below depicts the two parts that makeup ChatDB: an LLM controller and its memory. The read and write operations to the memory are controlled by the LLM controller, which can be any widely used LLM. 

🚀 JOIN the fastest ML Subreddit Community

The memory of LLMs, which can be symbolic, non-symbolic, or a hybrid of the two, is in charge of keeping track of the past and disseminating data as needed to help the LLM react to human input. ChatDB emphasizes leveraging databases as symbolic memory, enabling the organized storing of historical data through the execution of figurative language, namely SQL commands. The LLM created these SQL statements. A database can be used as symbolic memory in situations requiring exact recording, updating, querying, deletion, and analysis of historical data. For instance, a store manager has to keep track of daily sales figures. Therefore, utilizing matrices or plain text as memory is inappropriate. 

However, using a database as an external symbolic memory is quite appropriate. The database uses SQL commands to perform precise actions such as data insertion, deletion, update, and selection. As a result, they were using databases as external symbolic memory guarantees correctness and efficiency in managing and manipulating historical data, considerably improving the performance of LLMs in situations that call for very accurate and lengthy data capture and processing. In the ChatDB framework, they suggest the chain-of-memory strategy to more skillfully utilize the external symbolic memory, further boosting LLMs’ capacity for reasoning. 

Figure 1 shows the ChatDB process overall. The read and write operations to the memory are managed by the LLM controller. In order to respond to user input, the memory retains past data and presents pertinent historical data. In ChatDB, we emphasize adding databases to LLMs to serve as their symbolic memory.

User input is converted into a sequence of intermediate memory operation stages via the chain-of-memory technique, which produces the desired outputs. A complex problem is divided into several memory operation stages using the chain-of-memory technique, considerably reducing the problem-solving difficulty. Each intermediary step in ChatDB entails one or more SQL statements. The field of LLMs benefits greatly from their ChatDB. First, they suggest adding databases to LLMs as their external symbolic memory. This would allow for organized archiving of historical data and would enable symbolic and complicated data manipulations using SQL statements. 

Second, they can effectively manipulate memory by transforming user input into multiple-step intermediate memory operations using their chain-of-memory technique. This improves ChatDB’s efficiency and allows it to manage complicated, multi-table database transactions with more precision and stability. Finally, their research shows that adding symbolic memory to LLMs enhances multi-hop reasoning skills and reduces error accumulation, allowing ChatDB to perform better on a synthetic dataset than ChatGPT.


Check Out The Paper and Project. Don’t forget to join our 23k+ ML SubReddit, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more. If you have any questions regarding the above article or if we missed anything, feel free to email us at [email protected]

🚀 Check Out 100’s AI Tools in AI Tools Club


YOU MAY ALSO LIKE

Ferrovalle Taps INFORM for AI Smart Yard at Mexico City Rail Hub – Unite.AI

Google’s Latest Pixel Drop Will Keep You More Connected To Your VIPs

Aneesh Tickoo is a consulting intern at MarktechPost. He is currently pursuing his undergraduate degree in Data Science and Artificial Intelligence from the Indian Institute of Technology(IIT), Bhilai. He spends most of his time working on projects aimed at harnessing the power of machine learning. His research interest is image processing and is passionate about building solutions around it. He loves to connect with people and collaborate on interesting projects.


➡️ Try: Criminal IP: AI-based Phishing Link Checker Chrome Extension

Credit: Source link

ShareTweetSendSharePin

Related Posts

Ferrovalle Taps INFORM for AI Smart Yard at Mexico City Rail Hub – Unite.AI
AI & Technology

Ferrovalle Taps INFORM for AI Smart Yard at Mexico City Rail Hub – Unite.AI

September 15, 2026
Google’s Latest Pixel Drop Will Keep You More Connected To Your VIPs
AI & Technology

Google’s Latest Pixel Drop Will Keep You More Connected To Your VIPs

September 15, 2026
Google Launches Gemini 3.8 Live and Extended Thinking Voice Models – Unite.AI
AI & Technology

Google Launches Gemini 3.8 Live and Extended Thinking Voice Models – Unite.AI

September 15, 2026
Are Older MacBooks Still Worth Buying In 2026?
AI & Technology

Are Older MacBooks Still Worth Buying In 2026?

September 15, 2026
Next Post
How to keep journalists safe across the globe amid ‘dangerous assignments’

How to keep journalists safe across the globe amid 'dangerous assignments'

Leave a Reply Cancel reply

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

Search

No Result
View All Result
2 Ways Android Users Can Take Advantage Of Apple’s MagSafe Accessories

2 Ways Android Users Can Take Advantage Of Apple’s MagSafe Accessories

September 15, 2026
U.S. judge denies the Tate brothers’ bail request

U.S. judge denies the Tate brothers’ bail request

September 15, 2026
Anthropic’s CEO Proposes A Three-Step Plan To Curb AI Development

Anthropic’s CEO Proposes A Three-Step Plan To Curb AI Development

September 12, 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!