CS
cs.CL
    All
  • CS
  • Economics
  • EES
  • Math
  • Physics
  • Biology
  • Finance
  • Statistics
  • All
  • cs.AI
  • cs.AR
  • cs.CC
  • cs.CE
  • cs.CG
  • cs.CL
  • cs.CR
  • cs.CV
  • cs.CY
  • cs.DB
  • cs.DC
  • cs.DL
  • cs.DM
  • cs.DS
  • cs.ET
  • cs.FL
  • cs.GL
  • cs.GR
  • cs.GT
  • cs.HC
  • cs.IR
  • cs.IT
  • cs.LG
  • cs.LO
  • cs.MA
  • cs.MM
  • cs.MS
  • cs.NA
  • cs.NE
  • cs.NI
  • cs.OH
  • cs.OS
  • cs.PF
  • cs.PL
  • cs.RO
  • cs.SC
  • cs.SD
  • cs.SE
  • cs.SI
  • cs.SY
  • All
  • econ.EM
  • econ.GN
  • econ.TH
  • All
  • eess.AS
  • eess.IV
  • eess.SP
  • eess.SY
  • All
  • math.AC
  • math.AG
  • math.AP
  • math.AT
  • math.CA
  • math.CO
  • math.CT
  • math.CV
  • math.DG
  • math.DS
  • math.FA
  • math.GM
  • math.GN
  • math.GR
  • math.GT
  • math.HO
  • math.IT
  • math.KT
  • math.LO
  • math.MG
  • math.MP
  • math.NA
  • math.NT
  • math.OA
  • math.OC
  • math.PR
  • math.QA
  • math.RA
  • math.RT
  • math.SG
  • math.SP
  • math.ST
  • All
  • astro-ph.CO
  • astro-ph.EP
  • astro-ph.GA
  • astro-ph.HE
  • astro-ph.IM
  • astro-ph.SR
  • cond-mat.dis-nn
  • cond-mat.mes-hall
  • cond-mat.mtrl-sci
  • cond-mat.other
  • cond-mat.quant-gas
  • cond-mat.soft
  • cond-mat.stat-mech
  • cond-mat.str-el
  • cond-mat.supr-con
  • gr-qc
  • hep-ex
  • hep-lat
  • hep-ph
  • hep-th
  • math-ph
  • nlin.AO
  • nlin.CD
  • nlin.CG
  • nlin.PS
  • nlin.SI
  • nucl-ex
  • nucl-th
  • physics.acc-ph
  • physics.ao-ph
  • physics.app-ph
  • physics.atm-clus
  • physics.atom-ph
  • physics.bio-ph
  • physics.chem-ph
  • physics.class-ph
  • physics.comp-ph
  • physics.data-an
  • physics.ed-ph
  • physics.flu-dyn
  • physics.gen-ph
  • physics.geo-ph
  • physics.hist-ph
  • physics.ins-det
  • physics.med-ph
  • physics.optics
  • physics.plasm-ph
  • physics.pop-ph
  • physics.soc-ph
  • physics.space-ph
  • quant-ph
  • All
  • q-bio.BM
  • q-bio.CB
  • q-bio.GN
  • q-bio.MN
  • q-bio.NC
  • q-bio.OT
  • q-bio.PE
  • q-bio.QM
  • q-bio.SC
  • q-bio.TO
  • All
  • q-fin.CP
  • q-fin.EC
  • q-fin.GN
  • q-fin.MF
  • q-fin.PM
  • q-fin.PR
  • q-fin.RM
  • q-fin.ST
  • q-fin.TR
  • All
  • stat.AP
  • stat.CO
  • stat.ME
  • stat.ML
  • stat.OT
  • stat.TH
Paper: Oct 13,2024
cs.CL
ID:2410.09675
COrAL: Order-Agnostic Language Modeling for Efficient Iterative Refinement
Iterative refinement has emerged as an effective paradigm for enhancing the capabilities of large language models (LLMs) on complex tasks. However, existing approaches typically implement iterative refinement at the application or prompting level, relying on autoregressive (AR) modeling. The sequential token generation in AR models can lead to high inference latency. To overcome these challenges, we propose Context-Wise Order-Agnostic Language Modeling (COrAL), which incorporates iterative refinement directly into the LLM architecture while maintaining computational efficiency. Our approach models multiple token dependencies within manageable context windows, enabling the model to perform iterative refinement internally during the generation process. Leveraging the order-agnostic nature of COrAL, we introduce sliding blockwise order-agnostic decoding, which performs multi-token forward prediction and backward reconstruction within context windows. This allows the model to iteratively refine its outputs in parallel in the sliding block, effectively capturing diverse dependencies without the high inference cost of sequential generation. Empirical evaluations on reasoning tasks demonstrate that COrAL improves performance and inference speed, respectively, achieving absolute accuracy gains of $4.6\%$ on GSM8K and $4.0\%$ on LogiQA, along with inference speedups of up to $3.9\times$ over next-token baselines. Preliminary results on code generation indicate a drop in pass rates due to inconsistencies in order-agnostic outputs, highlighting the inherent quality--speed trade-off. Our code is publicly available at https://github.com/YuxiXie/COrAL. 🔗 View origin paper >>
Am I the publisher of this paper? I want to claim it
Claim
Paper Author: Yuxi Xie,Anirudh Goyal,Xiaobao Wu,Xunjian Yin,Xiao Xu,Min-Yen Kan,Liangming Pan,William Yang Wang
Leave an answer
Claim
Claim content
Report
Report content
Welcome!
or
*
Forgot password?
Don' have an account? Sign up