PyTorchKR Papers

업데이트된 논문

총 37편
태그·기간 등 상세 필터

카테고리 탐색

arXiv:2611.32288v2cs.AR

Trading BRAM for LUTs: Hybrid Bit-Level Weight Storage for FPGA-Based Spiking Neural Networks

Spiking Neural Networks (SNNs) offer an attractive paradigm for energy-efficient AI inference, while their deployment on reconfigurable hardware enables application-specific acceleration without sacrificing model reprogrammability. However, realizing this potential on FPGAs is often severely constrained by the immense on-chip memory needed to store synaptic weights. Existing compression techniques reduce this storage requirement at the cost of weight precision or accuracy. This work presents a hybrid bit-level weight-storage scheme that trades BRAM capacity for FPGA logic resources while preserving the original weights unmodified. Selected weight bits are implemented using Look-Up Tables (LUTs), while the remaining bits are stored in BRAM and jointly reconstructed during inference. We integrate this approach into a spatial dataflow SNN architecture and introduce a practical bit-mapping heuristic that efficiently partitions weight bits between BRAM and LUT-based logic without modifying the weights. Experimental evaluation demonstrates more than 26% reduction in BRAM utilization with a modest increase in LUT and register usage, resulting in significant overall power savings.

arXiv:2607.14747v2cs.AR

웨어러블 기기를 위한 에너지 효율·저전력 부정맥 탐지

Toward Energy-Efficient and Low-Power Arrhythmia Detection for Wearable Devices

Cardiovascular diseases are the leading cause of death worldwide, and conditions such as arrhythmia often require long-term monitoring for effective detection and diagnosis. However, current wearable monitoring devices are bulky, uncomfortable, and typically rely on clinicians to manually evaluate electrocardiograms (ECGs). While Deep Learning (DL) algorithms have shown superior performance in arrhythmia detection and classification, their computational complexity coupled with high power consumption limit deployment in wearable devices. To address this challenge, this paper investigates the use of approximation techniques to reduce the power and energy consumption of DL architectures while maintaining acceptable classification performance. Specifically, techniques such as data precision reduction and approximate multiplication are investigated in a state-of-the-art DL model and its corresponding hardware architecture. The model is trained and validated using the MIT-BIH Arrhythmia Database, and hardware implementations employing various approximate multipliers are synthesized and evaluated. Compared with the state-of-the-art 8.75 {\mu}W (and 2.08 {\mu}J) reference architecture, our proposed architecture consumes 3.07 {\mu}W (and 2.17 {\mu}J) at 12 kHz, showing 64.9% reduction in power consumption while providing an acceptable output quality, i.e., 93.7% classification accuracy and 92.1% sensitivity. At 100 MHz, our proposed architecture consumes 9.45 mW (and 0.8 {\mu}J), showing 61.5% reduction in energy consumption as compared to the state-of-the-art architecture. These results demonstrate that our proposed approximations significantly extend wearable device battery life while preserving the required arrhythmia classification performance.

arXiv:2603.18066v3cs.NE

Predictive Coding Implemented as a Hardware Substrate Computes Gradients faster than Backpropagation

Backpropagation has enabled modern deep learning but is difficult to realize as an online, fully distributed hardware system due to global error propagation, separate phases, and centralized memory. Predictive coding is an alternative learning algorithm with similar dynamics to backpropagation that arises from local prediction error dynamics. This paper shows that predictive coding can be instantiated as a discrete time digital hardware substrate, with local memory and computation, no instruction set architecture, and one physical core for each predictive-coding neuron. Each core stores its own activity and weights, communicates with the cores that it's connected to, and performs local gradient updates. By updating neuron cores concurrently, the architecture computes a network update in O(J+K) clock cycles. For dense layers of width n, this is O(n) cycles per update, compared with O(n^2) connection operations processed serially. This result is retained with scaling to larger predictive coding networks, demonstrating a decisive theoretical advantage for predictive coding instantiated in hardware.

arXiv:2611.28778v2cs.AR

Learning in the Passive Space: End-to-End Muti-Order Port-Hamiltonian Macromodeling

