Skip to main content
QUICK REVIEW

[Paper Review] TranSC: Hardware-Aware Design of Transcendental Functions Using Stochastic Logic

Mehran Shoushtari Moghadam, Sercan Aygün|arXiv (Cornell University)|Jan 12, 2026
Error Correcting Code TechniquesComputer Science0 citations
TL;DR

TranSC uses stochastic computing with Van der Corput low-discrepancy sequences to implement transcendental functions in hardware, achieving high accuracy with reduced area, power, and energy.

ABSTRACT

The hardware-friendly implementation of transcendental functions remains a longstanding challenge in design automation. These functions, which cannot be expressed as finite combinations of algebraic operations, pose significant complexity in digital circuit design. This study introduces a novel approach, TranSC, that utilizes stochastic computing (SC) for lightweight yet accurate implementation of transcendental functions. Building on established SC techniques, our method explores alternative random sources-specifically, quasi-random Van der Corput low-discrepancy (LD) sequences-instead of conventional pseudo-randomness. This shift enhances both the accuracy and efficiency of SC-based computations. We validate our approach through extensive experiments on various function types, including trigonometric, hyperbolic, and activation functions. The proposed design approach significantly reduces MSE by up to 98% compared to the state-of-the-art solutions while reducing hardware area, power consumption, and energy usage by 33%, 72%, and 64%, respectively.

Motivation & Objective

  • Motivate hardware-efficient evaluation of transcendental functions (e.g., trig, exp, log, activation) for real-time, energy-constrained systems.
  • Propose a stochastic computing framework (TranSC) that leverages quasi-random bit-streams to improve accuracy and reduce hardware resources.
  • Explore the impact of random-number sources on accuracy and area, emphasizing low-discrepancy sequences over conventional pseudo-random sources.
  • Demonstrate applications in image geometry transformation and robotic positioning to validate practical benefits of TranSC.

Proposed method

  • Operate stochastic computing with a bit-stream generator (BSG), computation logic block (CLB), and output decoder.
  • Replace conventional RNGs in the BSG with lightweight Van der Corput (VDC) quasi-random sequence generators.
  • Use VDC-2^n based sequences to generate multiple independent bit-streams with minimal hardware.
  • Implement transcendental functions via truncated Maclaurin (Horner’s rule) expansions (e.g., sin, cos, exp, log, tanh, etc.).
  • Analyze cross-correlation (SCC) between input bit-streams to control CLB behavior and accuracy.
Figure 1: A general SC system architecture with BSG, CLB, and output decoder that converts the output bit-stream to standard radix representation.
Figure 1: A general SC system architecture with BSG, CLB, and output decoder that converts the output bit-stream to standard radix representation.

Experimental results

Research questions

  • RQ1How can quasi-random BSGs (specifically VDC-based) improve accuracy and hardware efficiency of SC-based transcendental function implementations compared to traditional pseudo-random sources?
  • RQ2What is the impact of input bit-stream correlation on the accuracy of SC-based transcendental computations, and how can TranSC manage this via BSG design?
  • RQ3What are the hardware-area, power, and energy benefits of TranSC across a suite of transcendental functions under realistic bit-stream lengths?
  • RQ4Can TranSC enable practical applications in image processing and robotics with comparable accuracy to conventional approaches while reducing resource usage?

Key findings

  • TranSC reduces MSE by up to 98% compared to state-of-the-art solutions for certain functions and configurations.
  • Hardware area, power consumption, and energy usage are reduced by 33%, 72%, and 64%, respectively, in TranSC designs.
  • Use of VDC-based LD sequences enables lightweight yet accurate BSGs and supports multiple independent streams from a single counter.
  • TranSC demonstrates accurate implementations for a range of functions including sin, cos, tan, tanh, arctan, sigmoid, Sinc, e^-x, and ln(1+x) under truncated Maclaurin/Horner expansions.
  • The framework highlights the importance of BSG choice (LD sequences) over CLB-only optimizations in SC for transcendental functions.
Figure 2: Bit-stream generation using RNG and comparator (a) Shared RNG for correlated bit-streams. (b) Independent RNGs for uncorrelated bit-streams.
Figure 2: Bit-stream generation using RNG and comparator (a) Shared RNG for correlated bit-streams. (b) Independent RNGs for uncorrelated bit-streams.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.