BPOI Banner
This New Technique Slashes AI Energy Use by 95% This New Technique Slashes AI Energy Use by 95%

This New Technique Slashes AI Energy Use by 95%

A new technique could put AI models on a strict energy diet, potentially cutting power consumption by up to 95% without compromising quality.

Researchers at BitEnergy AI, Inc. have developed Linear-Complexity Multiplication (L-Mul), a method that replaces energy-intensive floating-point multiplications with simpler integer additions in AI computations.

For those unfamiliar with the term, floating-point is a mathematical shorthand that allows computers to handle very large and very small numbers efficiently by adjusting the placement of the decimal point. You can think of it like scientific notation, in binary. They are essential for many calculations in AI models, but they require a lot of energy and computing power. The bigger the number, the better the model is—and the more computing power it requires. Fp32 is generally a full precision model, with developers reducing precision to fp16, fp8, and even fp4, so their models can run on local hardware.

Image: Wikipedia

AI’s voracious appetite for electricity has become a growing concern. ChatGPT alone gobbles up 564 MWh dailyenough to power 18,000 American homes. The overall AI industry is expected to consume 85-134 TWh annually by 2027, roughly the same as Bitcoin mining operations, according to estimations shared by the Cambridge Centre for Alternative Finance.

L-Mul tackles the AI energy problem head-on by reimagining how AI models handle calculations. Instead of complex floating-point multiplications, L-Mul approximates these operations using integer additions. So, for example, instead of multiplying 123.45 by 67.89, L-Mul breaks it down into smaller, easier steps using addition. This makes the calculations faster and uses less energy, while still maintaining accuracy.

The results seem promising. “Applying the L-Mul operation in tensor processing hardware can potentially reduce 95% energy cost by element wise floating point tensor multiplications and 80% energy cost of dot products,” the researchers claim. Without getting overly complicated, what that means is simply this: If a model used this technique, it would require 95% less energy to think, and 80% less energy to come up with new ideas, according to this research.

The algorithm’s impact extends beyond energy savings. L-Mul outperforms current 8-bit standards in some cases, achieving higher precision while using significantly less bit-level computation. Tests across natural language processing, vision tasks, and symbolic reasoning showed an average performance drop of just 0.07%a negligible tradeoff for the potential energy savings.

Transformer-based models, the backbone of large language models like GPT, could benefit greatly from L-Mul. The algorithm seamlessly integrates into the attention mechanism, a computationally intensive part of these models. Tests on popular models such as Llama, Mistral, and Gemma even revealed some accuracy gain on certain vision tasks.

Image: Bitenergy.ai via ArXiv

At an operational level, L-Mul’s advantages become even clearer. The research shows that multiplying two float8 numbers (the way AI models would operate today) requires 325 operations, while L-Mul uses only 157—less than half. “To summarize the error and complexity analysis, L-Mul is both more efficient and more accurate than fp8 multiplication,” the study concludes.

But nothing is perfect and this technique has a major achilles heel: It requires a special type of hardware, so the current hardware isn’t optimized to take full advantage of it.

Plans for specialized hardware that natively supports L-Mul calculations may be already in motion. “To unlock the full potential of our proposed method, we will implement the L-Mul and L-Matmul kernel algorithms on hardware level and develop programming APIs for high-level model design,” the researchers say. This could potentially lead to a new generation of AI models that are fast, accurate, and super cheap—making energy-efficient AI a real possibility.

Generally Intelligent Newsletter

A weekly AI journey narrated by Gen, a generative AI model.

Source link

Jose Antonio Lanz

https://decrypt.co/285154/new-technique-slashes-ai-energy

2024-10-08 18:56:57

bitcoin
Bitcoin (BTC) $ 97,340.08 0.20%
ethereum
Ethereum (ETH) $ 3,381.10 0.88%
tether
Tether (USDT) $ 0.999064 0.09%
xrp
XRP (XRP) $ 2.24 0.18%
bnb
BNB (BNB) $ 664.69 0.90%
solana
Solana (SOL) $ 185.49 3.35%
dogecoin
Dogecoin (DOGE) $ 0.325439 3.19%
usd-coin
USDC (USDC) $ 0.999344 0.16%
staked-ether
Lido Staked Ether (STETH) $ 3,374.45 0.80%
cardano
Cardano (ADA) $ 0.912925 2.67%
tron
TRON (TRX) $ 0.245483 0.40%
avalanche-2
Avalanche (AVAX) $ 38.33 0.03%
chainlink
Chainlink (LINK) $ 22.68 0.35%
wrapped-steth
Wrapped stETH (WSTETH) $ 4,011.95 0.60%
sui
Sui (SUI) $ 4.62 3.60%
the-open-network
Toncoin (TON) $ 5.32 1.19%
shiba-inu
Shiba Inu (SHIB) $ 0.000022 4.27%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 97,175.04 0.02%
stellar
Stellar (XLM) $ 0.360612 0.51%
polkadot
Polkadot (DOT) $ 7.08 1.30%
hyperliquid
Hyperliquid (HYPE) $ 31.94 1.66%
hedera-hashgraph
Hedera (HBAR) $ 0.255294 4.17%
weth
WETH (WETH) $ 3,384.44 0.76%
bitcoin-cash
Bitcoin Cash (BCH) $ 455.66 3.43%
leo-token
LEO Token (LEO) $ 9.28 0.30%
uniswap
Uniswap (UNI) $ 13.41 6.22%
litecoin
Litecoin (LTC) $ 100.53 2.91%
pepe
Pepe (PEPE) $ 0.000018 6.98%
wrapped-eeth
Wrapped eETH (WEETH) $ 3,567.27 0.22%
near
NEAR Protocol (NEAR) $ 5.11 1.10%
ethena-usde
Ethena USDe (USDE) $ 0.99905 0.01%
bitget-token
Bitget Token (BGB) $ 4.22 0.21%
aptos
Aptos (APT) $ 9.78 8.65%
usds
USDS (USDS) $ 0.99913 0.19%
internet-computer
Internet Computer (ICP) $ 10.35 2.35%
aave
Aave (AAVE) $ 306.59 1.16%
crypto-com-chain
Cronos (CRO) $ 0.161126 1.30%
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.479521 0.91%
mantle
Mantle (MNT) $ 1.19 1.52%
ethereum-classic
Ethereum Classic (ETC) $ 26.35 1.04%
render-token
Render (RENDER) $ 7.26 1.68%
vechain
VeChain (VET) $ 0.046188 0.55%
mantra-dao
MANTRA (OM) $ 3.75 1.16%
monero
Monero (XMR) $ 191.89 1.05%
whitebit
WhiteBIT Coin (WBT) $ 24.41 0.87%
bittensor
Bittensor (TAO) $ 465.03 0.66%
dai
Dai (DAI) $ 0.999802 0.26%
fetch-ai
Artificial Superintelligence Alliance (FET) $ 1.28 1.60%
arbitrum
Arbitrum (ARB) $ 0.759562 1.32%
ethena
Ethena (ENA) $ 1.07 4.49%