Compact, passive state-space macromodels of interconnects and power-delivery networks are essential for stable transient signal- and power-integrity simulations. However, conventional flows require costly per-layout full-wave electromagnetic (EM) simulations, while both traditional fitting and prior learning surrogates rely on post-hoc fitting or passivity perturbation that degrades accuracy without guaranteeing convergence. In this work, we propose an end-to-end macromodeling framework that learns directly in the passive space, mapping physical layout graphs to multi-order port-Hamiltonian (pH) macromodels. Specifically, our network encodes each layout graph into unconstrained matrix blocks and assembles them via a complete, prefix-nested pH parameterization that guarantees continuous-frequency passivity and stability by construction, yielding valid $k$-state macromodels via direct state slicing in one forward pass. To train all orders without reference realizations, we supervise the network directly on S-parameters through a progressive order-growth curriculum. Evaluated on 27k unseen test structures from a 270k-structure advanced-packaging dataset, our framework reduces mean S-parameter error by $42\%$ on average (up to $65\%$) over established macromodeling tools fitted to ground-truth EM responses, achieves zero passivity violations across $459{,}000$ exported models, and accelerates macromodel generation by $11{,}000$--$39{,}000\times$ ($36$--$85$~ms per layout).

arXiv:2611.24637v3cs.AR

Hypnos: 엣지에서의 확장 가능한 지속학습을 위한 이중 단계 종단간 플랫폼

Hypnos: A Dual-Phase End-to-End Platform for Scalable Continual Learning at the Edge

지속학습(CL)은 파국적 망각을 완화함으로써 신경망이 비정상 데이터 스트림에 적응하게 하며, 견고하고 프라이버시를 보호하며 적응 가능한 엣지 장치로 가는 길을 제시한다. 그러나 CL을 실제 엣지 장치에 이식하는 일은 두 가지 이유로 여전히 어렵다. (i) 센서 데이터가 한 번에 하나의 샘플씩 도착하고 장치가 즉석에서 적응해야 하는 온라인 동작, (ii) 전통적인 오차 역전파 학습을 엄두도 못 내게 하는 엣지 장치의 낮은 자원 규모이다. 전자는 최소한의 자원으로 빠르게 적응하고 후자는 장기적 통합을 수행하는 뇌의 각성 및 수면 주기에서 영감을 받아, 우리는 엣지에서의 효율적 CL을 위한 오픈소스 이중 단계 플랫폼 Hypnos를 소개한다. 각성 단계(예: 일상 동작)에서 Hypnos는 효율적인 추론을 목표로 하고 경량의 그래디언트 없는 프로토타입 업데이트를 지원하는 RISC-V 마이크로컨트롤러 유닛(MCU)을 갖춘 저자원 시스템온칩에 의존한다. 수면 단계(예: 야간 충전)에서는 벽면 콘센트 전력과 더 큰 메모리 예산을 사용할 수 있으므로, 스마트 충전기가 통합을 위해 리허설 기반 그래디언트 업데이트를 수행한다. ZCU104 필드 프로그래머블 게이트 어레이(FPGA)에 배치하고 28-nm 공정으로 합성한 Hypnos를 CORe50 NICv2-391 프로토콜에서 벤치마크하였다. 이는 엣지 CL 시스템에서 78.6%-81.6%라는 새로운 최고 정확도를 달성하며, 활성화 정밀도에 따라 샘플당 온디바이스 지연 시간은 7.79초-10.54초이고, 양자화된 잠재 리플레이에 비해 더 높은 정확도와 비슷한 지연 시간에서 학습 스텝은 $3.8\times$ 적고 학습 연산량은 $22\times$ 적다.

arXiv:2611.18895v2cs.AR

Lasso: Intel QAT 온칩 압축을 활용한 지속 가능한 AI 생성 미디어 탐지를 향하여

Lasso: Towards Sustainable AI-Generated Media Detection with Intel QAT On-Chip Compression

Synthetic text, images, and video are rising. Software-only detectors are power-hungry, too slow, and costly, and do not scale with demand. When software cannot scale, historically hardware often comes to the rescue. We perform the first reverse engineering of a compression accelerator, the Intel QuickAssist Technology (QAT), and find that its latency depends on how its input repeats, not on what the bytes are, a property we call repetition-structure dependence. Using this information, we then build Lasso, a low-cost, high-performance detector for AI-generated content that turns the accelerator into a measuring instrument. For text detection, Lasso achieves 100% accuracy on original DetectRL text and retains 92% average accuracy after paraphrasing, compared with 78% for Binoculars and 55% for DetectGPT. Across original, paraphrased, and lightly perturbed text, where perturbation inserts typos and substitutes words, it achieves 82% average accuracy, outperforming all five baselines. With topic, length, and formatting matched, accuracy reaches 95% for instruction-tuned generators, including when the tested generator is unseen. On the RAID benchmark of 11 text generators and eight writing domains, accuracy averages 82% when trained on one generator and tested on another, and 74% across eight held-out domains. Detection takes 197 $\mu$s, at least 356$\times$ faster than each of the five baselines. At the same time, Lasso consumes over 99% less energy per check than both Binoculars and DetectGPT. Beyond text, Lasso detects AI-generated videos, software code, and images with 78%, 70% and 98% accuracy, respectively, with low latency and power opening avenues for practical real time and edge device detection of multimodality AI artifacts for the first time. No other compared technique supports detection across all four modalities: text, video, images, and code.

