• bitcoinBitcoin(BTC)$77,342.000.25%
  • ethereumEthereum(ETH)$2,508.12-0.61%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$721.08-1.22%
  • rippleXRP(XRP)$1.36-0.50%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$101.21-0.46%
  • tronTRON(TRX)$0.3414480.45%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-0.31%
  • zcashZcash(ZEC)$1,107.17-2.02%
  • HyperliquidHyperliquid(HYPE)$78.31-2.18%
  • dogecoinDogecoin(DOGE)$0.084471-0.41%
  • RainRain(RAIN)$0.015370-0.57%
  • moneroMonero(XMR)$534.870.14%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$80.21-0.01%
  • chainlinkChainlink(LINK)$11.42-0.82%
  • leo-tokenLEO Token(LEO)$9.05-0.64%
  • cardanoCardano(ADA)$0.2090320.64%
  • stellarStellar(XLM)$0.179936-0.33%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • daiDai(DAI)$1.000.03%
  • bitcoin-cashBitcoin Cash(BCH)$224.09-1.34%
  • USD1USD1(USD1)$1.00-0.01%
  • litecoinLitecoin(LTC)$54.962.17%
  • uniswapUniswap(UNI)$6.350.56%
  • CantonCanton(CC)$0.095840-1.50%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.36-1.61%
  • hedera-hashgraphHedera(HBAR)$0.0765862.68%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • avalanche-2Avalanche(AVAX)$7.430.61%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.46%
  • nearNEAR Protocol(NEAR)$2.36-0.16%
  • suiSui(SUI)$0.720.00%
  • crypto-com-chainCronos(CRO)$0.058415-0.12%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,349.46-0.01%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$1.14-3.21%
  • Ripple USDRipple USD(RLUSD)$1.00-0.02%
  • okbOKB(OKB)$113.420.02%
  • BittensorBittensor(TAO)$236.901.70%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.01%
  • aaveAave(AAVE)$127.190.61%
  • BitwayBitway(BTW)$0.7026.73%
  • AsterAster(ASTER)$0.701.45%
  • pax-goldPAX Gold(PAXG)$4,353.91-0.03%
  • mantleMantle(MNT)$0.57-0.67%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056928-1.13%
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 Proposes LongAlign: A Recipe of the Instruction Data, Training, and Evaluation for Long Context Alignment

February 14, 2024
in AI & Technology
Reading Time: 4 mins read
A A
This AI Paper Proposes LongAlign: A Recipe of the Instruction Data, Training, and Evaluation for Long Context Alignment
ShareShareShareShareShare

The study diverges from previous approaches by concentrating on aligning long context, specifically by fine-tuning language models to interpret lengthy user prompts. Challenges include the absence of extensive datasets for supervised fine-tuning, difficulties in handling varied length distributions efficiently across multiple GPUs, and the necessity for robust benchmarks to assess the models’ capabilities with real-world queries. The aim is to enhance LLMs’ ability to handle extended contexts by fine-tuning them based on similar input sequence lengths.

Researchers from Tsinghua University and Zhipu.AI have developed LongAlign, a comprehensive approach for aligning LLMs to handle long contexts effectively. They construct a diverse, long instruction-following dataset using Self-Instruct, covering tasks from various sources. To address training inefficiencies due to varied length distributions, they employ packing and sorted batching strategies and a loss weighting method to balance contributions. They also introduce LongBench-Chat, an evaluation benchmark comprising open-ended questions of 10k-100k length. 

Long-context scaling seeks to extend the context length of existing LLMs for handling long-context tasks. Methods fall into two categories: those requiring fine-tuning on longer sequences and those that don’t. Non-fine-tuning methods use sliding window attention or token compression techniques but don’t match fine-tuned performance. Fine-tuned approaches involve extending position encoding and continual retraining. Aligning the model with instruction-following data, termed supervised fine-tuning, is crucial for effective interaction in chat interfaces. Challenges include data, training, and evaluation methods. While some work provides long instruction data, it needs more thorough analysis.

