基盤技術構築Fundamental Technology
データ駆動・低次元多様体による全自動工学モデリング
Data-Driven Fully Automated Engineering Modeling via Low-Dimensional Manifolds
研究概要
背景・動機
ものづくりや設計の現場では、今も、さまざまな「工学モデル」が使われています。多くの実験から経験的に得られた式や、物理法則から導いた式を使って、設計に必要な量を求めます。たとえば、梁のモデルを使えば、部材の長さや断面の形、材料の性質と荷重から、細長い部材がどれだけたわむかを計算できます。抗力のモデルでは、物体が受ける流れ方向の力に形状や流れの状態がどう効くかを、抗力係数という一つの数にまとめて扱えます。
設計者にとっての利点は、「断面を変えれば、たわみはどれだけ減るか」と、その場で案を比べられることです。ただし、それぞれのモデルが成り立つ範囲は、式を導いたときの仮定や実験条件で決まります。部材の形や流れの条件がそこから外れると、同じ式をそのまま使って判断することは難しくなります。
他方、機械学習を使えば、入力と出力の関係をデータから学び、さまざまな現象のモデルをつくれます。課題は、予測を左右した形状や流れの特徴が、モデルの中に隠れてしまうことです。なぜその予測になるのかを力学に照らして解釈できれば、結果を手掛かりにモデルを改良し、別の現象について得た知見とも組み合わせて、次の設計を考えられます。
目的
物体の後ろに渦が生じる流れを例に考えます。高忠実な数値解析は、物体のすぐ近くから後方まで、流れの細かな変化を描き出します。この変化を少数の特徴で表せれば、すべての計算点の値を毎回未知数として求める必要がなくなります。図1には、流れに現れる特徴的な空間パターンを「モード」として示しました。物体のすぐ後ろに広がる模様も、下流に細かく現れる模様もあります。私たちの着想は、詳しく計算した解から現象を左右する特徴を取り出し、必要な情報を見極めて、解くべき問題そのものを小さくすることです。物理学や力学による解釈と、従来の工学モデルの速さ・使いやすさを兼ね備えた手法をつくり、多様な現象に展開することを目指しています。
図1 流れの特徴を少数の座標で表し、高速な予測につなげる考え方。上段は、解析した流れ場の例と研究計画で示されたモード例を並べた。下段は高次元の解空間を表す模式図。出典:根本琢巳の発表資料23・25ページ、三目直登の講演資料17・18・35ページの原図を抜粋・再配置多様体仮説
計算点が多くても、実際に現れる状態を表すのに、同じ数だけ独立な変数が要るとは限りません。この考えを写真で考えてみます。100万画素の白黒写真は、各画素の明るさを並べた100万個の数の組で、100万次元の空間の一点として表せます。明るさを画素ごとにでたらめに選ぶと、たいていは砂嵐のような画像になります。身の回りの物を写した写真では、隣り合う画素が一緒に変わって輪郭や陰影をつくります。こうしたデータに対応する点は、見かけ上の次元よりもずっと低い次元の面に沿って集まるのではないか、と考えるのが多様体仮説です。
100万次元の数値解から、必要な自由度を取り出す
温度や速度のように、場所ごとに値をもつ量を「場」と呼びます。物理方程式の解である場は、数学的には無限次元の関数空間で扱います。数値解析では、有限個の値で場を近似します。たとえば、棒の上の三つの計算点で温度を求めたとしましょう。図2では、一つ目の点の温度を第1軸、二つ目を第2軸、三つ目を第3軸にとります。すると、棒全体の温度分布一つが、この三次元空間の一点になります。時刻や加熱条件が変わるたびに、新しい点が一つ加わります。温度を求める計算点が100万個であれば、同じ考え方で一つの温度分布は100万次元の空間の一点です。
図2 三つの計算点での値を三つの座標として読む。一組の値が一点を表し、複数の解析結果が点の集まりになる。出典:三目直登「複雑現象の革新的数値解析パラダイムによる減災設計戦略」16ページここで問いたいのは、物理的に起こり得る状態の点がどこに集まるかです。仮に図2の点が一枚の平面の近くに並ぶなら、その面に沿う二つの方向を決めるだけで、どの点の位置も二つの数で近似できます。それぞれの方向を実際の棒の上で読み直すと、「三つの場所の温度がどんな組合せで変わるか」を表す一つの空間パターンになります。これをモードと呼びます。各モードをどれだけ含むかを表す数が係数です。100万計算点の問題でも、主な変化を少数のモードが捉えれば、それぞれに係数を掛けて足し合わせることで、元の分布を近似できます。
解析で得た多数の解から、このような方向を順に取り出す方法が固有直交分解(POD)です。主成分分析と同じ考え方で、決めた数のモードでデータの特徴をできるだけよく表す向きを選びます。二つのモードが張る平面も、低次元多様体の一例です。一方、点の集まりが曲がっていれば、一枚の平面では近似しにくいことがあります。曲面に沿った二つの座標を使えば、その場所に応じて異なる変化の向きを捉えられます。線形な空間から非線形な多様体へと考え方を広げる理由です。
図3 二つの固定したモードが張る平面と、場所によって変化の向きが変わる曲面。どちらも面上の位置は二つの座標で表せる。出典:三目直登「複雑現象の革新的数値解析パラダイムによる減災設計戦略」17・18・35ページの図を抜粋・再配置少ない変数で表せたら、その数が物理的に何を意味するかを確かめます。たとえば、ある係数を変えると、物体のどの位置で流れが変わるのか。その変化は、予測したい力の変化にも関係しているのか。元の場や物理量と対応付けて初めて、低次元の表現は、予測を説明し、モデルを改良する手掛かりになります。
少数の係数で物理方程式を解く
解を表す変数を減らすと、計算の仕方も変えられます。ここでは、固定したモードが張る線形な空間での解き方を考えます。まず、高忠実な計算でさまざまな状態の解を集め、残すモードを決めます。次に、元の物理方程式をモードの方向ごとに評価し、その方向に沿って方程式のずれが残らないように、未知の係数を求めます。これがガラーキン射影です。準備した後は、一つ一つの計算点の値に代わって、少数の係数の時間変化を解きます。必要なときには、その係数とモードを使って、温度や速度の分布に戻せます。
この計算で時間を使う場所は、モデルをつくる段階と、使う段階とで違います。事前の段階には、詳しい解析を行いモードを求める費用がかかります。作ったモデルを繰り返し使う段階では、解く方程式の数を減らせます。非線形な流れでは、各モードに働く作用をすべての要素で計算すると、その計算自体が重くなります。そこで、作用をよく代表する要素も事前に選び、それらの寄与から全体を近似する方法を用いています [2]。どの情報を残せば、計算を減らしても設計に必要な量を予測できるかが研究の焦点です。
究極の目標は、ものづくりにおける人間の判断を「どの問題を切り出し、どの条件を同じ種類の問題として扱うか」に集約し、その先のモデリングと予測を自動化することです。たとえば、物体の後ろにできる流れを知りたいのか、物体が受ける力を知りたいのかで、残すべき情報は変わります。目的に応じた表現を選び、その表現で得た予測を物理に立ち戻って説明できるようにすることに取り組んでいます。
関連する研究例
領域ごとに流れのモードを選び、大規模な解析を速くする
円柱に流れが当たると、その後ろから左右交互に渦が流れ出します。流れの複雑さは場所によって違うため、必要なモードの数も一様とは限りません。本研究室では、解析領域を小さな領域に分け、それぞれの解のデータにPODを適用しました [1, 2]。各領域のデータを一定の基準で近似するために必要なモード数を選ぶと、図4のように、変動が大きい円柱の後方には多く、変動が小さい領域には少なく配分されます [2]。
図4 円柱まわりの局所PODの領域分割と、各領域に残したモードの数。モード数の図の青は、隣り合う領域の計算が重なる要素を表す。出典:関連文献 [2] の Fig. 17(a)、(b)(arXiv v1)分けた領域の流れは、境界を介して隣の領域の流れと影響し合います。各領域を一点、その間の相互作用を線で表したものがメタグラフです。これを使うと、どの領域の係数どうしを結ぶ必要があるかが分かります。さらに、局所モードをつくる領域の分け方と、複数の計算機に仕事を分ける方法を独立に決められます。こうして、領域ごとの特徴を生かしながら、連成した低次元の方程式を分散メモリ型並列計算機で解く枠組みを提案しました [1, 2]。
三次元の円柱まわりの流れでは、速度と圧力を合わせて1051万6800自由度の有限要素モデルを、1024個の領域に分けました。レイノルズ数200の条件で、局所モードと、方程式の評価に用いる要素をあらかじめ選びました。図5は、モードを求めるのに使った時間区間の終わりで、元の計算と低次元モデルの計算を比べたものです。円柱の後方で速度の小さい領域が交互に現れる様子を、低次元モデルでも捉えています [2]。
図5 時刻101秒における円柱後方の速度の大きさ。元の有限要素モデルと低次元モデルを、同じ断面・同じ色の尺度で比較した。出典:関連文献 [2] の Fig. 18 上段(arXiv v1)この例では、32から512の各並列プロセス数で元の有限要素モデルと比べると、低次元モデルの計算は約100〜200倍速くなりました。比べたのは事前のモデル構築を終えた後の、最初の10時間ステップの方程式の組立てと求解にかかる時間で、それぞれ3回の平均です。128プロセスの場合、同じ128プロセスでモデルを低次元化する効果は約138倍、元の有限要素モデルを逐次から128プロセスへ並列化する効果は約119倍です。二つを合わせると、128プロセスの低次元モデルは元の有限要素モデルの逐次計算を基準に約1.6万倍の高速化に相当します。この最後の値は、論文の二つの図から同じ並列条件の値を読み取って換算したものです [2]。
粒子の三次元形状から、流れの中で受ける抗力を予測する
冒頭の抗力モデルには、「形の違いを抗力係数にどう反映するか」という問題が残ります。同じように細長い粒子でも、流れに対する向きや表面の凹凸が違えば、受ける力は変わり得ます。粒子形状を対象とした研究では、あらかじめ選んだ形状指標だけに頼らず、流れに対する向きを含む粒子の三次元形状から、抗力の予測に使う少数の変数を学習しました。変分オートエンコーダ(VAE)というモデルで形状を少数の変数に写し、その変数から元の形状を復元する学習と、流れの条件を表すレイノルズ数を加えて抗力係数を予測する学習を一緒に行いました [3]。
その変数に何が残ったかは、形状と照合して調べられます。図6では、縦横比と流れに対する向きを変えた回転楕円体を、一つずつ二次元の座標に写しています。球に近いものは中央に集まり、扁平なものと細長いものは別の方向へ伸び、その並びに沿って向きも連続的に変わります。形と向きの情報が、二つの数の組に残った様子を読めます。さらに不規則な粒子を対象とする別の実験では、16個の変数を用いました。学習に含めなかった細かな表面の凹凸をもつ粒子についても、検証した条件では、人手で選んだ形状指標を使うモデルより抗力係数の平均絶対相対誤差が小さくなりました [3]。
図6 回転楕円体の形と向きから学んだ二次元の潜在表現。同じ点の集まりを、縦横比と流れに対する角度で色分けした。出典:関連文献 [3] の Fig. 4(a)、(b)(arXiv v1)共同研究者・共同研究機関
関連プロジェクト
- 複雑現象の革新的数値解析パラダイムによる減災設計戦略, 科学技術振興機構 (JST) 創発的研究支援事業, 2022年4月–2029年3月, 三目直登 (研究代表者). Link
- 医療マイクロ波機器利用環境の患者個別デジタルツイン解析, 日本学術振興会科学研究費補助金, 基盤研究 (A), 2024年4月–2029年3月, 三目直登 (研究分担者) [研究代表者: 武居周]. Link
- Neural Implicit Surfaces による飛翔昆虫模倣の次元低減認知モデル, 日本学術振興会科学研究費補助金, 挑戦的研究 (萌芽), 2025年7月–2028年3月, 三目直登 (研究分担者) [研究代表者: 石原大輔]. Link
- 階層型メタグラフ構造に基づくデータ駆動 Finite "Meta-Element" Method, 日本学術振興会科学研究費補助金, 基盤研究 (B), 2026年4月–2029年3月, 三目直登 (研究代表者). Link
関連文献
- [1] 新舘京平, 森田直樹, 金子栄樹, 三目直登. 分散メモリ型並列計算機に対する階層型低次元化モデリング, 日本計算工学会論文集, Vol.2025, p.20251001, 2025. Link
- [2] K. Shintate, N. Morita, S. Kaneko, N. Magome, N. Mitsume. Metagraph-Based Domain-Decomposed Galerkin Reduced-Order Model, Computational Mechanics, Accepted. arXiv
- [3] Z. Li, S. Deguchi, M. Asai, S. Chen, N. Mitsume. Geometry-Aware Latent Representation Learning for Drag Coefficient Prediction of Irregular Particles, Under review. arXiv
Research Overview
Background and Motivation
Engineers still rely on a variety of engineering models in manufacturing and design. To calculate the quantities they need, they use empirical formulas based on many experiments or formulas derived from physical laws. A beam model, for example, tells us how much a slender member will deflect, given its length, cross-sectional shape, material properties, and the load it carries. In a drag model, a single number, the drag coefficient, captures how an object’s shape and the flow conditions affect the force acting on it in the direction of the flow.
For a designer, the advantage is being able to ask “How much less will the beam deflect if I change its cross section?” and compare options on the spot. Each model, however, has a range of validity set by the assumptions used to derive it or the conditions of the experiments behind it. When the shape of the member or the flow conditions fall outside that range, it becomes difficult to base a design decision on the formula as it stands.
Machine learning offers another way to model a wide range of phenomena by learning the relationship between inputs and outputs from data. The difficulty is that the model can hide which features of the shape or flow influenced a prediction. If we can explain the prediction in terms of mechanics, we can use those insights to improve the model and combine them with findings from other phenomena to inform the next design.
Objective
Consider a flow in which vortices form behind an object. A high-fidelity simulation resolves fine details of the flow from the immediate vicinity of the object into its wake. If a few features can describe these variations, we no longer need to solve for an unknown value at every calculation point each time. Figure 1 illustrates characteristic spatial patterns in a flow, called modes. Some patterns spread out just behind the object, while others show finer detail farther downstream. Our idea is to use detailed solutions to identify the features that govern the phenomenon, determine which information matters, and reduce the size of the problem we need to solve. We aim to develop methods that can be interpreted in terms of physics and mechanics, are as fast and easy to use as conventional engineering models, and can be applied to a wide range of phenomena.
Figure 1. How a few coordinates can describe features of a flow and make fast predictions possible. The top row pairs an example of a simulated flow field with examples of modes from a research plan. The bottom row is a schematic of a high-dimensional solution space. Source: excerpted and rearranged from original figures in T. Nemoto’s presentation slides (pp. 23 and 25) and N. Mitsume’s lecture slides (pp. 17, 18, and 35).The Manifold Hypothesis
A simulation may have many calculation points, yet the states that actually occur may require far fewer independent variables to describe. Think of a grayscale photograph with one million pixels. Listing the brightness of every pixel gives us one million numbers, so the photograph is a single point in a million-dimensional space. If we choose each pixel’s brightness at random, the image will usually look like television static. In photographs of everyday objects, neighboring pixels vary together to form outlines and shading. The manifold hypothesis suggests that the points representing such data cluster along a surface of much lower dimension than the space in which they are represented.
Finding the Degrees of Freedom That Matter in a Million-Dimensional Solution
A quantity such as temperature or velocity that has a value at each location is called a field. Mathematically, a field that solves a physical equation belongs to an infinite-dimensional space of functions. In a numerical simulation, we approximate the field using a finite set of values. Suppose we calculate the temperature at three points along a rod. In Figure 2, the temperature at the first point gives the coordinate along the first axis, the temperature at the second gives the coordinate along the second axis, and the temperature at the third gives the coordinate along the third axis. A temperature distribution along the whole rod thus corresponds to a single point in this three-dimensional space. Each new time or heating condition adds another point. By the same reasoning, if we calculate the temperature at one million points, one temperature distribution corresponds to a single point in a million-dimensional space.
Figure 2. The values at three calculation points serve as three coordinates. Each set of values gives a point, and the results of several simulations form a collection of points. Source: N. Mitsume’s lecture slides, p. 16.Where do the points representing physically possible states cluster? Suppose the points in Figure 2 lie close to a plane. Once we choose two independent directions along that plane, we can approximate the location of each point with just two numbers. On the rod, each direction corresponds to a spatial pattern that shows how the temperatures at the three locations change together. We call such a pattern a mode. The number that tells us how much of each mode is present is its coefficient. Even in a problem with a million calculation points, if a few modes capture the main variations, we can approximate the original distribution by multiplying each mode by its coefficient and adding the results.
Proper orthogonal decomposition (POD) extracts these directions one by one from a collection of numerical solutions. It uses the same idea as principal component analysis, choosing directions that represent the data as closely as possible for a given number of modes. The plane spanned by two modes is itself a low-dimensional manifold. If the collection of points follows a curved surface, a single plane may be a poor approximation. Two coordinates along the curved surface can capture directions of change that vary from one location to another. This motivates the extension from linear spaces to nonlinear manifolds.
Figure 3. A plane spanned by two fixed modes and a curved surface on which the directions of change vary with position. On either surface, two coordinates specify a position. Source: excerpted and rearranged from figures in N. Mitsume’s lecture slides, pp. 17, 18, and 35.Once we can describe a solution with a few variables, we ask what those numbers mean physically. For example, if we vary one coefficient, where around the object does the flow change? Is that change associated with a change in the force we wish to predict? Only when we relate these variables back to the original field and physical quantities can we use the low-dimensional representation to explain predictions and guide improvements to the model.
Solving the Governing Equations with a Few Coefficients
Reducing the number of variables that describe a solution also changes how we can compute it. Consider a solution in a linear space spanned by a set of fixed modes. First, we collect solutions for a range of states from high-fidelity simulations and select the modes to retain. We then evaluate the original governing equations along each modal direction and solve for the unknown coefficients so that the residual in the governing equations has zero component along each of those directions. This is Galerkin projection. After this preparation, we solve for how a few coefficients evolve over time in place of the values at individual calculation points. Whenever we need the temperature or velocity distribution, we can reconstruct it from the coefficients and modes.
Where we spend computation time depends on whether we are building the model or using it. Up front, we have to run detailed simulations and compute the modes. Once the model is ready for repeated use, there are fewer equations to solve. In a nonlinear flow, however, evaluating the equations for each mode can still be expensive if we have to compute the contribution from every element. We therefore also select representative elements in advance and use their contributions to approximate the total [2]. Our research asks which information we need to retain so that we can reduce the computational work and still predict the quantities needed for design.
Our ultimate goal is to focus human judgment in manufacturing on deciding which problem to tackle and which conditions to treat as instances of the same kind of problem, and to automate the modeling and prediction that follow. For example, the information we need to retain depends on whether we want to know the flow behind an object or the force on the object itself. We are working on how to select a representation that suits the objective and explain the predictions it produces in physical terms.
Related Research Examples
Selecting flow modes by subdomain to speed up large-scale simulations
When fluid flows past a cylinder, vortices are shed alternately from its two sides. Since the complexity of the flow varies from place to place, the number of modes needed can vary as well. Our group divided the computational domain into smaller subdomains and applied POD to the solution data in each [1, 2]. We applied the same approximation criterion to determine how many modes to retain in each subdomain. As Figure 4 shows, this assigns more modes to the wake, where the flow fluctuates strongly, and fewer to regions with smaller fluctuations [2].
Figure 4. Subdomains around the cylinder for local POD and the number of modes retained in each. In the mode-count plot, blue marks elements where calculations for neighboring subdomains overlap. Source: Related Paper [2], Fig. 17(a) and (b) (arXiv v1).The flow in each subdomain interacts with the flow in its neighbors across their shared boundaries. A metagraph represents each subdomain as a node and each interaction between subdomains as an edge. It shows which subdomains have coefficients that must be coupled. We can also choose the partition for constructing the local modes independently of how the computational work is divided among processors. In this way, we proposed a framework that captures the distinctive features of each subdomain and solves the coupled reduced-order equations on a distributed-memory parallel computer [1, 2].
For a three-dimensional flow past a cylinder, we divided a finite element model with 10,516,800 velocity and pressure degrees of freedom in total into 1,024 subdomains. At a Reynolds number of 200, we selected the local modes and the elements used to evaluate the equations in advance. Figure 5 compares the original simulation with the reduced-order model at the end of the time interval used to compute the modes. The reduced-order model captures the alternating regions of low speed in the wake of the cylinder [2].
Figure 5. Speed in the cylinder wake at 101 seconds. The original finite element model and the reduced-order model are shown on the same cross section using the same color scale. Source: Related Paper [2], Fig. 18, top row (arXiv v1).In this example, the reduced-order model ran about 100 to 200 times as fast as the original finite element model when both used the same number of parallel processes, across the process counts tested from 32 to 512. The timings cover assembly and solution of the equations over the first ten time steps after model construction, with each timing averaged over three runs. On 128 processes, model reduction gave a speedup of about 138 relative to the original model on the same 128 processes. For the original finite element model, the speedup from serial execution to 128 processes was about 119. Together these factors give an estimated speedup of about 16,000 for the reduced-order model on 128 processes relative to the original finite element model running in serial. We calculated this last estimate by combining the values for 128 processes read from two figures in the paper [2].
Predicting drag on a particle in a flow from its three-dimensional shape
The drag model introduced at the outset raises a question. How should differences in shape be reflected in the drag coefficient? Even for particles with similarly elongated shapes, differences in their orientation relative to the flow or in their surface irregularities can change the force they experience. In our study of particle shapes, we went beyond preselected shape descriptors and learned a few variables for predicting drag directly from each particle’s three-dimensional shape, including its orientation relative to the flow. We used a variational autoencoder (VAE) to map each shape to a few variables and trained the model on two tasks together. One was to reconstruct the original shape from those variables. The other was to combine the variables with the Reynolds number, which characterizes the flow conditions, to predict the drag coefficient [3].
We can see what information the variables retain by comparing them with the shapes. Figure 6 maps each spheroid to a point in two dimensions as we vary its aspect ratio and orientation relative to the flow. Nearly spherical shapes cluster in the center. Flattened and elongated shapes extend out in different directions, and orientation varies continuously along these arrangements. The pair of coordinates thus retains information about both shape and orientation. In a separate experiment on more irregularly shaped particles, we used 16 variables. Even for particles with fine surface irregularities absent from the training data, the mean absolute relative error in the predicted drag coefficient was smaller under the conditions tested than for a model using hand-selected shape descriptors [3].
Figure 6. Two-dimensional latent representation learned from the shapes and orientations of spheroids. The same points are colored by aspect ratio in one panel and by angle to the flow in the other. Source: Related Paper [3], Fig. 4(a) and (b) (arXiv v1).Collaborators
Related Papers
- [1] K. Shintate, N. Morita, S. Kaneko, N. Mitsume. A Hierarchical Reduced Order Modeling for Distributed Memory Parallel Computers, Transactions of the Japan Society for Computational Engineering and Science, Vol.2025, p.20251001 (in Japanese), 2025. Link
- [2] K. Shintate, N. Morita, S. Kaneko, N. Magome, N. Mitsume. Metagraph-Based Domain-Decomposed Galerkin Reduced-Order Model, Computational Mechanics, Accepted. arXiv
- [3] Z. Li, S. Deguchi, M. Asai, S. Chen, N. Mitsume. Geometry-Aware Latent Representation Learning for Drag Coefficient Prediction of Irregular Particles, Under review. arXiv