arXiv:2611.10798v2cs.AR

RTLREX: 정확한 고수준 RTL 복원을 위한 LLM 기반 프레임워크

RTLREX: LLM-Guided Framework for Exact High-Level RTL Recovery

Hardware designs may be available only as gate-level netlists or input-output descriptions when the original register-transfer-level (RTL) design and documentation are not accessible. Low-level representations obscure word-level computation and its finite-width behavior. Recovering high-level RTL from such representations therefore helps engineers understand a circuit's functionality and enables RTL rewriting and resynthesis. A plausible function candidate is also insufficient unless the generated RTL is equivalent to the original circuit for all input combinations. In this paper, we present RTLREX, a large language model (LLM)-guided framework that coordinates domain-specific tools for function recovery, RTL generation, independent verification, and cost-guided rewriting. Independent verification establishes equivalence between the recovered RTL and the original circuit. The LLM uses tool feedback to select further analyses, revise RTL candidates, and propose syntax-cost reductions. Experiments on 30 benchmarks from Problem A of the ICCAD 2022 CAD Contest show that RTLREX recovers equivalent high-level RTL for all benchmarks, surpassing the state-of-the-art method WolFEx in recovery coverage. On benchmarks recovered by both methods, RTLREX reduces mean syntax cost by 20.5% relative to WolFEx. On complete truth-table benchmarks from the IWLS 2026 Contest, our framework reduces mean syntax cost by 95.7% relative to an LLM agent baseline on the benchmarks validated by both methods.

arXiv:2606.13706v2cs.AR

HierSVA: A Data Synthesis Pipeline, Dataset, and Benchmark for LLM-Driven Hierarchical Hardware Formal Verification

