SearcharxivSearch

arXiv subjects

Yanwen Deng

Publications and source records attributed to Yanwen Deng.

3 recordsLinked to original sources

Unified Lookup-Table Inference with Signed-Digit K/V Caches for Ternary LLMs

Ternary LLMs make their weight-dominated projections compact and efficient, but attention remains a mismatch: its K/V cache is created online and is typically processed by a separate higher-precision engine. Compressing this cache alone does not resolve the mismatch. To execute attention with the same lookup-table machinery as ternary projections, values accumulated in one reduction must retain a compatible representation and scale. This requirement also differs for keys and values during causal decoding, because newly generated values may belong to an unfinished cache block. This work develops a unified lookup-table inference approach for ternary LLMs. It stores runtime K/V states as scaled multi-plane signed digits organized around the reduction structure of attention. The resulting digit planes are consumed directly by activation-derived tables, avoiding dense K/V materialization between cache storage and attention computation. The design combines online K/V formation, bounded handling of incomplete value blocks, and a shared multi-stream datapath for Linear projections and attention. A constraint-guided search selects the representation and execution policy for a target quality--efficiency trade-off. Experiments on native and post-training ternary models validate the approach across cache capacity, model quality, and hardware efficiency.

cs.AR

Identifying observable MeV lines from the decays of weak and main $r$-process isotopes in mergers

We consider predictions for the MeV gamma-ray spectrum emitted by the $\beta$ decays of freshly synthesized isotopes from a neutron star merger at timescales of relevance for post-merger (days) and remnant (years) emission. We develop a search algorithm to identify observable spectral peaks and then determine if a specific isotope has a dominant emission line producing the spectral feature. We predict emission spectra using nucleosynthesis calculations which consider nuclear models with distinct masses, $\beta$-decays, and fission properties as well as variations on main ($A>130$) and weak ($A<130$) $r$-process astrophysical conditions. We tabulate all lines from decaying isotopes that our procedure identifies and provide the predicted range in time over which each line could be visible. We find that Rh-106 presents a unique opportunity to distinguish between main and weak $r$-process emission, as our calculated spectrum above $\sim 1$ MeV for an event dominated by the weak $r$ process is identical to the Rh-106 emission spectrum from $\sim$ 0.2 to $\sim$17 years. We further find emission from species such as Hf-181, Ta-182, Ta-184, and Re-188 offers the potential to be able to distinguish between nuclear models. We investigate whether the 2.6 MeV strong gamma-ray line from Tl-208 is predicted to be robustly observable across calculation variations on both timescale of days and years. We find Tl-208 to consistently shine through on the order of years, though it can face competition from Ga-72 and La-140 at early times ($\sim$ days). We additionally highlight numerous isotopes of interest for observation and nuclear experiment.

astro-ph.HE

Proton-rich production of lanthanides: the $\nu i$ process

The astrophysical origin of the lanthanides is an open question in nuclear astrophysics. Besides the widely studied $s$, $i$, and $r$ processes in moderately-to-strongly neutron-rich environments, an intriguing alternative site for lanthanide production could in fact be robustly $\textit{proton-rich}$ matter outflows from core-collapse supernovae under specific conditions -- in particular, high-entropy winds with enhanced neutrino luminosity and fast dynamical timescales. In this environment, excess protons present after charged particle reactions have ceased can continue to be converted to neutrons by (anti-)neutrino interactions, producing a neutron capture reaction flow up to A~200. This scenario, christened the $\nu i$ process in a recent paper, has previously been discussed as a possibility. Here, we examine the prospects for $\nu i$ process through the lens of stellar abundance patterns, bolometric lightcurves, and galactic chemical evolution models, with a particular focus on hypernovae as candidate sites. We identify specific lanthanide signatures for which the $\nu i$ process can provide a credible alternative to $r$/$i$ processes.

astro-ph.HE