Akimasa Morihata

Akimasa Morihata

Auto-generated profile, based on publicly available information

Akimasa Morihata

The University of Tokyo

Research Focus & Metrics

Academic Career Length

14Years (2013-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
20 January 2022 in Journal of Functional Programming
Verified
Journal Article
Open access
PDF file
HIHideya Iwasaki
Hideya Iwasaki
KEKento Emoto
Kento Emoto
AMAkimasa Morihata
Akimasa Morihata
KMKiminori Matsuzaki
Kiminori Matsuzaki
ZHZhenjiang Hu
Zhenjiang Hu
The vertex-centric programming model is now widely used for processing large graphs. User-defined vertex programs are executed in parallel over every vertex of a graph, but the imperative and explicit message-passing style of existing systems makes defining a vertex program unintuitive and difficult. This article presents Fregel, a purely functional domain-specific language for processing large graphs and describes its model, design, and implementation. Fregel is a subset of Haskell, so Haskell tools can be used to test and debug Fregel programs. The vertex-centric computation is abstracted using compositional programming that uses second-order functions on graphs provided by Fregel. A Fregel program can be compiled into imperative programs for use in the Giraph and Pregel+ vertex-centric frameworks. Fregel’s functional nature without side effects enables various transformations and optimizations during the compilation process. Thus, the programmer is freed from the burden of program optimization, which is manually done for existing imperative systems. Experimental results for typical examples demonstrated that the compiled code can be executed with reasonable and promising performance.

24 April 2018
Verified
Book Chapter
Closed access
AMAkimasa Morihata
Akimasa Morihata
KEKento Emoto
Kento Emoto
KMKiminori Matsuzaki
Kiminori Matsuzaki
ZHZhenjiang Hu
Zhenjiang Hu
HIHideya Iwasaki
Hideya Iwasaki

17 February 2026
Verified
Conference Paper
Open access
JBJeonghun Baek
Jeonghun Baek
TYTetsuro Yamazaki
Tetsuro Yamazaki
AMAkimasa Morihata
Akimasa Morihata
JMJunichiro Mori
Junichiro Mori
YYYoko Yamakata
Yoko Yamakata
SCShigeru Chiba
Shigeru Chiba

25 September 2013 in ACM SIGPLAN Notices
Verified
Journal Article
Open access
AMAkimasa Morihata
Akimasa Morihata
The third list-homomorphism theorem states that if a function is both foldr and foldl , it has a divide-and-conquer parallel implementation as well. In this paper, we develop a theory for obtaining such parallelization theorems. The key is a new proof of the third list-homomorphism theorem based on shortcut deforestation. The proof implies that there exists a divide-and-conquer parallel program of the form of h ( x ' merge ' y ) = h 1 x odot h 2 y , where h is the subject of parallelization, merge is the operation of integrating independent substructures, h 1 and h 2 are computations applied to substructures, possibly in parallel, and odot merges the results calculated for substructures, if (i) h can be specified by two certain forms of iterative programs, and (ii) merge can be implemented by a function of a certain polymorphic type. Therefore, when requirement (ii) is fulfilled, h has a divide-and-conquer implementation if h has two certain forms of implementations. We show that our approach is applicable to structure-consuming operations by catamorphisms (folds), structure-generating operations by anamorphisms (unfolds), and their generalizations called hylomorphisms.

24 May 2023 in New Generation Computing
Verified
Journal Article
Open access
PDF file
AMAkimasa Morihata
Akimasa Morihata
Knuth’s 0–1 principle argues that the correctness of any swap-based sorting network can be verified by testing arbitrary sequences over Boolean values (i.e., 0 and 1). Voigtländer (Proceedings of the 35th ACM SIGPLAN-SIGACT symposium on principles of programming languages, POPL 2008, San Francisco, California, USA, January 7–12, 2008. ACM, New York, NY, pp 29–35, 2008. https://doi.org/10.1145/1328438.1328445) proved a similar result for prefix-sum networks that consist of associative binary operators: the correctness can be verified by testing arbitrary sequences and associative binary operators over three values, namely 0, 1, and 2. He raised the question of whether testing over Boolean values is sufficient if the binary operator is idempotent in addition to associative. This paper answers his question. First, there is an incorrect prefix-sum network for associative idempotent operators, the flaw of which cannot be detected by testing over Boolean values. Second, testing over Boolean values is sufficient if the binary operators are restricted to commutative in addition to associative and idempotent.

18 June 2021
Verified
Conference Paper
Open access
AMAkimasa Morihata
Akimasa Morihata
SSShigeyuki Sato
Shigeyuki Sato
Parallel reduction, which summarizes a given dataset, e.g., the total, average, and maximum, plays a crucial role in parallel programming. This paper presents a new approach, reverse engineering, to automatically discovering nontrivial parallel reductions in sequential programs. The body of the sequential reduction loop is regarded as a black box, and its input-output behaviors are sampled. If the behaviors correspond to a set of linear polynomials over a semiring, a divide-and-conquer parallel reduction is generated. Auxiliary reverse-engineering methods enable a long and nested loop body to be decomposed, which makes our parallelization scheme applicable to various types of reduction loops. This approach is not only simple and efficient but also agnostic to the details of the input program. Its potential is demonstrated through several use case scenarios. A proof-of-concept implementation successfully inferred linear polynomials for nearly all of the 74 benchmarks exhaustively collected from the literature. These characteristics and experimental results demonstrate the promise of the proposed approach, despite its inherent unsoundness.