We present HierSVA, an integrated suite that combines a pipeline, dataset, and benchmark for LLM-driven hierarchical hardware formal verification. HierSVA-SP pairs an RTL preprocessing toolchain with an LLM-in-the-loop formal verification flow to produce reference SystemVerilog Assertions (SVA) on hierarchical RTL. Applying it to BaseJump STL yields HierSVA-DS, a dataset of 342 modules, with hierarchy metadata and depths 0--9, accompanied by a deep subset of 28 module-bug pairs with natural-language specifications and bug variants. HierSVA-B decomposes assertion quality into six metric axes: syntax correctness, assertion proof success rate, vacuity, specification faithfulness, mutation coverage, and formal core coverage. Applying HierSVA-B to twelve recent LLMs reveals three findings. First, the module-level compile rate is 67.1\%; among generated assertions in evaluable runs, 82.1\% prove non-vacuously, but the corresponding assertion sets detect only 70.2\% of eligible injected faults and cover 36.2\% of the formal core. Second, on 211 evaluable model--module entries in the deep subset, assertion sets flag buggy RTL with 0.87 recall, but 40\% of predicted-buggy outcomes are false positives on correct RTL, limiting precision to 0.60. Third, agentic mode improves S1-style provability and strength metrics, but gains plateau and oscillate. Codes and artifacts are available at \href{https://github.com/HierSVAAnon/HierSVACodeAndArtifacts}{https://github.com/HierSVAAnon/HierSVACodeAndArtifacts}. Dataset is available at \href{https://huggingface.co/datasets/AnonymousHierSVA/HierSVA}{https://huggingface.co/datasets/AnonymousHierSVA/HierSVA}.

arXiv:2509.12458v4cs.RO

Neural 3D Object Reconstruction with Small-Scale Unmanned Aerial Vehicles

Miniaturized Uncrewed Aerial Vehicles (UAVs) can access indoor and hard-to-reach spaces, but severe constraints on payload and autonomy have limited their use in demanding tasks such as high-quality 3D reconstruction. We introduce a novel system architecture that enables autonomous, high-fidelity 3D scanning of static objects with sub-100 gram UAVs. Our core innovation lies in a closed-loop active viewpoint selection framework specifically tailored for ultra-constrained micro-platforms, advancing beyond standard static or offline active reconstruction methods. The framework establishes a dual-reconstruction pipeline that creates a real-time (RT) feedback loop between data capture and flight control. A near-RT process uses Structure-from-Motion (SfM) to generate an instantaneous point-cloud of the object. A systematic trajectory adaptation algorithm analyzes the model quality on the fly and dynamically adapts the UAV's trajectory based on parameterized spatial partitioning to intelligently capture new images of poorly covered areas, ensuring comprehensive acquisition. For the final, high-fidelity output, a non-RT pipeline employs a Neural Radiance Fields (NeRF)-based Neural 3D Reconstruction (N3DR) approach, fusing SfM-derived camera poses with precise external location data, evaluated across both radio-based Ultra Wideband (UWB) and visual motion-capture setups, to correct sensor noise and achieve superior accuracy. We implemented and validated this architecture using Crazyflie 2.1 UAVs. Our experiments, conducted in both single- and multi-UAV configurations show that algorithmic dynamic trajectory adaptation consistently improves reconstruction quality over static flight paths. This work demonstrates a scalable and autonomous solution that unlocks the potential of miniaturized UAVs for fine-grained 3D reconstruction, a capability previously reserved for much larger platforms.

arXiv:2611.17108v3cs.LG

LazyWeights: 요청 시 디코딩 방식의 엣지 LLM

LazyWeights: Decode-on-Demand Edge LLMs

Memory determines which large language models (LLMs) an edge device can run and how fast it runs them: capacity limits a 4 GB Jetson Nano, and bandwidth limits an 8 GB Jetson Orin Nano Super. Deployed weight formats (GPTQ, AWQ, and the GGUF K- and I-quants) spend the same number of bits on every integer code of a matrix, although the codes are far from uniform. We present LazyWeights, which keeps these formats, tunes GPTQ so the codes compress, Huffman-codes them losslessly in interleaved lanes, and decodes them on demand in a small unit between DRAM and L2, so GPU kernels run unchanged and DRAM moves only coded bytes. At 1% and 3.5% perplexity budgets, coded Phi-3-mini, Mistral-7B and SmolLM-1.7B are 5.7-31.4% smaller than the best GGUF format. A bit-exact 0.21 mm^2 ASIC decoder unit (1 GHz, 7 nm) cuts Orin latency and energy per token by up to 36% and 38% (54% and 44% with prompt-lookup speculation). On the Nano, LazyWeights needs 58-64% less time and 53-57% less energy per token than the GGUF runtime on the CPU, and runs a streamed Mistral-7B 6.6x faster at 3.89 bits per weight. A Huffman decoder beats an rANS decoder in rate and area at equal throughput, and the unit runs bit-exact on a Zynq UltraScale+ FPGA (AMD ZCU102).

arXiv:2609.39131v3cs.LG

Characterizing High Bandwidth Flash for LLM Serving

Large language model (LLM) serving requires substantial memory to store model weights and KV caches. Agentic workloads compound this pressure through repeated interactions over growing contexts, making it important to retain KV cache for reuse. High-bandwidth flash (HBF) offers a way to expand accelerator memory capacity for LLM serving, but its access costs and limited write endurance complicate its use. We evaluate HBF for high-throughput agentic serving across system design and scheduling choices to understand when additional capacity improves serving performance and energy efficiency. We introduce an HBM-HBF-host hierarchical storage system and buffered cache-aware scheduling, and use trace-driven simulations to analyze their effects on performance, energy consumption, and HBF write lifetime. Across the evaluated workloads, the fastest HBF-augmented systems reduce completion time by 21.1-86.9% relative to HBM-only systems. Modeled energy savings reach 62.4%, with benefits depending on the workload and weight placement. Buffered cache-aware scheduling extends estimated HBF write lifetime from 0.99 to 13.63 years in the evaluated configuration. These results demonstrate the importance of coordinating data placement and scheduling in serving LLM with HBF, positioning HBF as an actively utilized lower-level memory tier rather than passive storage.

arXiv:2602.18140v3cs.AR

Flex-Plorer: A Precision-Aware Hardware-Software Co-Design Framework for an Edge SNN Accelerator

Neuromorphic accelerators promise high energy efficiency and computational density for spiking neural networks (SNNs), especially in wearable devices and neural prosthetics where power constraints are stringent. However, most existing platforms exhibit rigid architectures with limited configurability, which restricts their adaptability to heterogeneous signals and diverse design objectives. To address this gap, we present Flex-Plorer, a precision-aware hardware-software co-design framework using heuristic search over weight and decay precisions for a fixed architecture. It couples hardware-aware fixed-point simulation with synthesis-trained LUT/FF estimators and analytical BRAM estimation to guide user-defined accuracy-resource trade-offs without per-candidate synthesis. The best-found configuration generates specialized RTL, drivers, and deployment data. Its substrate, Flexi-NeurA, supports multiple neuron models and topologies through event-driven, time-multiplexed cores with shared neuron datapaths and address-event communication. Design-time component selection and automatic memory sizing specialize the implementation without manual RTL modification. Comprehensive evaluations demonstrate the versatility of the proposed flow across three application domains: (i) auditory processing, achieving 75% accuracy with an energy consumption of 1.48mJ per inference; (ii) dynamic vision sensor gesture recognition, achieving 93% accuracy at 0.55mJ; and (iii) standard vision classification, achieving 97% accuracy at 0.12mJ. Together, Flex-Plorer and Flexi-NeurA form an application-adaptive, energy-efficient co-design flow for deploying SNNs across heterogeneous edge-AI workloads.

arXiv:2611.18527v2cs.AR

WaferTetris: 웨이퍼 스케일 가속기에서의 효율적인 자유형 매핑

WaferTetris: Efficient Freeform Mapping on Wafer-Scale Accelerators

웨이퍼 스케일 가속기는 단일 웨이퍼 전체에 걸쳐 상호 연결된 수십만 개의 처리 요소(PE)를 통해 방대한 연산 능력을 제공하지만, 이러한 잠재력을 실현하려면 효율적인 애플리케이션 매핑이 필요하다. 이러한 시스템의 규모 때문에 프로그래밍과 애플리케이션 매핑은 어려운 과제이다. 기존 접근법은 생산성을 유지하기 위해 템플릿 기반 매핑에 의존하지만, 이러한 템플릿은 매핑 설계 공간을 제한한다. 특히 PE 격자에 고정된 기하학적 배치를 강제하여 연산 및 메모리 자원이 충분히 활용되지 못하는 경우가 많다. 본 연구에서는 자유형 매핑을 통해 이러한 기하학적 제약을 제거하는 시스템 WaferTetris를 제시한다. 테트리스와 유사한 전략으로 웨이퍼 전체에 연산을 유연하게 배치하여 PE-작업 코드를 보존하면서 PE 활용률과 사용 가능한 메모리 용량을 향상시킨다. 공간적 병렬성을 안내하기 위해 분기-합류 의존성을 포착하는 재귀 기반 처리량 모델을 개발하고, 기존 FPGA 배치 및 배선 알고리즘이 WSE 라우팅 제약을 적용할 수 있도록 색상별 게이트를 갖춘 아키텍처 모델을 개발한다. WaferTetris는 LLM 디코딩과 과학 스텐실 벤치마크를 사용하여 Cerebras WSE-3에서 평가한다. LLM 디코딩에서 동일한 패브릭 크기의 템플릿 기반 자동 매핑 기준선 대비 최대 $4.42\times$의 시스템 처리량을 달성한다. 수동으로 최적화된 WaferLLM과 비교하면, WaferTetris는 LLaMA3.1-8B에서 $1.8\times$의 컨텍스트 길이(80k 대 44k)를 지원하며, 동일한 컨텍스트 길이에서는 사용자당 처리량이 같거나 최대 $1.10\times$ 더 높다.

arXiv:2610.24234v2cs.AR

누가 계획하고 누가 수정하는가? LLM 기반 아날로그 레이아웃 수리를 위한 검증된 비용 인지 분업

Who Plans, Who Edits? Verified, Cost-Aware Division of Labor for LLM-Driven Analog Layout Repair

언어 모델 에이전트는 사인오프 도구가 모든 수정을 검사할 때 아날로그 레이아웃을 수리할 수 있지만, 어떤 모델이 수리를 계획하고 어떤 모델이 수정을 수행해야 하는지, 그리고 그 비용이 얼마인지는 여전히 열린 문제이다. 본 연구의 도구 기반 수리 에이전트에서 모델은 제한된 레이아웃 연산자만 선택하며, 사인오프 도구는 매 수정 후 각 과제의 계약 검사를 다시 실행하므로 실패한 레이아웃은 결코 수용되지 않는다. 세 가지 설계(상용 고전압 디지털-아날로그 변환기(DAC), 5V 발진기, SKY130 연산 트랜스컨덕턴스 증폭기(OTA))의 레이아웃-대-회로도(LVS), 설계 규칙 검사(DRC), 레이아웃 후 수리에 대해 두 벤더의 등급이 맞춰진 여섯 모델로 수행한 182회의 블라인드 실행은, 저가 모델이 계획을 실행은 하지만 단독으로는 거의 성공하지 못하고(가장 저렴한 모델: 단독 11회 중 1회, 플래그십 플래너 하에서는 17회 중 16회; p < 0.001), 저가 플래너는 더 자주 실패하며, 모든 과제에서 가장 저렴한 고정 할당은 존재하지 않음을 보여 준다. 본 논문은 첫 번째 도구 평가로부터 각 역할의 모델과 에스컬레이션 순서를 선택하고 매 시도 후 베이지안 추정치를 갱신하는 학습 컨트롤러를 제안한다. 규칙과 초기 추정치를 테스트 전에 고정한 상태에서, 이 컨트롤러는 봉인된 네 개의 홀드아웃 과제의 8개 에피소드 중 7개를 수정하여 OpenAI 플래그십 단독과 동일한 결과를 냈으며, 세 과제에서는 수정당 비용이 플래그십의 15-40%였으나 전체로는 8% 더 높았다. 가장 저렴한 중간 등급 모델 단독으로는 8개 중 6개를 수정하여 수정당 전체 비용이 가장 낮았지만 가장 어려운 과제는 해결하지 못했다. 추출된 32개의 DAC 수리는 모두 모든 코드에서 사람이 안내한 LVS 수리의 적분 비선형성(INL)과 0.005 최하위 비트(LSB) 이내로 일치한다.

arXiv:2609.05327v2cs.AI

이진 결정 다이어그램 기반 양자 회로 합성을 위한 대규모 언어 모델(LLM) 기반 알고리즘 설계

LLM-Driven Algorithm Design for Quantum Circuit Synthesis based on Binary Decision Diagrams

양자 회로는 양자 소자에서 양자 알고리즘을 구현하는 데 핵심적이며, 이때 양자 게이트는 가역적이어야 합니다. 많은 양자 알고리즘은 불 함수(Boolean function)에 의존하므로, 이는 양자 회로 내에서 가역적으로 구현되어야 합니다. 가역 회로 합성은 이러한 불 함수를 가역 회로로 변환하는 방법을 제공합니다. 이진 결정 다이어그램(BDD)은 이 작업에 확장 가능한 접근법을 제시하지만, 결과로 생성되는 BDD 및 회로는 변수 순서(variable ordering)에 크게 의존합니다. 기존 순서화 휴리스틱은 일반적으로 BDD 크기가 회로 크기와 밀접하게 연관되어 있기 때문에 BDD 크기를 최소화합니다. 그러나 BDD 크기는 합성된 회로의 양자 비용(QCC)에 대한 불완전한 대리 지표입니다. 본 논문에서는 QCC를 고려하는 BDD 변수 순서화를 위한 휴리스틱 생성기로 LLM을 사용하는 진화 프레임워크인 \texttt{QuantumEvo}를 제안합니다. 순서를 직접 예측하는 대신, \texttt{QuantumEvo}는 여러 휴리스틱 군에서 초기화된 순서화 휴리스틱에 대해 탐색을 수행합니다. 후보 휴리스틱은 표준 BDD 연산을 사용하여 변수 순서를 직접 조작하며, 다운스트림 QCC에 의해 선택됩니다. 발견된 휴리스틱인 HGA-QE는 해당 절차가 QCC와 더 잘 정렬(alignment)되도록 유전 알고리즘 내부의 시프팅(sifting) 단계를 수정합니다. 벤치마크(benchmark) 세트 전반에서 HGA-QE는 함수별 최고 기준선(baseline) 대비 70.9%의 무승부 또는 승리율(tie-or-win rate)을 달성하며, 함수의 13.5%에서 완전히 우수한 성능을 보입니다. 이러한 결과는 전반적으로 경쟁력 있는 QCC 성능을 입증하며, HGA-QE는 휴리스틱 탐색에 사용된 데이터와 다른 출처에서 추출된 두 벤치마크 스위트에서 단독 승리 면에서 더 뚜렷한 상대적 이점을 보입니다.

arXiv:2605.15226v2cs.AR

에이전트 AI는 실제 하드웨어 엔지니어링에 준비되었는가? Phoenix-bench를 통한 심층 분석

Is Agentic AI Ready for Real-World Hardware Engineering? A Deep Dive with Phoenix-bench

본 연구는 소프트웨어 엔지니어링을 위해 구축된 에이전트 AI 시스템이 현실적인 하드웨어 엔지니어링으로 전이되는지를 묻는다. 기존 하드웨어 LLM 벤치마크는 하위 작업을 분리하여 다루지만, 저장소 탐색, 계층 인식 위치 특정, 전자 설계 자동화(EDA) 실행 검증, 유지보수형 패치를 함께 요구하는 것은 없다. 본 연구는 114개의 GitHub 저장소에서 추출한 511개의 검증된 Verilator 인스턴스로 구성된 동기화된 코퍼스 \textbf{Phoenix-bench}를 소개한다. 각 인스턴스에는 개발자 패치, 설계 흐름 레이블, fail-to-pass 및 pass-to-pass 테스트벤치, 그리고 해결률 차이가 툴체인 가용성이 아니라 에이전트의 행동을 반영하도록 Docker로 고정된 EDA 환경이 제공된다. Phoenix-bench를 사용하여 네 가지 LLM 백본에 걸쳐 상용 에이전트 4종과 오픈소스 에이전트 구조 8종을 균일하게 평가하고, 두 가지 진단용 개입(파일 수준 오라클 위치 특정과 테스트벤치 로그 피드백 1회)도 수행한다. 세 가지 결과가 도출된다. (i) 소프트웨어와 하드웨어는 근본적으로 다른 엔지니어링 작업이다. 동일한 에이전트가 SWE-bench Verified에서 Phoenix-bench로 넘어갈 때 37%에서 58%의 성능을 잃는데, 이는 하드웨어 버그가 소프트웨어식 호출 그래프가 아니라 신호 흐름을 통해 병렬로 인스턴스화된 모듈들에 전파되며, 소프트웨어에 맞게 조정된 에이전트는 인스턴스화 연쇄를 거슬러 추적하지 않고 증상이 나타난 파일에서 멈추기 때문이다. (ii) 실패는 설계 제어 흐름/유한 상태 기계(FSM) 버그, 검증 테스트벤치 버그, 그리고 계층 간 신호 흐름 추적과 여러 파일의 조율된 수정을 요구하는 어려운 사례에 집중된다. (iii) 위치 특정 자체보다 위치 특정의 세분성이 훨씬 중요하다. 완벽한 파일 수준 오라클은 에이전트가 수정이 필요 없는 파일을 망가뜨리기 때문에 $+1.4$%의 향상만 가져오는 반면, 테스트 케이스 피드백 한 번은 버그가 \emph{어디에} 있는지와 수정이 \emph{어떤 모습}이어야 하는지를 테스트 케이스가 알려 주기 때문에 해결률을 $42$%에서 $45$%까지 끌어올린다.

arXiv:2605.13501v2cs.AR

NL-to-SVA 생성을 위한 개방형 속성 동치 검증기를 활용한 보상 가중 온폴리시 증류

Reward-Weighted On-Policy Distillation with an Open Property-Equivalence Verifier for NL-to-SVA Generation

자연어(NL)를 SystemVerilog 어서션(SVA)으로 변환하는 특화 언어 모델은 NL2SVA-Human에서 약 76%의 정확도에 도달하지만, 종합 점수는 제한된 지연 및 라이브니스 명세에서의 오류를 가린다. 모델은 서로 다른 시간적 동작이 요구되는 경우에도 소수의 함의 템플릿을 반복해서 사용하는 경우가 많다. 지도 미세 조정은 참조 토큰과의 일치를 보상하는 반면, SVA의 정확성은 속성 동치에 달려 있다. 본 논문은 개방형 SymbiYosys+Z3 속성 동치 검사기를 사용하여 학생 모델의 롤아웃을 선택하고 증류 손실에 가중치를 부여하는 \emph{보상 가중 온폴리시 증류}(RWOPD)를 제안한다. 고정된 14B 교사 모델이 각 응답 토큰에서 순방향 쿨백-라이블러(KL) 지도를 제공하며, 동치인 롤아웃은 일방향 함의인 롤아웃보다 더 큰 가중치를 받는다. 커리큘럼 지도 미세 조정(SFT)에서 출발하여, RWOPD는 CodeV-SVA-14B를 Qwen2.5-Coder-7B-Instruct 학생 모델로 증류한다. 이 학생 모델은 특화 기준 모델과 671B 범용 모델을 포함한 비교 대상 모델 중에서 NL2SVA-Human과 NL2SVA-Machine에서 보고된 가장 높은 pass@1, pass@5, pass@10을 기록한다.

arXiv:2503.08823v3cs.AR

ResBench: 자원 인식을 고려한 LLM 생성 FPGA 설계 벤치마킹

ResBench: Benchmarking LLM-Generated FPGA Designs with Resource Awareness

현장 프로그래머블 게이트 어레이(FPGA)는 현대 하드웨어 설계에 널리 사용되지만, FPGA 구현을 위한 하드웨어 기술 언어(HDL) 코드를 작성하는 일은 여전히 복잡하고 시간이 많이 드는 작업이다. 대규모 언어 모델(LLM)은 HDL 생성을 위한 유망한 도구로 부상했으나, LLM 기반 코드 생성에 대한 기존 벤치마크는 주로 기능적 정확성에 초점을 맞추고 하드웨어 자원 사용량은 간과하고 있다. 더욱이 현재의 벤치마크는 다양성이 제한적이어서 실제 FPGA 응용의 폭넓은 범위를 충분히 대표하지 못한다. 이러한 한계를 해결하기 위해, 본 논문은 자원에 최적화된 LLM 생성 HDL 코드와 비효율적인 코드를 구분하도록 명시적으로 설계된 최초의 자원 중심 벤치마크인 ResBench를 제안한다. ResBench는 유한 상태 기계에서 금융 연산에 이르는 응용을 아우르는 12개 범주의 56개 문제로 구성된다. 오픈소스 평가 프레임워크는 Verilog 코드를 생성하고 정확성을 검증하며 자원 사용량을 측정하여 LLM을 자동으로 시험한다. 주로 룩업 테이블(LUT) 사용량을 분석한 실험에서 LLM 간에 상당한 차이가 드러났으며, 이는 ResBench가 자원에 더 최적화된 FPGA 설계를 생성하는 모델을 식별할 수 있음을 보여준다.

arXiv:2611.00301v2cs.MS

저정밀도 부동소수점의 부상

The Rise of Low Precision Floating Point

부동소수점 연산은 충분히 높은 정밀도와 충분히 넓은 범위로 실수를 근사할 수 있는 다재다능한 능력 덕분에 1950년대부터 과학 계산을 지배해 왔다. 1985년 이후 업계 전반에서 두 가지 형식이 표준이 되었는데, 하나는 많은 용도에 충분한 32비트 형식이고, 다른 하나는 더 높은 정밀도와 더 넓은 범위가 필요한 응용을 위해 두 가지 모두를 크게 향상시킨 64비트 형식이다. 그러나 지난 10년 동안 딥러닝이 계산을 주도하게 되면서, 정밀도가 낮고 범위가 좁은 더 작은 부동소수점 형식이 꾸준히 보편화되었다. 본 논문에서는 이러한 현상과 그 발생 이유, 다양한 16비트, 8비트, 심지어 4비트 부동소수점 형식이 개발된 과정, 그리고 이러한 형식을 표준화하려는 노력을 논의한다.

arXiv:2610.07668v2cs.AR

CACHEFORGE: 성능 및 하드웨어 효율성을 위한 대규모 언어 모델(LLM) 유도 엔드투엔드 생성형 캐시 교체 정책

CACHEFORGE: LLM-Guided End-to-End Generative Cache Replacement Policy for Performance and Hardware Efficiency

현대 캐시 교체 설계는 고정된 표현 구조, 수작업 및 휴리스틱 기반 특징(feature) 엔지니어링 예측기, 또는 스스로 새로운 결정 로직을 생성할 수 없는 오프라인 모방 모델 내에서 작동하기 때문에 한계에 부딪히고 있습니다. 동시에, 캐시 교체는 프리페칭(prefetching), 스래싱(thrashing), 공간적 지역성(spatial locality), 접근 유형 동작 간의 인과적 상호작용에 의해 형성되어 수동으로 탐색하기 어려운 방대한 설계 공간을 만들어냅니다. 기존 접근 방식은 일반적으로 새로운 메커니즘을 합성하기보다는 상관관계를 포착하는 휴리스틱, 매개변수(parameter) 튜닝 또는 오프라인 최적 정책의 모방에 의존합니다. 그 결과 성능 향상은 종종 정체되고 동적 워크로드 조건에서 과적합이 발생합니다. CACHEFORGE는 제어된 하드웨어 인식 루프 내에 대규모 언어 모델(LLM)을 임베딩(embedding)하여 캐시 교체 정책을 엔드투엔드로 진화시키는 최초의 프레임워크입니다. 각 반복(iteration)에서 LLM은 새로운 C++ 교체 로직을 제안하고, 해당 정책은 트레이스 기반 CRC-2 ChampSim 시뮬레이터에서 평가되며, 프레임워크는 보상(reward) 셰이핑, 구조적 검증, 동적 변이, 온도 스케줄링 및 정책 간 교차를 통해 실현 가능성을 강제합니다. 캐시 교체 정책을 위해 특별히 설계된 이 폐루프 생성-진화 루프는 고정된 예측기 구조를 넘어서는 알고리즘적 변환을 탐색하면서 하드웨어 제약 조건을 충족하는 간결한 정책의 발견을 가능하게 합니다. SPEC CPU2006 전반에 걸쳐 CACHEFORGE는 모든 CRC-2 베이스라인을 능가합니다. 전체 적중률(hit rate)은 MPPPB, ReD, Hawk-eye, SHiP++, LIME, LRU 대비 각각 27.36%, 19.69%, 13.72%, 13.15%, 11.83%, 5.73% 향상됩니다. 메모리 집약적 워크로드에서는 LRU, MPPPB, LIME, ReD, SHiP++, Hawkeye 대비 IPC를 각각 10.15%, 7.89%, 6.34%, 3.64%, 3.12%, 2.71% 증가시킵니다.