• bitcoinBitcoin(BTC)$76,016.00-0.19%
  • ethereumEthereum(ETH)$2,406.16-0.35%
  • tetherTether(USDT)$1.00-0.02%
  • binancecoinBNB(BNB)$718.71-0.13%
  • rippleXRP(XRP)$1.300.15%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$98.090.17%
  • tronTRON(TRX)$0.3354670.85%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-3.30%
  • zcashZcash(ZEC)$1,290.3614.22%
  • HyperliquidHyperliquid(HYPE)$78.681.89%
  • dogecoinDogecoin(DOGE)$0.080349-0.66%
  • USDSUSDS(USDS)$1.000.00%
  • moneroMonero(XMR)$496.49-0.79%
  • whitebitWhiteBIT Coin(WBT)$78.04-0.28%
  • RainRain(RAIN)$0.012905-8.80%
  • chainlinkChainlink(LINK)$10.92-1.69%
  • leo-tokenLEO Token(LEO)$8.85-0.32%
  • cardanoCardano(ADA)$0.194310-2.02%
  • stellarStellar(XLM)$0.1812931.59%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$218.290.07%
  • USD1USD1(USD1)$1.00-0.02%
  • uniswapUniswap(UNI)$6.37-0.91%
  • litecoinLitecoin(LTC)$50.84-1.61%
  • CantonCanton(CC)$0.0931600.62%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.30-1.66%
  • nearNEAR Protocol(NEAR)$2.559.08%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • avalanche-2Avalanche(AVAX)$7.33-0.28%
  • hedera-hashgraphHedera(HBAR)$0.073539-2.83%
  • suiSui(SUI)$0.712.26%
  • shiba-inuShiba Inu(SHIB)$0.000005-3.23%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.055912-0.21%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,274.52-0.47%
  • MemeCoreMemeCore(M)$1.131.35%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BittensorBittensor(TAO)$218.51-1.72%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • okbOKB(OKB)$110.470.41%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.20%
  • BitwayBitway(BTW)$0.745.61%
  • AsterAster(ASTER)$0.691.06%
  • pax-goldPAX Gold(PAXG)$4,275.78-0.50%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.057078-0.06%
  • aaveAave(AAVE)$116.59-5.93%
  • mantleMantle(MNT)$0.540.62%
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

This AI Paper from Peking University and Microsoft Proposes LongEmbed to Extend NLP Context Windows

April 22, 2024
in AI & Technology
Reading Time: 4 mins read
A A
This AI Paper from Peking University and Microsoft Proposes LongEmbed to Extend NLP Context Windows
ShareShareShareShareShare

Embedding models are fundamental tools in natural language processing (NLP), providing the backbone for applications like information retrieval and retrieval-augmented generation. These models transform the text into a numerical format that machines can process, which is crucial for understanding and manipulating language. Traditionally, these models are restricted by a narrow context window, typically handling no more than 512 tokens. This limitation restricts their use in scenarios demanding the analysis of extended documents, such as legal contracts or detailed academic reviews.

Existing research in NLP embedding models has progressively focused on extending context capabilities. Early models like BERT utilized absolute position embedding (APE), while more recent innovations like RoFormer and LLaMA incorporate rotary position embedding (RoPE) for handling longer texts. Notable models such as Longformer and BigBird leverage sparse attention mechanisms to process extended documents efficiently. These advancements underscore the evolution from traditional embeddings to sophisticated models capable of managing significantly larger sequences, enhancing the applicability of NLP across various complex and lengthy text processing scenarios.

Researchers from Peking University and Microsoft have proposed LongEmbed, a method to extend the context window of embedding models up to 32,000 tokens without additional training. This method uniquely employs position interpolation and RoPE, differentiating it by its capacity to efficiently manage significantly larger text sequences while maintaining the model’s baseline performance on shorter inputs.

Specifically, the methodology detailed in the study centers around two primary strategies: position interpolation and rotary position embedding (RoPE). These techniques are applied to existing models, notably E5Base and GTEBase, to extend their context-handling capabilities. The position interpolation method extends the models’ original context window by linearly interpolating existing position embeddings. Meanwhile, RoPE is implemented to enhance the scalability of handling longer sequences. The effectiveness of these methods is evaluated on the LongEmbed benchmark, specifically designed for this research, and includes both synthetic and real-world tasks aimed at testing extended context capabilities across diverse document lengths.

The benchmarking results from the LongEmbed framework indicate significant improvements in model performance. Models utilizing the extended context window demonstrated a 20% increase in retrieval accuracy on documents exceeding 4,000 tokens compared to their standard configurations. Moreover, models enhanced with RoPE saw an average accuracy gain of 15% across all tested document lengths. These quantitative findings confirm that the applied methodologies preserve the original model efficiencies for shorter texts and substantially improve their applicability and precision for extended text sequences.

To conclude, the research introduced LongEmbed, a method that significantly extends the context window of NLP embedding models without requiring retraining. By integrating position interpolation and rotary position embedding, the research successfully expands model capacities to process texts up to 32,000 tokens, enhancing retrieval accuracy and applicability in real-world scenarios. The effectiveness of these methods is validated through comprehensive benchmark testing, confirming that these innovations enable existing models to handle extended texts efficiently, making them more versatile and applicable to a broader range of tasks.


Check out the Paper and Github. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 40k+ ML SubReddit


YOU MAY ALSO LIKE

Denise Ruffner, VP Business Development and Commercial Operations Worldwide, Haiqu – Interview Series – Unite.AI

MindsEye Developer Build A Rocket Boy Is Reportedly Shutting Down

Nikhil is an intern consultant at Marktechpost. He is pursuing an integrated dual degree in Materials at the Indian Institute of Technology, Kharagpur. Nikhil is an AI/ML enthusiast who is always researching applications in fields like biomaterials and biomedical science. With a strong background in Material Science, he is exploring new advancements and creating opportunities to contribute.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

Denise Ruffner, VP Business Development and Commercial Operations Worldwide, Haiqu – Interview Series – Unite.AI
AI & Technology

Denise Ruffner, VP Business Development and Commercial Operations Worldwide, Haiqu – Interview Series – Unite.AI

September 16, 2026
MindsEye Developer Build A Rocket Boy Is Reportedly Shutting Down
AI & Technology

MindsEye Developer Build A Rocket Boy Is Reportedly Shutting Down

September 16, 2026
The Boox Note Air6C E Ink Tablet Flips Pages Nearly 40 Percent Faster
AI & Technology

The Boox Note Air6C E Ink Tablet Flips Pages Nearly 40 Percent Faster

September 16, 2026
NVIDIA Vera Rubin NVL72 Posts First MLPerf Inference Preview Results – Unite.AI
AI & Technology

NVIDIA Vera Rubin NVL72 Posts First MLPerf Inference Preview Results – Unite.AI

September 16, 2026
Next Post
Tom Colicchio Adds Virtual Commerce to New Culinary Show

Tom Colicchio Adds Virtual Commerce to New Culinary Show

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Here’s the investing playbook if the Federal Reserve hikes rates on Wednesday

Here’s the investing playbook if the Federal Reserve hikes rates on Wednesday

September 14, 2026
Gaming giant Blizzard sued for sexual harassment

Gaming giant Blizzard sued for sexual harassment

September 11, 2026
Behind the scenes of the giant Italian restaurant, market opening at Grand Central

Behind the scenes of the giant Italian restaurant, market opening at Grand Central

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