AI and Memory Wall
Paper · 2024 · Amir Gholami, Zhewei Yao, Sehoon Kim et al.
Summary
An AI system can have abundant arithmetic capacity and still spend much of its time waiting for data. “AI and Memory Wall” examines this mismatch: the hardware units that perform calculations have improved much faster than the memory and communication systems that supply their inputs. The consequence is practical. A larger advertised computing rate does not necessarily mean faster execution, especially when generating text requires repeatedly loading substantial amounts of information to perform relatively little arithmetic. The paper argues that progress in AI depends on treating data movement as a central design constraint, alongside the amount of computation.
The authors combine historical hardware trends with a case study of Transformer architectures. Their hardware analysis reports that peak arithmetic throughput grew at 3.0× every 2 years, while DRAM bandwidth grew at 1.6× and interconnect bandwidth at 1.4× over the same interval. DRAM is the main memory from which processors obtain data; an interconnect carries information between hardware components or processors. These trends developed while the size and training demands of large language models were increasing much faster. For the 2018-2022 period, the paper reports parameter growth of 410×/2yrs and training-computation growth of 750×/2yrs. Moving a workload onto additional accelerators can address insufficient memory capacity, but it also creates communication demands on another comparatively slow part of the system.
The case study makes the bottleneck concrete. The authors examine BERT-Base, BERT-Large, and GPT-2, profiling inference on an Intel Gold 6242 CPU. Their accounting assumes 8-bit parameters and activations with a batch size of 1. The BERT systems process a sequence through matrix–matrix operations, whereas GPT-2 generates a sequence through repeated matrix–vector operations. Although BERT-Base and GPT-2 have broadly comparable configurations and total arithmetic work, GPT-2 takes substantially longer in the reported comparison. Its computation requires much more memory traffic and achieves lower arithmetic intensity: fewer arithmetic operations for each byte accessed. The comparison shows why counting floating-point operations alone can give a misleading impression of execution cost.
The paper offers a diagnosis and a research agenda instead of a new architecture or a single remedy. It discusses training methods that reduce optimizer storage, recomputation that exchanges extra arithmetic for lower activation storage, lower-precision representations, parameter pruning, smaller systems, and hardware designs with a different balance between arithmetic and memory resources. These approaches address different parts of the problem. None is established here as a universal solution, and several bring their own accuracy, implementation, or storage tradeoffs.
The strongest conclusion concerns low-batch autoregressive inference: when an operation cannot reuse loaded data effectively, memory bandwidth can govern its runtime even if the arithmetic requirement looks modest. The authors explicitly distinguish that setting from processing long prompts or using larger batches, where matrix–matrix operations can change the balance. The broader lesson is therefore conditional and useful: understand the workload’s data reuse, memory footprint, and communication pattern before deciding which resource needs improvement.
Interesting ideas
Measure useful work per byte. Arithmetic intensity asks how much calculation a workload performs relative to its memory traffic. It works as a diagnostic because a processor can exploit its arithmetic capacity only when inputs arrive quickly enough. The paper’s encoder–decoder comparison demonstrates that similar arithmetic totals can conceal very different demands on memory. This idea applies whenever candidate implementations appear comparable by operation count but behave differently in execution: examine the amount of data moved and how often each loaded value contributes to useful work.
Separate capacity from bandwidth. Capacity determines whether the required state fits in a memory level; bandwidth determines how quickly information can pass through it. A workload can satisfy the first constraint and still suffer from the second. The authors emphasize that fitting a system on a chip does not eliminate transfers among registers, caches, and main memory. This distinction is reusable in deployment planning and architecture comparisons. A successful memory-fit calculation should lead to a traffic analysis, rather than serve as the final performance argument.
Analyze the execution regime. The same architecture can present different hardware demands depending on how it is used. The paper’s low-batch decoder case has limited reuse across generated tokens, while larger batches and prompt processing can involve matrix–matrix work. The reusable idea is to define the actual unit of service before optimizing it: an entire input sequence, an incrementally generated output, or a collection of requests processed together. This prevents a result obtained in one regime from becoming an unsupported claim about all inference.
Spend arithmetic to save storage when appropriate. Rematerialization preserves selected intermediate activations and regenerates others when they are needed. The approach works because the resource being saved can be more restrictive than the resource being spent. In the training work discussed by the authors, additional computation can substantially reduce memory requirements. The general engineering idea extends to any execution plan with reproducible intermediates: the cheapest plan in arithmetic terms may be less practical than one that retains less state. The relevant comparison is the complete resource tradeoff.
Treat distributed execution as a new bottleneck question. Adding accelerators offers more aggregate memory and computing capacity, but the resulting execution must move information between them. The paper uses this observation to connect local memory limitations with network communication limitations. The reusable lesson is to evaluate scale-out through the communication it introduces. A design that solves storage pressure may still be constrained by the frequency, volume, or placement of transfers. More devices change the system’s resource balance; they do not automatically remove its weakest link.
Choose representations together with hardware. Quantization and pruning reduce the information a deployment must store or access, but their practical value depends on preserving useful behavior and supporting the resulting representation efficiently. The authors discuss these methods as ways to address deployment pressure, rather than merely reduce a parameter-count headline. This perspective applies broadly to efficient systems and compression: assess a representation by its accuracy, memory footprint, and execution consequences together. A smaller representation is most valuable when the actual serving path benefits from it.
Keep promising remedies distinct from demonstrated fixes. The paper’s direct evidence establishes a hardware mismatch and illustrates its effect on particular workloads. Its solution discussion draws on other research and includes unresolved directions. That separation is worth borrowing in research communication and engineering decisions. A measured bottleneck can justify investigating a remedy without establishing that the remedy will solve every instance. Making the distinction explicit helps readers identify what is ready to use, what requires local validation, and what remains a research question.
Deep dive: AI and Memory Wall
AI and Memory Wall explains why moving data can limit AI performance, comparing hardware trends with encoder and decoder inference. · about 33 minutes to read
How Mova uses it
For Mova, a small transparent language system implemented in Rust, the paper offers a way to frame performance decisions around the cost of moving and retaining information. The most concrete applications are prospective. The paper does not evaluate Mova, and there is no basis for attributing a particular memory layout, compression scheme, or speed improvement to Mova from this work. Its contribution is a set of questions that could guide implementation and measurement.
A useful starting point would be to distinguish the size of Mova’s retained state from the amount of that state accessed during a request. A compact system can still repeatedly traverse data that contributes little work per access. Conversely, a larger retained structure might be inexpensive to use if requests touch only a relevant portion. The paper’s distinction between arithmetic work and memory traffic encourages Mova to make those costs visible separately. Transparency can therefore include an account of what information an operation needs, how frequently it is revisited, and which intermediates must survive between stages.
This does not require assuming that Mova has the same bottleneck as GPT-2. The decoder case depends on a particular computation pattern, and Mova would need its own measurements before adopting that diagnosis. The transferable principle is to avoid explaining latency through arithmetic alone. If a Rust implementation spends substantial time repeatedly accessing stored values, improvements to arithmetic routines may leave the dominant cost mostly intact. If arithmetic is instead the limiting resource, reducing memory use may offer little direct speed benefit.
The paper also suggests evaluating Mova’s execution paths independently. Processing an input and producing successive outputs need not access information in the same way. A combined end-to-end measurement can hide which stage repeatedly loads state, which stage reuses it, and which stage retains large intermediates. Mova could make these distinctions part of its performance reporting without claiming that its architecture reproduces the encoder–decoder comparison. The value would be explanatory: a measured delay could be connected to the work and data access responsible for it.
Smaller representations are another possible application. The authors discuss reduced precision and pruning because they can lower storage and transfer requirements during deployment. For Mova, any analogous change would need to preserve the information its behavior depends on and retain the system’s inspectability. The paper’s compression figures cannot be transferred directly to a Rust language system with an unspecified representation. A credible application would report Mova’s own retained size, access behavior, and output consequences before and after a change.
Rematerialization supplies a related design question: which intermediate results should remain stored, and which could be reconstructed when needed? This is a prospective optimization rather than an established Mova feature. Its usefulness would depend on how expensive reconstruction is and whether retained intermediates actually create memory pressure. The paper supports considering this tradeoff; it does not imply that discarding state is always beneficial. For a transparent system, an additional advantage of examining the tradeoff is that it forces the purpose and lifetime of each retained item to be stated clearly.
Finally, the paper supports treating small size as an opportunity that requires verification. A system that avoids distributed deployment may avoid some communication and operational burdens discussed by the authors. That is a reason to investigate an efficient local implementation, not evidence of a particular speed or energy advantage for Mova. The honest connection is methodological: Mova could use the paper to make memory capacity, access patterns, recomputation, and representation choices explicit parts of its design rationale. Any claim that these choices improve performance would then rest on measurements of Mova itself.
The problem and its context
The memory wall is a mismatch between the rate at which hardware can calculate and the rate at which it can obtain the information needed for those calculations. Arithmetic units require a continuing supply of operands. If that supply arrives too slowly, making the units faster does not remove the delay. The paper applies this longstanding systems problem to AI workloads whose arithmetic capability, parameter storage, and communication requirements have developed at very different rates.
The distinction matters because AI hardware is often described through peak FLOPS, a rate measuring floating-point operations per second. A large peak rate indicates considerable potential computing power. It does not establish that a particular workload can keep the relevant units occupied. That depends on the sequence of operations, where the data resides, and how much reuse is possible after it has been loaded. An execution with little reuse can leave substantial arithmetic capacity idle while waiting on transfers.
A warning that predates current AI workloads
The authors trace the problem through earlier systems research. They describe Ousterhout’s work in 1990 as an early warning that memory bandwidth was failing to match improvements in processor speed. In that setting, the concern arose from operating-system performance. The relevance is structural: faster processors do not improve all applications equally when another part of the execution path advances more slowly.
The paper then discusses Wulf and McKee’s argument in 1995, when the term memory wall was introduced. Their reasoning considers data that is either already available in cache or must be retrieved from DRAM. A cache is a nearer storage level that can supply information without making the same main-memory access. Even a high rate of successful cache access leaves some requests exposed to the slower path.
The example described by the authors assumes that 80% of the data is available in cache and 20% requires DRAM access. If obtaining the missing portion takes more than 5 cycles, the slower memory path can dominate the operation. The point is not that these values characterize all AI systems. They illustrate how a minority of accesses can control execution time when their cost is sufficiently large. An arithmetic improvement cannot compensate indefinitely for that imbalance.
The historical prediction concerned diverging trends, instead of a temporary weakness in a particular machine. Processor capability and memory performance could both improve while the difference between them became increasingly important. The authors cite subsequent architecture and bandwidth research as further observations of the same issue. Their contribution is to revisit it using more recent hardware information and the execution characteristics of contemporary Transformer inference.
Why AI scaling makes the mismatch consequential
The paper connects the hardware problem to scaling laws, which have encouraged increases in training data, system size, and computation. In the authors’ account, the training-computation requirement for recent large language systems rose at 750×/2yrs during 2018-2022. Parameter counts rose at 410×/2yrs over that period. Such growth places pressure on several resources at once: arithmetic work must be executed, parameters must be stored, and information must move through the system.
The memory-capacity comparison is especially important. The paper reports that individual GPU memory capacity increased at 2× every 2 years, much more slowly than the parameter trend. Its capacity figure divides GPU memory by 6 to approximate the largest trainable parameter footprint. That adjustment is an approximate training-capacity convention used for the figure, instead of a universal claim that parameters alone determine memory consumption.
When the required state exceeds local capacity, distributed execution becomes an obvious response. Separate accelerators can collectively retain more information and contribute additional arithmetic units. Yet the execution must now coordinate work and transfer data across device boundaries. The authors emphasize that this introduces another form of the same underlying problem: information movement can limit progress even when the combined arithmetic capacity is large.
The argument therefore covers both a local and a distributed setting. Locally, data moves between storage levels and computing units. Across devices, it moves through interconnects. A workload can encounter either limitation, or both. The paper’s hardware trends matter because neither memory bandwidth nor interconnect bandwidth has kept pace with arithmetic throughput in the reported analysis.
Capacity, bandwidth, and latency are different constraints
The authors use the memory wall broadly enough to include capacity, bandwidth, and latency. Capacity concerns how much information a storage level can hold. Bandwidth concerns the volume it can transfer over time. Latency concerns the delay associated with an access or transfer. These constraints interact, but a solution to one does not automatically solve the others.
Increasing capacity may allow the entire required state to remain on a device. That can eliminate some transfers across devices while leaving repeated local transfers intact. Increasing bandwidth can help supply more information over time without necessarily eliminating the delay before a particular dependent access completes. The paper notes that latency has been especially difficult to improve, although its central quantitative analysis focuses on bandwidth and arithmetic throughput.
This distinction prevents an overly simple interpretation of the paper’s title. The wall is not merely the moment when a parameter set becomes too large for a GPU. It also includes situations where the parameters fit, but execution repeatedly moves them through a path that cannot supply data at the rate the arithmetic units could consume it. The local hierarchy remains consequential even after a capacity problem has been solved.
What earlier approaches already offered
The paper situates possible responses within existing work on optimization, memory management, compression, and hardware design. Communication-avoiding numerical methods provide an example of accepting additional calculations to reduce movement. Activation checkpointing applies a related tradeoff during neural-network training by storing selected intermediates and reconstructing others. Optimizer-state sharding addresses replicated training state. These approaches target different sources of memory demand.
For deployment, the authors discuss quantization, pruning, and smaller language systems. Quantization changes the precision used to represent values. Pruning removes parameters or computational structures judged redundant. Smaller architectures reduce the state required in the first place. The paper does not present these as interchangeable techniques: each changes a different part of the storage, arithmetic, and accuracy balance.
The hardware discussion likewise builds on an existing distinction. CPUs devote resources to a cache hierarchy, while AI accelerators emphasize high arithmetic throughput. The authors argue that this allocation can disadvantage bandwidth-sensitive workloads. Their proposed direction is to reconsider the balance, including cache efficiency and higher-capacity DRAM, rather than continue treating peak arithmetic rate as the main design objective.
The method, step by step
The paper’s method has an observational part and a workload-analysis part. The first examines historical growth in computing capability, memory resources, and AI requirements. The second asks why a particular inference workload can run slowly even when its arithmetic count appears favorable. Together, they connect a broad hardware trend with a concrete execution mechanism.
There is no new pretraining procedure, training corpus, or learned intervention in this study. The authors analyze existing systems, profile inference, and discuss remedies supported by other research. Understanding that structure is essential: the method is designed to diagnose a bottleneck, rather than demonstrate the superiority of a newly trained system.
Connecting hardware trends to inference bottlenecks
The steps in order.
Establish what has been growing
The historical analysis begins with hardware used for AI computation and compares arithmetic throughput with memory and interconnect bandwidth. The paper uses the R10000 system as a normalization reference for peak FLOPS because that system was used in reporting the training cost of LeNet-5. This creates a common reference for the hardware figure; it does not turn the historical systems into a single controlled benchmark suite.
The AI-demand analysis considers parameter counts and the arithmetic required for training. Its figure spans computer vision, natural language processing, and speech, while distinguishing the particularly rapid Transformer trends. The parameter-growth fit excludes recommendation systems. This selection matters because the reported growth rate characterizes the chosen series, instead of every kind of AI system.
The authors state that their rates come from linear-regression fits to the plotted data. A rate such as 410×/2yrs is therefore a description of the selected historical observations. It is not a physical law or a guaranteed future schedule. The interpretation depends on the systems selected, the period represented, and the distinction between a fitted trend and an individual measurement.
Training cost is reported as an amount of computation, using Peta FLOPs. The authors prefer this to an estimate based on hardware utilization because utilization depends on the implementation library and hardware. That choice makes the historical requirement more clearly about arithmetic work, while leaving actual execution time outside the metric. The later inference analysis then shows why this distinction matters.
Keep operation counts separate from operation rates
The paper distinguishes FLOPs from FLOPS. FLOPs denotes an amount of floating-point work required to complete a task. FLOPS denotes the rate a piece of hardware can potentially deliver. The difference is analogous to the distinction between a job’s size and a machine’s capacity to process it over time.
An arithmetic count is useful because it identifies part of the required work. It is insufficient because completing that work requires operands and intermediate results to be available. A workload with fewer FLOPs can take longer if it repeatedly accesses large quantities of data with little reuse. The method therefore adds memory operations to the account before interpreting latency.
The authors call the relevant memory-access quantity MOPs. In their arithmetic-intensity definition, this quantity is expressed as bytes accessed. It should therefore be read as a measure of data movement for the calculation, rather than as a count of arithmetic instructions. Keeping the units explicit prevents an apparent efficiency advantage from arising merely through inconsistent accounting.
Compute arithmetic intensity
The paper’s explicit equation relates total arithmetic work to memory traffic:
Arithmetic Intensity = # FLOPs / # MOPs
“Arithmetic Intensity” is the resulting measure of operations performed per byte accessed. “# FLOPs” is the floating-point operation count for the computation. “# MOPs” is the memory-access quantity, measured in bytes in this definition. The hash mark indicates an amount or count; it is not an additional variable. A higher value means that each byte accessed supports more arithmetic work.
The measure is useful because it connects workload structure with hardware supply. If data can participate in many calculations after it is loaded, arithmetic units have more useful work to perform for that transfer. If a value is loaded, used briefly, and then another large set of values must arrive, the arithmetic units depend more strongly on the transfer path.
The authors make an important idealizing assumption. For a given operation, they assume local memory can retain both matrices in full. The calculated intensity consequently represents an upper bound on the achievable reuse. If an implementation cannot retain those operands at the relevant level, additional movement can make actual behavior less favorable.
They also count the multiplication and addition within a multiply–accumulate operation separately. This establishes the arithmetic convention behind the numerator. Without a consistent convention, comparisons of operation counts and intensity could be misleading even before considering the execution hardware.
Select workloads with different reuse patterns
The case study examines BERT-Base and BERT-Large as encoder examples and GPT-2 as a decoder example. In the encoder setup, the sequence’s tokens are processed together. The resulting computation contains matrix–matrix operations, which create opportunities to reuse the same parameters across multiple token representations during an operation.
Autoregressive decoding follows a different schedule. The system produces an output token, incorporates that progress into the continuing computation, and proceeds to the next token. At the batch setting used here, the key operations have a matrix–vector character. The same broad body of stored parameters can therefore be needed repeatedly across successive steps without the same degree of simultaneous reuse.
This distinction explains why the comparison is informative without implying that encoders and decoders perform identical tasks. The workloads differ in their processing schedule and purpose. The authors use that contrast to show how execution structure changes memory demand. They do not establish that replacing a decoder with an encoder would preserve a text-generation application.
BERT-Base and GPT-2 are particularly useful to the argument because the paper describes their configurations and overall arithmetic requirements as broadly similar. That comparison reduces the plausibility of explaining the runtime difference solely through the amount of arithmetic. BERT-Large adds a larger encoder example, reinforcing that a greater operation count need not determine the slower execution.
Fix the profiling assumptions
The inference profiling uses an Intel Gold 6242 CPU. The authors assume 8-bit storage for parameters and activations and set the batch size to 1. Parameters are the retained values defining the system’s computation; activations are the intermediate values produced as an input passes through it. Their precision affects the byte count associated with storage and movement.
Sequence length is varied across the profiling figures. For an encoder, the analysis concerns processing the specified input sequence. For the decoder, the reported arithmetic and memory totals cover repeated generation until the sequence reaches the specified length. This is an important boundary: the decoder figures account for the full iterative process, rather than describe only an isolated output step.
The paper measures or reports total arithmetic work, total memory operations, arithmetic intensity, and end-to-end latency. These quantities serve different roles. The operation totals characterize demand. Arithmetic intensity relates those demands. Latency records the execution consequence on the chosen processor. The method gains explanatory force by examining them together.
Latency is expressed relative to BERT-Base processing an input of length 128. That reference supplies a common scale for the figure. It is not an independently reported absolute duration, and the paper’s prose does not provide the plotted timing values as a numerical table. The comparison supports a clear ordering and mechanism without supplying precise timing multipliers in the text.
Interpret the measurements within their workload boundary
The final analytical step connects the decoder’s greater memory traffic and lower arithmetic intensity with its longer latency. The argument is stronger than a raw observation that GPT-2 runs slowly: it identifies an execution pattern that plausibly explains why comparable arithmetic work takes longer. Repeated matrix–vector operations offer less reuse than the matrix–matrix work emphasized in the encoder comparison.
The authors also identify cases where that interpretation changes. A long input prompt can involve matrix–matrix operations before incremental generation begins. Larger batches can similarly create matrix–matrix work by processing requests together. These cases are not marginal exceptions to be ignored; they show why the execution regime belongs in the method’s definition.
The remedies are then evaluated conceptually against the diagnosed constraints. Reducing retained precision can lower bytes accessed. Recomputing activations can lower stored state while increasing arithmetic. Sharding optimizer state can remove redundant copies. Hardware with a different storage hierarchy can change the supply of data. The paper does not combine these into a newly validated pipeline, but it explains why an arithmetic-only optimization agenda is incomplete.
Experiments and results
The evidence has different levels of directness. The historical figures report fitted trends across hardware and AI requirements. The Transformer case study directly compares inference characteristics on a specified CPU. The solution section reports findings from cited research and uses them to motivate further work. These categories should remain separate when interpreting the numbers.
There is no newly introduced task dataset, training split, or predictive-accuracy benchmark for the central case study. The principal outcomes are resource requirements and execution latency. BERT-Base, BERT-Large, and GPT-2 function as contrasting workloads rather than as entrants in a shared application-accuracy contest. The historical discussion of MNIST concerns the LeNet-5 reference point, not a new evaluation performed by the authors.
Hardware throughput outpaces bandwidth
The headline hardware result is a widening mismatch in fitted growth. Over the period summarized as 20 years, peak server arithmetic throughput grows at 3.0× every 2 years. DRAM bandwidth grows at 1.6×, and interconnect bandwidth at 1.4× over the same recurring interval. All improve, but the resource supplying arithmetic capacity improves faster than the resources supplying data.
Reported hardware growth, multiplicative increase every 2 years
Peak arithmetic throughput is the fastest-growing series, increasing the pressure on data supply.
The numbers
| System or setting | × growth every 2 years |
|---|---|
| Peak arithmetic throughput (this paper) | 3.0 |
| DRAM bandwidth | 1.6 |
| Interconnect bandwidth | 1.4 |
The star identifies the fastest-growing series in this comparison; it does not identify a proposed system. Higher growth here describes a historical trend, rather than a complete measure of hardware quality. In fact, the imbalance among the series is the problem the chart illustrates. Faster arithmetic growth increases the potential penalty when data supply cannot keep pace.
The paper also expresses the historical comparison through cumulative changes. It reports a 60,000× increase in peak arithmetic capability over 20 years, compared with 100× for DRAM bandwidth and 30× for interconnect bandwidth. These are the authors’ reported values. Their significance lies in the contrasting development of the resources, rather than in any newly calculated relationship among them.
The hardware figure normalizes arithmetic performance against the R10000 reference. That historical framing makes the direction of change visible, but the series should not be mistaken for a controlled experiment holding every architectural characteristic constant. The evidence supports the claim that bandwidth has advanced much more slowly than peak arithmetic capability across the systems considered.
AI requirements rise faster still
On the demand side, the paper reports training-computation growth of 750×/2yrs for the recent Transformer trend during 2018-2022. It reports parameter growth of 410×/2yrs for the corresponding large-system trend. The parameter fit excludes recommendation systems, which limits the scope of that particular rate.
Single-GPU memory capacity grows at 2× every 2 years in the comparison. The capacity figure uses a division by 6 as an approximate way to represent the largest system that could be trained within the available memory. The point is that capacity growth does not match parameter growth, even before considering whether transfers can sustain the available arithmetic units.
These demand figures motivate distributed execution but do not establish its efficiency. Additional devices supply aggregate resources while adding communication requirements. The paper therefore treats the disparity as a systems problem involving placement and movement, instead of a shortage that can always be solved by adding arithmetic hardware.
The authors exclude reinforcement-learning training costs from the historical training-computation figure. Their reason is that the simulation environment accounts for much of that cost, while there is no agreed standard environment for the comparison. This exclusion helps define what the plotted trend represents. It also means that the reported growth should not be generalized to every training regime.
The inference comparison
The direct inference case study uses the Intel Gold 6242 CPU, with batch size 1 and assumed 8-bit values for parameters and activations. It compares the arithmetic requirement, memory traffic, intensity, and latency of BERT-Base, BERT-Large, and GPT-2 over different sequence lengths.
The central outcome is that GPT-2 has substantially longer latency than either encoder in the reported sequence-length comparisons. This occurs even though BERT-Base and GPT-2 have broadly similar configurations and overall arithmetic work. The figure’s accompanying discussion also emphasizes that the encoder workloads can contain more arithmetic while still completing sooner.
The memory accounting explains the discrepancy. GPT-2’s repeated generation entails far more memory operations and much lower arithmetic intensity. The authors characterize these contrasts as differences of orders of magnitude. They do not supply exact memory-traffic or intensity values in the prose, so the conclusion should remain at that level of specificity.
The latency figure is normalized against BERT-Base processing a sequence length of 128. It supports the reported runtime ordering but does not provide textual values from which to state a precise speed advantage. The defensible result is that the low-batch decoder workload is slower in spite of a comparatively modest arithmetic requirement, and that its data-movement pattern explains why arithmetic totals alone are inadequate.
This is a comparison of workload behavior, not a claim about language-task quality. No accuracy result establishes that the systems are interchangeable. The evidence concerns the hardware consequences of concurrent sequence processing versus iterative generation under the stated assumptions.
What the proposed remedies have achieved elsewhere
The solution discussion includes several quantitative findings from cited research. These are supporting results, rather than new experiments performed as part of the paper’s CPU case study. They illustrate the scale of possible improvements and the tradeoffs that remain.
For training, the authors describe second-order stochastic optimization as potentially less sensitive to hyper-parameter choices, while reporting a 3–4× larger memory footprint for current methods. That overhead matters because a method intended to reduce tuning cost may aggravate an already restrictive memory constraint. The paper therefore treats improved robustness and reduced storage as requirements that need to be addressed together.
The discussion of the ZeRO framework reports that removing or distributing redundant optimizer state can permit training 8× larger systems within the same memory capacity. This result concerns how training state is represented and placed. It is not a claim that arithmetic demand or inference latency improves by the same amount.
For rematerialization, the authors cite memory-footprint reductions of up to 5× with 20% additional computation. The tradeoff directly supports the paper’s argument that minimizing arithmetic is not always the right objective. Additional calculations can be worthwhile if they avoid a more restrictive storage requirement or a move to distributed training.
The low-precision discussion reports that the move to FP16 helped enable more than a 10× increase in hardware arithmetic capability. The authors distinguish that training development from inference quantization. For inference, they describe INT4 as achievable with limited accuracy impact using the cited methods, and report reductions of up to 8× in footprint and latency from the quantization literature.
The pruning discussion reports up to 30% of neurons removed through structured sparsity and up to 80% through unstructured sparsity with limited accuracy impact. These figures refer to different forms of removal and should not be treated as equivalent execution improvements. The paper does not establish a corresponding latency result for either setting in its own profiling study.
Taken together, these results show that memory pressure can be attacked at several levels. They do not establish that the reported gains can be combined, transferred unchanged to every architecture, or reproduced on the CPU used in the case study. Each number belongs to the method and conditions discussed in the relevant cited work.
What the ablations show
The paper does not report an ablation study of a new system; it offers workload comparisons, hardware-trend analyses, and a discussion of resource tradeoffs.
Similar arithmetic, different execution costs
The most informative comparison places BERT-Base alongside GPT-2. Their broadly similar configurations and arithmetic totals make the latency difference difficult to explain through operation count alone. The accompanying memory analysis identifies a more useful distinction: the encoder performs matrix–matrix work, while low-batch autoregressive decoding repeatedly performs matrix–vector work.
This is not a strict experiment that changes only a single architectural component. The systems differ in purpose and execution schedule, and the paper does not attempt to remove every difference between them. Its value is explanatory rather than isolating. The comparison demonstrates that arithmetic count omits a resource demand that matters substantially in the observed setting.
BERT-Large provides a further check on the arithmetic-only interpretation. A larger encoder can involve more arithmetic without becoming the slowest workload in the comparison. That observation reinforces the need to consider reuse and traffic. It does not imply that increasing size improves performance; the relevant contrast is between different execution structures.
Sequence length exposes repeated work
The profiling figures examine different sequence lengths instead of reporting only a single endpoint. For the decoder, the accounting includes the successive steps required to generate the full requested sequence. This makes repeated parameter access part of the measured workload instead of hiding it behind the cost of an isolated step.
The text reports that GPT-2 remains slower across the sequence-length comparisons, but it does not supply the individual numerical values. The analysis therefore supports a persistent qualitative distinction within the tested setting. It does not support an exact claim about how the latency gap changes as sequences grow.
The encoder–decoder contrast also clarifies why a workload must be defined over an appropriate unit of work. An input sequence processed concurrently and an output sequence generated incrementally may contain comparable token counts while creating very different opportunities for reuse. Counting tokens or arithmetic alone would miss that execution difference.
Batch size is a scope condition, not an ablated variable
The study fixes batch size at 1. The authors discuss larger batches as a case where matrix–matrix operations can become important, but they do not present a batch-size sweep in the paper’s account. Consequently, the study does not identify a batch size at which the bottleneck changes or provide a quantitative curve relating batching to utilization.
The same applies to long-prompt processing. The paper explicitly recognizes that processing a substantial prompt can involve a different operation pattern from incremental decoding. This is an analytical qualification, not a separately measured intervention in the reported case study. It prevents the low-batch result from becoming an unrestricted statement about decoder inference.
Memory-saving methods reveal different trade-offs
The solution discussion offers controlled reasoning about resource exchanges, even though it is not a unified ablation suite. Rematerialization spends additional arithmetic to reduce retained activations. Optimizer-state sharding changes the placement and duplication of training state. Quantization reduces representational precision. Pruning removes selected structures or values.
These mechanisms should remain distinct because success on one resource does not establish success on another. Lower storage can enable a workload to fit without proving lower latency. Lower precision can reduce transferred bytes without guaranteeing preserved accuracy. Removed parameters can create sparsity without establishing that a particular execution path exploits it efficiently.
The paper’s analytical contribution is to place these methods within the same resource framework. Each changes some combination of arithmetic demand, retained state, transfer volume, or hardware support. That framework is useful for deciding what to investigate, while the effectiveness of each intervention still depends on its own measurements.
Limitations
The paper’s evidence supports a specific diagnosis more strongly than it supports any universal remedy. It establishes a historical mismatch among resource trends and illustrates the performance consequences for selected inference workloads. Its broader architectural recommendations remain proposals. Separating the authors’ explicit qualifications from additional limits visible in the setup helps preserve that distinction.
Qualifications the authors state
The authors explicitly qualify the decoder result by execution regime. Their case study focuses on low-batch inference, and the profiling uses batch size 1. They note that larger batches can produce matrix–matrix operations. They also identify long-prompt processing as a setting where the decoder’s work can differ from the repeated matrix–vector pattern emphasized in incremental generation.
This qualification matters for serving decisions. A result about generating successive tokens under a particular batch setting does not establish the same bottleneck for every stage of a request. The paper’s argument should therefore be applied to the relevant execution phase, rather than attached to an architecture name without further analysis.
The arithmetic-intensity calculation has an explicit optimistic assumption: local memory is treated as large enough to retain both matrices for an operation. The reported intensity consequently bounds potential reuse from above. This means the calculation is not a complete reconstruction of every transfer that a real implementation might perform through its storage hierarchy.
The historical training-cost analysis also has stated boundaries. Reinforcement-learning training costs are excluded because of their dependence on simulation and the lack of a standard comparison environment. The authors report arithmetic work rather than estimating execution through assumed hardware utilization. That avoids a particular approximation but leaves wall-clock training time and implementation efficiency outside the figure’s direct measurement.
The authors further state that the reported training-computation requirement understates the practical expense of developing a successful training run. Hyper-parameter searches and unsuccessful trials add work beyond the final run’s arithmetic count. Their historical series should therefore not be interpreted as a complete accounting of all resources spent during development.
The proposed remedies have explicit unresolved constraints. Second-order optimization currently requires substantially more memory in the discussion. Training below the precision commonly used is difficult without harming accuracy. Quantizing inference below INT4 is described as challenging. More aggressive pruning can severely damage accuracy. These qualifications prevent the solution section from being read as a collection of established ways to eliminate the wall.
Additional limits visible in the study
A careful reader should distinguish the CPU case study from a broad hardware survey of inference execution. The reported profiling uses an Intel Gold 6242 CPU. Although the architectural argument concerns AI accelerators more generally, this experiment does not directly measure every accelerator design or establish identical bottleneck severity across them.
Peak arithmetic throughput is also a potential rate, rather than achieved throughput on the profiled workloads. The historical gap is persuasive as a warning, but it cannot by itself predict a particular application’s latency. Workload structure, data placement, reuse, and implementation determine how much of the peak capability becomes useful execution.
The assumed 8-bit representation is another boundary. Precision affects the amount of information that must be retained and transferred. The study does not present a precision sweep for the inference comparison, nor does it pair the profiling with a task-accuracy analysis under that assumption. The result is a resource comparison under a stated representation, not an accuracy-preserving deployment recipe.
The workloads also have different functional roles. An encoder that processes an input sequence and a decoder that generates an output sequence are not interchangeable solutions to an identical task. Their comparison explains a performance mechanism. It does not establish that a faster encoder could replace a slower decoder while providing the same service.
The paper’s prose gives directions and qualitative magnitudes for several profiling outcomes without supplying exact plotted values. That limits numerical reporting. A precise latency multiplier, exact intensity value, or detailed memory-traffic total would go beyond the numerical evidence stated in the text. The absence of those values does not undermine the central comparison, but it restricts how finely its result can be quantified.
Historical fits are not forecasts
The reported scaling rates describe selected historical series. Their usefulness lies in showing how arithmetic capability, memory resources, and AI demand developed at different speeds. They do not establish that the same rates will continue indefinitely or specify when a particular deployment becomes infeasible.
The selection of systems also matters. The parameter-growth fit excludes recommendation systems, while the broader discussion later uses recommendation workloads as examples of deployment and bandwidth challenges. These observations can coexist, but the fitted parameter rate should not be silently extended to the excluded category.
The hardware series similarly compresses diverse systems into a broad trend. It supports concern about resource imbalance without resolving all architectural differences among those systems. A deployment decision still requires the characteristics of the actual workload and machine, rather than a historical growth rate alone.
The remedies are not evaluated as a combined design
The paper does not build and benchmark a system that integrates optimizer-state sharding, rematerialization, compression, and redesigned memory hardware. It therefore cannot establish their combined benefit or show that their gains accumulate. Some methods target training capacity, others inference traffic, and others hardware supply.
Likewise, the claim that a completely on-chip small system could offer substantial speed and energy benefits is presented as an opportunity. The paper does not provide a new measurement establishing that outcome for a particular small architecture. Its direction is plausible within the resource argument, but the benefit requires an actual implementation and evaluation.
Finally, the discussion of CPUs, GPUs, and alternative accelerators is architectural reasoning instead of a comprehensive comparative benchmark. The authors favor reconsidering cache resources and memory capacity, but they do not specify and validate a complete replacement design. The paper is strongest as a guide to the questions such a design should answer.
What came after
The cited-work landscape connects this diagnosis to compression, hardware-aware scaling, long-context processing, integrated system design, and inference scheduling. The strength of the documented connection differs across the works. Their titles identify research directions, but a citation relationship alone does not establish which claim was adopted, challenged, or experimentally extended. It is useful to distinguish a clear thematic connection from a demonstrated technical lineage.
Compression as a direct deployment connection
SqueezeLLM: Dense-and-Sparse Quantization has the clearest technical relationship in the paper’s own discussion. The authors cite SqueezeLLM among quantization approaches relevant to reducing inference precision. That places it directly within their proposed response to the memory wall: reduce the storage and transfer requirements associated with deployed parameters while limiting the effect on accuracy.
Its chronology also requires care. SqueezeLLM is dated 2023 and is already part of the literature used by “AI and Memory Wall.” It should therefore be understood here as connected evidence for a remedy, rather than described as a later invention caused by this paper. The paper supports the relationship between quantization and deployment pressure, but it does not assign its aggregate quantization claims exclusively to SqueezeLLM.
This connection is important because compression addresses demand instead of waiting for memory technology to catch up. A representation that requires fewer bytes can change both whether deployment fits locally and how much information execution must access. The paper’s framework explains why that direction matters, while the details of a particular quantization method require its own evidence.
Scaling decisions and hardware design
Insights into DeepSeek-V3: Scaling Challenges and Reflections on Hardware for AI Architectures is dated 2025 and explicitly concerns the relationship between scaling and hardware. That subject connects with the central warning of “AI and Memory Wall”: increasing architectural scale creates requirements that cannot be judged through peak arithmetic capability alone.
The title supports a connection at the level of research questions. It does not establish a particular measured bandwidth limitation, hardware recommendation, or quantitative confirmation of this paper’s trends. Those claims would require the work’s own technical account. The supported point is that scaling challenges and hardware choices continue to be considered together, precisely the relationship emphasized by the memory-wall analysis.
Long-context processing broadens the workload question
A Comprehensive Survey on Long Context Language Modeling is also dated 2025. Its subject intersects with an explicit qualification in “AI and Memory Wall”: processing a long prompt can have different arithmetic structure from generating successive output tokens at low batch size.
That makes long-context work relevant to the paper’s insistence on defining the execution regime. However, the title and citation relationship do not identify which techniques the survey covers, how it organizes memory constraints, or whether it endorses a particular remedy. The defensible connection is the workload question itself: memory demand must be understood for the actual processing phase and context setting, rather than inferred solely from an architecture category.
Software and hardware considered together
Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep Learning is dated 2024. Its stated focus on software–hardware co-design connects with the paper’s argument that no isolated arithmetic metric is sufficient for choosing an effective AI system.
The shared design question is how software requirements and hardware resources should be considered together. “AI and Memory Wall” motivates that question through data movement, capacity, and arithmetic intensity. The available description of Fire-Flyer AI-HPC does not establish its specific response to those constraints or any measured advantage attributable to this paper’s diagnosis. The connection is therefore one of system-design scope, with the implementation and results belonging to the separate work.
Candidate selection during inference
Calibrated Speculative Decoding: Frequency-Guided Candidate Selection for Efficient Inference is dated 2026. Its title identifies candidate selection within speculative decoding as an inference-efficiency direction. That places it near the serving concerns that motivate the decoder case study, where the schedule of computation and repeated access matters to runtime.
The title does not establish how the method changes memory traffic, whether bandwidth is its dominant constraint, or how much it improves execution. It would be unsupported to present it as a demonstrated solution to the memory wall on the strength of a citation alone. Its documented relevance is that inference efficiency remains a research target at the level of the decoding procedure, complementing the paper’s discussion of representation and hardware.
Across these connections, the reusable question remains concrete: what limits the actual execution, and does an intervention change that limiting resource? Compression changes representation, co-design considers the relationship between software and machinery, and decoding research examines how inference proceeds. “AI and Memory Wall” provides a framework for evaluating such directions while leaving their individual mechanisms and achievements to their own evidence.
Cite
Cite as Amir Gholami, Zhewei Yao, Sehoon Kim, Coleman Richard Charles Hooper, Michael W. Mahoney and Kurt Keutzer. 2024. AI and Memory Wall. IEEE Micro.
@inproceedings{gholami2024ai,
title = {{AI and Memory Wall}},
author = {Amir Gholami, Zhewei Yao, Sehoon Kim, Coleman Richard Charles Hooper, Michael W. Mahoney and Kurt Keutzer},
booktitle = {IEEE Micro},
year = {2024},
doi = {10.1109/mm.2024.3373763},
eprint = {2403.14123},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/mm.2024.3373763}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/gholami-2024-ai-memory-wall/
References
- G. Ballard, J. Demmel, O. Holtz, and O. Schwartz, “Minimizing communication in numerical linear algebra,” SIAM Journal on Matrix Analysis and Applications, vol. 32, no. 3, pp. 866–901, 2011. OpenAlex ↗ · Scholar ↗
- L. Bottou, F. E. Curtis, and J. Nocedal, “Optimization methods for large-scale machine learning,” SIAM Review, vol. 60, no. 2, pp. 223–311, 2018. our card
- T. Brown, B. Mann, N. Ryder, M. Subbiah, J. D. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell et al., “Language models are few-shot learners,” Advances in neural information processing systems, vol. 33, pp. 1877–1901, 2020. our card
- A. Chowdhery, S. Narang, J. Devlin, M. Bosma, G. Mishra, A. Roberts, P. Barham, H. W. Chung, C. Sutton, S. Gehrmann et al., “Palm: Scaling language modeling with pathways,” Journal of Machine Learning Research, vol. 24, no. 240, pp. 1–113, 2023. our card
- H. W. Chung, L. Hou, S. Longpre, B. Zoph, Y. Tay, W. Fedus, Y. Li, X. Wang, M. Dehghani, S. Brahma et al., “Scaling instruction-finetuned language models,” arXiv preprint arXiv:2210.11416, 2022. OpenAlex ↗ · Scholar ↗
- T. Dettmers, R. Svirschevski, V. Egiazarian, D. Kuznedelev, E. Frantar, S. Ashkboos, A. Borzunov, T. Hoefler, and D. Alistarh, “Spqr: A sparse-quantized representation for near-lossless llm weight compression,” arXiv preprint arXiv:2306.03078, 2023. OpenAlex ↗ · Scholar ↗
- J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), 2019, pp. 4171–4186. our card
- E. Frantar and D. Alistarh, “Sparsegpt: Massive language models can be accurately pruned in one-shot,” 2023. our card
- E. Frantar, S. Ashkboos, T. Hoefler, and D. Alistarh, “OPTQ: Accurate quantization for generative pre-trained transformers,” in The Eleventh International Conference on Learning Representations, 2023. OpenAlex ↗ · Scholar ↗
- A. Gholami, S. Kim, Z. Dong, Z. Yao, M. W. Mahoney, and K. Keutzer, “A survey of quantization methods for efficient neural network inference,” in Low-Power Computer Vision. 1em plus 0.5em minus 0.4em Chapman and Hall/CRC, 2022, pp. 291–326. OpenAlex ↗ · Scholar ↗
- B. Ginsburg, S. Nikolaev, A. Kiswani, H. Wu, A. Gholaminejad, S. Kierat, M. Houston, and A. Fit-Florea, “Tensor processing using low precision format,” Dec. 28 2017, uS Patent App. 15/624,577. OpenAlex ↗ · Scholar ↗
- J. L. Hennessy and D. A. Patterson, Computer architecture: a quantitative approach. 1em plus 0.5em minus 0.4em Elsevier, 2011. OpenAlex ↗ · Scholar ↗
- T. Hoefler, D. Alistarh, T. Ben-Nun, N. Dryden, and A. Peste, “Sparsity in deep learning: Pruning and growth for efficient inference and training in neural networks,” The Journal of Machine Learning Research, vol. 22, no. 1, pp. 10 882–11 005, 2021. OpenAlex ↗ · Scholar ↗
- J. Hoffmann, S. Borgeaud, A. Mensch, E. Buchatskaya, T. Cai, E. Rutherford, D. de Las Casas, L. A. Hendricks, J. Welbl, A. Clark, T. Hennigan, E. Noland, K. Millican, G. van den Driessche, B. Damoc, A. Guy, S. Osindero, K. Simonyan, E. Elsen, O. Vinyals, J. Rae, and L. Sifre, “An empirical analysis of compute-optimal large language model training,” in Advances in Neural Information Processing Systems, vol. 35, 2022, pp. 30 016–30 030. OpenAlex ↗ · Scholar ↗
- P. Jain, A. Jain, A. Nrusimha, A. Gholami, P. Abbeel, J. Gonzalez, K. Keutzer, and I. Stoica, “Checkmate: Breaking the memory wall with optimal tensor rematerialization,” Proceedings of Machine Learning and Systems, vol. 2, pp. 497–511, 2020. OpenAlex ↗ · Scholar ↗
- A. Q. Jiang, A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. d. l. Casas, F. Bressand, G. Lengyel, G. Lample, L. Saulnier et al., “Mistral 7b,” arXiv preprint arXiv:2310.06825, 2023. OpenAlex ↗ · Scholar ↗
- S. Kim, C. Hooper, A. Gholami, Z. Dong, X. Li, S. Shen, M. W. Mahoney, and K. Keutzer, “Squeezellm: Dense-and-sparse quantization,” arXiv preprint arXiv:2306.07629, 2023. our card
- S. Kim, C. Hooper, T. Wattanawong, M. Kang, R. Yan, H. Genc, G. Dinh, Q. Huang, K. Keutzer, M. W. Mahoney, Y. S. Shao, and A. Gholami, “Full stack optimization of transformer inference: a survey,” Workshop on Architecture and System Support for Transformer Models (ASSYST) at ISCA, 2023. OpenAlex ↗ · Scholar ↗
- V. A. Korthikanti, J. Casper, S. Lym, L. McAfee, M. Andersch, M. Shoeybi, and B. Catanzaro, “Reducing activation recomputation in large transformer models,” Proceedings of Machine Learning and Systems, vol. 5, 2023. our card
- S. Krishna and R. Krishna, “Accelerating recommender systems via hardware scale-in,” arXiv preprint arXiv:2009.05230, 2020. OpenAlex ↗ · Scholar ↗
- W. Kwon, S. Kim, M. W. Mahoney, J. Hassoun, K. Keutzer, and A. Gholami, “A fast post-training pruning framework for transformers,” in Advances in Neural Information Processing Systems, vol. 35. 1em plus 0.5em minus 0.4em Curran Associates, Inc., 2022, pp. 24 101–24 116. OpenAlex ↗ · Scholar ↗
- Y. LeCun, L. Bottou, Y. Bengio, P. Haffner et al., “Gradient-based learning applied to document recognition,” Proceedings of the IEEE, vol. 86, no. 11, pp. 2278–2324, 1998. OpenAlex ↗ · Scholar ↗
- J. Lin, J. Tang, H. Tang, S. Yang, X. Dang, C. Gan, and S. Han, “Awq: Activation-aware weight quantization for llm compression and acceleration,” 2023. OpenAlex ↗ · Scholar ↗
- J. McCalpin, “Stream: Sustainable memory bandwidth in high performance computers,” http://www. cs. virginia. edu/stream/, 2006. OpenAlex ↗ · Scholar ↗
- S. A. McKee, “Reflections on the memory wall,” in Proceedings of the 1st Conference on Computing Frontiers, ser. CF '04. 1em plus 0.5em minus 0.4em New York, NY, USA: Association for Computing Machinery, 2004, p. 162. OpenAlex ↗ · Scholar ↗
- P. Micikevicius, S. Narang, J. Alben, G. Diamos, E. Elsen, D. Garcia, B. Ginsburg, M. Houston, O. Kuchaiev, G. Venkatesh, and H. Wu, “Mixed precision training,” in International Conference on Learning Representations, 2018. OpenAlex ↗ · Scholar ↗
- P. Micikevicius, D. Stosic, N. Burgess, M. Cornea, P. Dubey, R. Grisenthwaite, S. Ha, A. Heinecke, P. Judd, J. Kamalu et al., “Fp8 formats for deep learning,” arXiv preprint arXiv:2209.05433, 2022. our card
- G. Moore, “No exponential is forever: but "forever" can be delayed! [semiconductor industry],” in 2003 IEEE International Solid-State Circuits Conference, 2003. Digest of Technical Papers. ISSCC., 2003, pp. 20–23 vol.1. OpenAlex ↗ · Scholar ↗
- M. Naumov, D. Mudigere, H.-J. M. Shi, J. Huang, N. Sundaraman, J. Park, X. Wang, U. Gupta, C.-J. Wu, A. G. Azzolini et al., “Deep learning recommendation model for personalization and recommendation systems,” arXiv preprint arXiv:1906.00091, 2019. OpenAlex ↗ · Scholar ↗
- J. Ousterhout, “Why aren't operating systems getting faster as fast as hardware?” in USENIX Summer Conference, 1990, 1990. OpenAlex ↗ · Scholar ↗
- D. Patterson, T. Anderson, N. Cardwell, R. Fromm, K. Keeton, C. Kozyrakis, R. Thomas, and K. Yelick, “A case for intelligent ram,” IEEE micro, vol. 17, no. 2, pp. 34–44, 1997. OpenAlex ↗ · Scholar ↗
- D. A. Patterson, “Latency lags bandwith,” Communications of the ACM, vol. 47, no. 10, pp. 71–75, 2004. OpenAlex ↗ · Scholar ↗
- A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever, “Language models are unsupervised multitask learners,” OpenAI blog, vol. 1, no. 8, p. 9, 2019. OpenAlex ↗ · Scholar ↗
- S. Rajbhandari, J. Rasley, O. Ruwase, and Y. He, “Zero: Memory optimizations toward training trillion parameter models,” in SC20: International Conference for High Performance Computing, Networking, Storage and Analysis. 1em plus 0.5em minus 0.4em IEEE, 2020, pp. 1–16. OpenAlex ↗ · Scholar ↗
- T. Schick and H. Schütze, “It's not just size that matters: Small language models are also few-shot learners,” arXiv preprint arXiv:2009.07118, 2020. our card
- D. Sites, “It’s the memory, stupid!” Microprocessor Report, pp. 18–24, 1996. OpenAlex ↗ · Scholar ↗
- H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale et al., “Llama 2: Open foundation and fine-tuned chat models,” arXiv preprint arXiv:2307.09288, 2023. our card
- A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, “Attention is all you need,” in Advances in neural information processing systems, 2017, pp. 5998–6008. our card
- J. Wei, Y. Tay, R. Bommasani, C. Raffel, B. Zoph, S. Borgeaud, D. Yogatama, M. Bosma, D. Zhou, D. Metzler et al., “Emergent abilities of large language models,” arXiv preprint arXiv:2206.07682, 2022. our card
- M. V. Wilkes, “The memory wall and the cmos end-point,” ACM SIGARCH Computer Architecture News, vol. 23, no. 4, pp. 4–6, 1995. OpenAlex ↗ · Scholar ↗
- S. Williams, A. Waterman, and D. Patterson, “Roofline: an insightful visual performance model for multicore architectures,” Communications of the ACM, vol. 52, no. 4, pp. 65–76, 2009. our card
- W. A. Wulf and S. A. McKee, “Hitting the memory wall: Implications of the obvious,” ACM SIGARCH computer architecture news, vol. 23, no. 1, pp. 20–24, 1995. OpenAlex ↗ · Scholar ↗
- Z. Yao, A. Gholami, S. Shen, M. Mustafa, K. Keutzer, and M. Mahoney, “Adahessian: An adaptive second order optimizer for machine learning,” in proceedings of the AAAI conference on artificial intelligence, vol. 35, no. 12, 2021, pp. 10 665–10 673. OpenAlex ↗ · Scholar ↗
- Z. Yao, R. Yazdani Aminabadi, M. Zhang, X. Wu, C. Li, and Y. He, “Zeroquant: Efficient and affordable post-training quantization for large-scale transformers,” in Advances in Neural Information Processing Systems, S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, Eds., vol. 35. 1em plus 0.5em minus 0.4em Curran Associates, Inc., 2022, pp. 27 168–27 183. our card