The LongAlign recipe offers a comprehensive approach for effectively handling long contexts in LLMs. It involves constructing a diverse long instruction-following dataset using Self-Instruct, adopting efficient training strategies like packing and sorted batching, and introducing the LongBench-Chat benchmark for evaluation. LongAlign addresses challenges by introducing a loss weighting method during packing training, which balances loss contributions across different sequences. Findings show that packing and sorted batching enhance training efficiency twofold while maintaining good performance, and loss weighting significantly improves performance on long instruction tasks during packing training.

Experiments demonstrate that LongAlign improves LLM performance on long-context tasks by up to 30% without compromising proficiency on shorter tasks. Additionally, they find that data quantity and diversity significantly impact performance, while long instruction data enhances long-context task performance without affecting short-context handling. The training strategies accelerate training without compromising performance, with the loss weighting technique further improving long-context performance by 10%. LongAlign achieves improved performance on long instruction tasks through the packing and sorted batching strategies, which double the training efficiency while maintaining good performance. 

In conclusion, the study aims to optimize long context alignment, focusing on data, training methods, and evaluation. LongAlign uses Self-Instruct to create diverse long instruction data and fine-tune models efficiently through packing, loss weighting, or sorted batching. The LongBench-Chat benchmark assesses instruction-following ability in practical long-context scenarios. Controlled experiments highlight the significance of data quantity, diversity, and appropriate training methods for achieving optimal performance. LongAlign outperforms existing methods by up to 30% in long context tasks while maintaining proficiency in short tasks. The open sourcing of LongAlign models, code, and data promotes further research and exploration in this field.


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 and Google News. Join our 36k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, and LinkedIn Group.

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

Don’t Forget to join our Telegram Channel


YOU MAY ALSO LIKE

Car Manufacturers Are Ditching CarPlay In 2026: Here’s Why

A Princeton Researcher Proposes Recurrent Looped Transformer (RLT) that Carries Decoder State across Every Token, Fixing 96 Blocks per Token with Unbounded Temporal Depth

Sana Hassan, a consulting intern at Marktechpost and dual-degree student at IIT Madras, is passionate about applying technology and AI to address real-world challenges. With a keen interest in solving practical problems, he brings a fresh perspective to the intersection of AI and real-life solutions.


🚀 LLMWare Launches SLIMs: Small Specialized Function-Calling Models for Multi-Step Automation [Check out all the models]


Credit: Source link

ShareTweetSendSharePin

Related Posts

Car Manufacturers Are Ditching CarPlay In 2026: Here’s Why
AI & Technology

Car Manufacturers Are Ditching CarPlay In 2026: Here’s Why

September 13, 2026
A Princeton Researcher Proposes Recurrent Looped Transformer (RLT) that Carries Decoder State across Every Token, Fixing 96 Blocks per Token with Unbounded Temporal Depth
AI & Technology

A Princeton Researcher Proposes Recurrent Looped Transformer (RLT) that Carries Decoder State across Every Token, Fixing 96 Blocks per Token with Unbounded Temporal Depth

September 13, 2026
If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately
AI & Technology

If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately

September 13, 2026
How To Get Your Cut Of PlayStation’s .85 Million Settlement
AI & Technology

How To Get Your Cut Of PlayStation’s $7.85 Million Settlement

September 13, 2026
Next Post
Overworld raises M to create anime-inspired free-to-play ARPG

Overworld raises $10M to create anime-inspired free-to-play ARPG

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Flight passenger details moment he was partially sucked out

Flight passenger details moment he was partially sucked out

September 6, 2026
Start Investing Early – The Gap Between 25 and 35 Is Enormous

Start Investing Early – The Gap Between 25 and 35 Is Enormous

September 7, 2026
US consumer prices accelerate in August, push Fed closer to rate hike – Reuters

US consumer prices accelerate in August, push Fed closer to rate hike – Reuters

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